hi all,
i have been investigating for hours on how to get around this issue of
a view_path being empty.
basically everything seemed to work in the ugrade to 2.2.2 (after some
minor tweaking), *except*
when the system started sending emails for users signing up, it
started giving them 404's in the
signup page (!!!!!).
to compound the issue:
- it *only* happens in the production environment! i cannot
reproduce this in the devel environment
of a similarly configured machine (and cannot run devel in the
production machine)
- backing out to 2.1.2 and backing out active scaffold to the
previous stable release does *not work*(!!)
gives out "Unprocessed view path found: nil" on
ActionView::TemplateFinder::InvalidViewPath. why?!?!
I see lots of 2.2 errors, and i see messages from Sergio and mr.gaffo
in related areas
(http://groups.google.com/group/activescaffold/msg/f1acb33d424b741c?
dmode=source)
I tried a number of things, including setting the template root, but
it still comes out empty in the error:
ActionMailer::Base.template_root = "#{File.dirname(__FILE__)}/../
app/views"
Below is the error. Any help would be appreciated, as our site is
giving errors in new users!
Thanks in advance!
Processing UserController#create (for 1.2.3.4 at 2008-12-12 02:28:08)
[POST]
Parameters: {"user"=>{"email_confirmation"=>"[email protected]",
"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]",
"login"=>"foo", "email"=>"[email protected]"}, "commit"=>"Start Now",
"action"=>"create",
"authenticity_token"=>"2131313123324afd6a5afe66eh",
"controller"=>"user"}
ActionView::MissingTemplate (Missing template user_mailer/
signup_notification.erb in view path ):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
template.rb:95:in `find_full_path'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
template.rb:16:in `initialize'
/vendor/plugins/active_scaffold/lib/extensions/
generic_view_paths.rb:52:in `new'
/vendor/plugins/active_scaffold/lib/extensions/
generic_view_paths.rb:52:in `_pick_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
base.rb:256:in `render_without_active_scaffold'
/vendor/plugins/active_scaffold/lib/extensions/
action_view_rendering.rb:61:in `render'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
base.rb:564:in `render'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
base.rb:552:in `render_message'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
base.rb:496:in `create!'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
base.rb:455:in `initialize'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
base.rb:392:in `new'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.2.2/lib/action_mailer/
base.rb:392:in `method_missing'
/app/models/user_observer.rb:8:in `after_create'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---