Validations using acts_as_taggable

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs