Forum: Ruby on Rails validations using acts_as_taggable

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Steve O. (Guest)
on 2006-03-17 18:40
(Received via mailing list)
Can anyone provide me an example of how they are displaying validation
errors when saving a tag using Demetrius's (not DHH's) act_as_taggable

For example, the tag model has a

:validates_length_of :name, :in => 1..30, :too_long => "Tag name too
long -
max 30 characters", :too_short => "Tag must have a name"

If a user inputs a tag longer than 30 characters, how are you displaying
error_messages_on :tag messages?


This topic is locked and can not be replied to.