Permalink
Browse files

Merge pull request #4 from lmarburger/patch-2

Fix typo in method name
  • Loading branch information...
2 parents 3a8ad84 + 4837ef4 commit ac17cff6be43887a5749677d5d0fd096f64bcbbd Ryan Smith (ace hacker) committed Nov 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/helpers/users_helper.rb
@@ -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

0 comments on commit ac17cff

Please sign in to comment.