I am learning to use Validations and am using validates_length_of to check a field value is no longer than 240 characters.
I want to be able to produce a message back to the user telling them that the value they entered was x characters too long. Does anyone know how I can work with the value and its length? validates_length_of :name, :maximum => 240, :message => --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

