Displaying 2 results from an estimated 2 matches for "send_new_password".
2006 Jun 08
1
Test errors
...b and I
pretty much copied the code and checked syntax so not sure where it''s
wrong. I thought I''d throw it out since I"m new to ROR and the error didn''t
look too bad ;), perhaps someone would have a better understanding of what
it''s saying.
1) Error:
est_send_new_password(UserTest):
ameError: uninitialized constant Notifications
c:/instantrails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1
/lib/active_support/dependencies.
b:123:in `const_missing''
c:/instantrails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1
/lib/active_support/dependencies.
b:131...
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
...gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/helpers.rb:96:in
`inherited_without_helper''
D:/dev/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/helpers.rb:96:in
`inherited''
#{RAILS_ROOT}/app/models/notifications.rb:1
#{RAILS_ROOT}/app/models/user.rb:52:in `send_new_password''
#{RAILS_ROOT}/app/controllers/user_controller.rb:42:in `forgot_password''
My class is the Notifications.rb class you see in the stack at line one.
So this is happening when it tries to load the ruby file. So I opened
helpers.rb in ActionMailer and I found the following:
Line...