Re: valid? is not working in Rails 2.2.2

Bobnation
Mon, 01 Dec 2008 17:31:07 -0000

It just seems like there are too many conditions being tossed at the
validation method from wherever you are setting up those variables.

On Dec 1, 3:56 am, Vipin Vm
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> Hi Rick
>
> when i commented the following line, it worked fine.
>
> validates_presence_of :user_name, :password, :email, :display_name
>
> then what could be wrong?
>
> Vipin
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com