search for: deliver_signup_confirm

Displaying 3 results from an estimated 3 matches for "deliver_signup_confirm".

2006 Aug 17
2
validates_associated bug?
..._card and @credit_card.save!) or true) and (credit_card_validated and true or raise ActiveRecord::RecordNotSaved) and @organization.save! and @business_user.save! flash[:notice] = ''Account created. Check your email for login details.'' Mailer::deliver_signup_confirmation(@user) redirect_to :controller => ''login'', :action => ''login'' end end # end User.transaction rescue render :action => ''new'' end end can anyone offer some insight with what''s here, or do you want me...
2005 Dec 20
1
Sending mail error
...rg" @subject = "Action Required to Activate Account for Twodecode!" # Email body substitutions go here @body["first_name"] = user.first_name @body["last_name"] = user.last_name end end the controller def confirmation_mail user = User.find(1) Notifier::deliver_signup_confirmation(user) end signup_confirmation.rhtml Dear <%= @first_name %> <%= @last_name %>, Thanks for signing up with My Website! Your account will allow you to do blah, blah, blah. can anyone help me? Thanks. Nick
2005 Mar 06
2
Using url_for in ActionMailer templates
Hi All I am just adding some basic e-mail notices to my Rails app using ActionMailer, and have one small issue. I want to provide a confirmation URL to users who sign up for an account. I can obviously just hardcode the URL and append the confirmation code to it, but I''d much rather be able to use something like: url_for(:controller => ''authentication'', :action