This project is archived and is in readonly mode.
Attribute option on Errors#full_messages
Reported by Glenn | November 23rd, 2009 @ 09:59 PM
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 attribute names to full_messages so that you can extract that messages for particular fields, while preserving backwards compatibility.
Comments and changes to this ticket
-
Rohit Arondekar October 6th, 2010 @ 06:24 AM
- State changed from new to stale
- Importance changed from to
Closing as stale. Also I think 2-3-stable is only for bug fixes now.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>