search for: edit_password_reset_url

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

2011 Aug 16
2
Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message
...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 ArgumentError: A sender (Return-Path, Sender or From) required to se...
2009 Jun 15
1
NoMethodError: undefined method `password_reset_instructions' for UserNotifier:Class
....rb class UserNotifier < ActionMailer::Base def signup_notification(user) setup user subject ''Your new account'' body :url => account_url end def password_reset_instructions(user) setup user subject "Password Reset Instructions" body :edit_password_reset_url => edit_password_reset_url (user.perishable_token, :host => user.account.host) end protected def setup(user) from "noreply@#{ENV[''DEFAULT_DOMAIN'']}" recipients user.email sent_on Time.now end end *** config/initializers/action_mailer_config.rb...