you are here: codestackercodes [RSS] → tag error [RSS]

customize error messages

when a form is invalid, rails shows a default error message. for hide the messages, try these options:

<%= error_messages_for :order, :header_message => nil, :message => nil %>
Displaying 1 Code