validates_X errors not showing up

How do i access the errors produced by validates_X_of ?

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

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.