Did you define:

attr_accessible :email, :name, :password, :password_confirmation, .. #other 
attributes if needed

On Sunday, 19 May 2013 10:37:50 UTC+2, Frederick Cheung wrote:
>
> On Sunday, May 19, 2013 9:14:47 AM UTC+1, rihad wrote:
> > 
> > 
> > I now think it may be the peculiarity of the model: it validates
> > 
> > presence of password confirmation, which makes no sense when password
> > 
> > itself isn't or shouldn't be updated.
>
> That is indeed weird - the only validation I've ever used in conjunction 
> with the confirmation field is validates_confirmation_of.  You can check 
> user.errors to see all the errors rails thinks the object has.
>
> Fred
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7e732897-b99e-4332-b347-a85c19ac2435%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to