search for: signup_url

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

2011 Mar 17
7
Beta Invitation in Rails 3, little problem
...sence => true, :format => { :with => email_regex } before_create :generate_token private def generate_token self.token = Digest::SHA1.hexdigest([Time.now, rand].join) end end #/mailers/invitation.text.rb You are invited to ExampleApp.com click below to signup <%= @signup_url %> # models/mailer.rb class Invitation < ActionMailer::Base default :from => "info-OiLJxWuRT67QT0dZR+AlfA@public.gmane.org" def invitation(invitation, signup_url) @signup_url = signup_url @invitation = invitation mail(:to => invitation.recipient_email, :subject =&...
2012 Sep 10
5
flash[:notice] not working
Hi, anybody please help me out,am using rails 3 but using this flash[:notice] doesnot works, i have used this in controllers. any idea ? please help. Regards, Manoj -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2007 Apr 22
7
Getting a complete URL from Rails
Hello, I''m sending out an e-mail message to new users of my service. I want to send a particular link in this e-mail but I can''t figure out how to get a complete URL from the url_for method. Is there a way to do this without manually setting the host name? Thank you, -- Miles --~--~---------~--~----~------------~-------~--~----~ You received this message because you are