2009/11/26 icke <[email protected]>:
> I cannot work out why this error is appearing.
>
> ActionView::TemplateError (can't convert ActiveRecord::Error into
> String) on line #3 of app/views/button/_show_enquiry.html.erb:
> 1: <h1>Send us a message</h1>
> 2: <% remote_form_for :enquiry, :url => {:action  => 'send_mail'} do |
> f| %>
> 3:      <%= error_messages_for 'enquiry', :header_message => "Please try
> again!", :message => "We need you to change some items in order to
> send us a message:" %>

Does this help at all?
https://rails.lighthouseapp.com/projects/8994/tickets/3172-problem-with-error_messages_for-in-rails-234

Colin

--

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.


Reply via email to