validates_X errors not showing up


#1

How do i access the errors produced by validates_X_of ?

do i need to have the ids of my fields be certain names ?


#2

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.