[rspec-users] Validations based on associations

David Chelimsky dchelimsky at gmail.com
Mon Jan 1 08:33:57 EST 2007

On 1/1/07, Pat Maddox <pergesu at gmail.com> wrote:
> oh, I forgot to say that the @user.save(false) means that the user
> object gets saved but skips validation.  That's a quick way of not
> having to create a completely valid user object that may become out of
> date as you change the User model.

That's the kind of stuff you should be blogging! Very useful tip.

Thanks Pat.

> and happy new year everyone!

You too!


> Pat
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list