search for: deliver_signup

Displaying 4 results from an estimated 4 matches for "deliver_signup".

2005 Aug 26
2
Salted Login Hash Woes
...User.transaction(@user) do @user.new_password = true if @user.save key = @user.generate_security_token url = url_for(:action => ''welcome'') url += "?user[id]=#{@user.id}&key=#{key}" UserNotify.deliver_signup(@user, @params[''user''][''password''], url) flash[''notice''] = l(:user_signup_succeeded) redirect_to :action => ''login'' end end rescue flash.now[''message'...
2006 Jun 08
2
LoginEngine: undefined method `generate_security_token''
...token url = url_for(:action => ''home'', :user_id => @user.id, :key => key) flash[:notice] = ''Signup successful!'' if LoginEngine.config(:use_email_notification) and LoginEngine.config(:confirm_account) UserNotify.deliver_signup(@user, params[:user][:password], url) flash[:notice] << '' Please check your registered email account to verify your account registration and continue with the login.'' else flash[:notice] << '' Please log in.''...
2007 Oct 24
1
Attachment_fu and observers/emailing
...to handle the file uploading. When a user creates their profile/user account, I''ve got an observer that will email the site admin with a copy of the uploaded CV. My user_observer looks something like: class UserObserver < ActiveRecord::Observer def after_create(user) UserMailer.deliver_signup(user) unless user.activation_code.blank? UserMailer.deliver_notification(user) end end The problem I''m having is when the deliver_notification method is called, I get an error reporting: No such file or directory - /users/0000/3472/alastairmoore.cv.pdf Now I''m guessing th...
2006 Aug 06
0
how to diagnose ActionMailer issues
I''m a bit new on RoR so I might have missed something. I''ve just installed SaltedHashLogin and even though it works with no issues, it sends no emails. But I don''t get any errors at all! I''ve tried the method via the console: UserNotify.deliver_signup(User.new,"","") and I get the following: #<TMail::Mail port=#<TMail::StringPort:id=0x11f8f20> bodyport=#<TMail::StringPort:id=0x11f6be4>> Are there any logs for RoR or ActionMailer? -- Posted via http://www.ruby-forum.com/.