I''ve implemented the same thing again on 2-3-stable and attached
another
patch.
Thanks,
Glenn
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3505-attribute-option-on-errorsfull_messages#ticket-3505-2
On Mon, Nov 23, 2009 at 2:01 PM, Glenn <gleenn@gmail.com> wrote:
> I want to be able to display full validation messages next to form
> elements. Currently I can only get validation errors without the
> prefix for specific fields, or I can get message for all attributes,
> at which point it''s impossible to tell which message came from
which
> attribute.
>
> I made a patch where you can supply an attribute name to full_messages
> so that you can extract messages for particular fields, while
> preserving backwards compatibility.
>
>
>
>
https://rails.lighthouseapp.com/projects/8994/tickets/3505-attribute-option-on-errorsfull_messages
>
>
> Thanks,
>
> Glenn
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.