Displaying 1 result from an estimated 1 matches for "deliver_volunteer_signup".
2007 Dec 20
4
Ruby on Rails mailer
...;%= @first_name %> <%= @last_name %> has signed up as a
new volunteer.
To see his/her information copy the text below into your browser''s
address bar.
http://localhost:3000/volunteers/<%= @id %>
I added the following line to my volunteer_controller create method:
Notifier.deliver_volunteer_signup(@volunteer)
I ran the code and got the following error:
mailer sub type missing: "html"
I ran the debugger and noticed the following;
At /usr/lib/ruby/gems/1.8/gems/actionmailer-2.0.1/lib/action_mailer/
part.rb:59:in ''to_mail''
59: real_content_type, ctype_attrs = pa...