Fix typo in method name #4

Merged
merged 1 commit into from Nov 28, 2011
@@ -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