search for: ctype_attr

Displaying 1 result from an estimated 1 matches for "ctype_attr".

Did you mean: type_attr
2007 Dec 20
4
Ruby on Rails mailer
...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 = parse_content_type(defaults) This method takes the content_type of the message "text/html" and splits the string so that variable real_content_type is "html". But then on line 82 it calls; 82: part.set_content_type(real_content_type, nil, ctype_attrs) def set_content_type...