Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in method name

  • Loading branch information...
commit 4837ef4b2c2d5d54bf0504546e4ba73f5da62775 1 parent 3a8ad84
@lmarburger authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/helpers/users_helper.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.