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.
On 11/18/05, Adam Denenberg
<straightflush-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> How do i access the errors produced by validates_X_of ?
>
> do i need to have the ids of my fields be certain names ?
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
- Ramin
http://www.getintothis.com/blog
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails