Displaying 1 result from an estimated 1 matches for "button_control".
2009 Nov 26
9
ActionView::TemplateError (can't convert ActiveRecord::Error into String)
...>
app/views/button/_show_enquiry.html.erb:3
app/views/button/_show_enquiry.html.erb:2
app/views/button/enquiry.rjs:1:in
`_run_rjs_app47views47button47enquiry46rjs''
app/views/button/enquiry.rjs:1:in
`_run_rjs_app47views47button47enquiry46rjs''
app/controllers/button_controller.rb:24:in `send_mail''
app/controllers/button_controller.rb:17:in `send_mail''
Here is the partial that is doing the rendering:
<h1>Send us a message</h1>
<% remote_form_for :enquiry, :url => {:action => ''send_mail''} do |f|
%>
<...