Skip to content

Commit

Permalink
Fix typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarburger committed Nov 28, 2011
1 parent 3a8ad84 commit 4837ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/users_helper.rb
Expand Up @@ -3,11 +3,11 @@ module UsersHelper
def self.send_signup_followup
cond = "welcome_sent_at IS NULL"
User.find_in_batches(:conditions => cond) do |users|
users.each {|u| QC.enqueue("UsersHelper.send_wlcome_email", u.id) }
users.each {|u| QC.enqueue("UsersHelper.send_welcome_email", u.id) }
end
end

def self.send_wlcome_email(user_id)
def self.send_welcome_email(user_id)
user = User.find(user_id)
puts "sending welcome email to #{user.id}"
user.update_attribute :welcome_sent_at, Time.now
Expand Down

0 comments on commit 4837ef4

Please sign in to comment.