[rspec-users] Validations based on associations
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.
> and happy new year everyone!
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users