search for: password_reset_instruct

Displaying 2 results from an estimated 2 matches for "password_reset_instruct".

2009 Jun 15
1
NoMethodError: undefined method `password_reset_instructions' for UserNotifier:Class
Any ideas what would be causing this? NoMethodError: undefined method `password_reset_instructions'' for UserNotifier:Class from /Library/Ruby/Gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/ base.rb:400:in `method_missing'' *** app/models/user_notifier.rb class UserNotifier < ActionMailer::Base def signup_notification(user) setup user subject ''You...
2011 Aug 16
2
Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message
...ne fails with the message below, the second works fine. Both these results are through irb. Anyone have an idea as to why? Also, in my application.rb I do have: ActionMailer::Base.default :from => "WaveLineup <system-+T6PWOEcvEy41k5uCYKmRQ@public.gmane.org>" defined. FAILS def password_reset_instructions(user) @user = user @url = edit_password_reset_url(user.perishable_token) mail(:to => user.email, :subject => ''Password Reset for WaveLineup'') end Error message: ruby-1.9.2-p290 :010 > SystemMailer.password_reset_instructions(user).deliver Ar...