Displaying 1 result from an estimated 1 matches for "request_approv".
Did you mean:
request_approval
2010 Jan 25
1
ActionMailer does not find templates in production mode
...#39;
/usr/lib/ruby/1.8/observer.rb:185:in `notify_observers''
/usr/lib/ruby/1.8/observer.rb:184:in `each''
/usr/lib/ruby/1.8/observer.rb:184:in `notify_observers''
(eval):10:in `create_or_update_without_callbacks''
app/controllers/event_controller.rb:71:in `request_approval''
public/dispatch.fcgi:24
However, I do have a corresponding template named
"approval_requested_notification.text.plain.erb" in "app/views/event_mailer",
which is correctly picked up in development mode. In production mode, however,
the content type infix is omit...