flash[:error] = @request.errors.full_messages.join(', ')
On Fri, Feb 20, 2009 at 2:05 AM, Sijo Kg
<[email protected]> wrote:
> But here my problem is I expected
> 'Name should not be blank' 'email should not be blank'
>
> But what I got is
> contacts is invalid
>
> Why this Please help me to get the errors as I expected
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---