search for: validate_email

Displaying 2 results from an estimated 2 matches for "validate_email".

2009 Nov 26
9
ActionView::TemplateError (can't convert ActiveRecord::Error into String)
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'',
2006 Nov 26
0
send email using Actionmailer => error 500 gets rendered :/
I''m experiencing the strangest problem with actionmailer. The following code reults in a 500 server error. --- UserMailer.deliver_register [some arguments] render :partial => "validate_email" , :status => 200 --- The strange thing is, Actionmailer sends the email just fine. But instead of rendering the partial, a 500 error is being returned. I''ve also tried to render: file => same 500 error. Idem when first rendering the partial and then sending the email. Neither...