I''m using ActionMailer in a Rails 2.1 app, and it looks like ActionMailer::Base.template_root is not being set I have to set it in environments/test.rb, development.rb etc. to: ActionMailer::Base.template_root "#{File.dirname(__FILE__)}/../../app/views" Shouldn''t this be the default? Can anyone else reproduce this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
I also experienced this problem this morning. I kept getting: ActionView::TemplateFinder::InvalidViewPath (Unprocessed view path found: nil. Set your view paths with #append_view_path, #prepend_view_path, or #view_paths=.): I solved this the same way you did. Did you find anything else out? Has nobody opened a ticket for this? On Aug 5, 10:59 am, "Dean Holdren" <deanhold...@gmail.com> wrote:> I''m using ActionMailer in a Rails 2.1 app, and it looks like > ActionMailer::Base.template_root is not being set > I have to set it in environments/test.rb, development.rb etc. to: > ActionMailer::Base.template_root > "#{File.dirname(__FILE__)}/../../app/views" > > Shouldn''t this be the default? > > Can anyone else reproduce this?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Sep 16, 2008 at 10:46 PM, jared <jared.moody@gmail.com> wrote:> > I also experienced this problem this morning. I kept getting: > > ActionView::TemplateFinder::InvalidViewPath (Unprocessed view path > found: nil. Set your view paths with #append_view_path, > #prepend_view_path, or #view_paths=.): > > I solved this the same way you did. Did you find anything else out? > Has nobody opened a ticket for this?Do you guys have any plugins installed? This isn''t something which is affecting everyone, so you guys must have something in common. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---