_______________________________________________ Engine-Users mailing list Engine-Users@lists.rails-engines.org http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
on 12.02.2008 19:36
on 12.02.2008 19:42
I had that, I think it's a rails 2.x thing cause we had it when upgrading to 2.x. It was easily fixed by making the exception_notifier an engine by making use of an app folder to play nice with engines (or should we say so engines would play nice with it). So a find|grep -v svn in my vendor/plugins/exception_notification folder gives ./app ./app/helpers ./app/helpers/exception_notifier_helper.rb ./app/models ./app/models/exception_notifier.rb ./app/views ./app/views/exception_notifier ./app/views/exception_notifier/exception_notification.rhtml ./app/views/exception_notifier/_backtrace.rhtml ./app/views/exception_notifier/_environment.rhtml ./app/views/exception_notifier/_inspect_model.rhtml ./app/views/exception_notifier/_request.rhtml ./app/views/exception_notifier/_session.rhtml ./app/views/exception_notifier/_title.rhtml ./init.rb ./lib ./lib/exception_notifiable.rb ./README ./test ./test/exception_notifier_helper_test.rb ./test/test_helper.rb and cat init.rb is just require "action_mailer" -Andrew On 12 Feb 2008 10:35:44 -0800, Robert Alford <the_president@canada.com>
on 14.02.2008 05:13
I had this issue as well upgrading ... the offending line though was in the engines action_mailer in initialize_template_class_with_engine_additions renderer.view_paths = ActionController::Base.view_paths.dup I changed it to: renderer.append_view_path(ActionController::Base.view_paths.dup) There is a ticket http://dev.rails-engines.org/ticket/278 username/password: engines/engines Anyone have any thoughts on that? Shane