Rails error_messages helper

Posted by Bob on Stack Overflow See other posts from Stack Overflow or by Bob
Published on 2010-06-11T17:56:34Z Indexed on 2010/06/11 19:12 UTC
Read the original article Hit count: 195

Filed under:

This is a very common piece of code

<% form_for :blah... do |f| %>
<%= f.error_messages %>
First name: <%= f.text_field :first_name %><br />
....
<% end %>

error_messages is a helper method but I am having a hard time finding the documentation for it, why is that?

© Stack Overflow or respective owner

Related posts about ruby-on-rails