No luck on that.
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', :object =>
@enquiry, :header_message => "Please try again!", :message => "We need
you to change some items in order to send us a message:" %>
4: <table>
5: <tr><td>Name:</td> <td><%=
f.text_field :name, :size => 30
%></td></tr>
6: <tr><td>Contact tel:</td> <td><%= f.text_field :tel,
:size =>
30 %></td></tr>
--
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.