Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in method name #4

Merged
merged 1 commit into from Nov 28, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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