Created
September 17, 2016 16:50
-
-
Save JonAbrams/a75af5008960f4888c92aea3b07388ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User.where('last_seen < ?', 2.months.ago).find_each do |user| | |
user.send_reminder! | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment