Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. AbandonedTrialQuery.new.find_each do |account|
  2. account.send_offer_for_support
  3. end
  4.  
  5. old_accounts = Account.where("created_at < ?", 1.month.ago)
  6. old_abandoned_trials = AbandonedTrialQuery.new(old_accounts)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement