On 18 August 2010 14:19, Bla ... <[email protected]> wrote: > Yeah, I'm sorry. > > Actually, I wrote it wrong here, in the forum. > > It's: > > [code] > <%= error_messages_for :hi, > :header_message => "Error." , > :message => "Check the following camps:"%>
The docs at http://api.rubyonrails.org/classes/ActionView/Helpers/ActiveRecordHelper.html#M002221 show the name in quotes, as I suggested in my previous post. So error_messages_for 'hi', ... have you tried that? Colin > [/code] > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

