How do i access the errors produced by validates_X_of ? do i need to have the ids of my fields be certain names ?
on 2005-11-18 18:10
on 2005-11-18 19:16
The easiest way to show them is by calling <%= error_messages_for 'object-name' %> Not sure about the syntax if you wanna customize the error messages.