Created
June 19, 2015 23:06
-
-
Save aschyiel/de4b9a783fe06f1d08ee to your computer and use it in GitHub Desktop.
Randomize PublicActivity::Activity
This file contains 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
# Randomize the activity dates for testing purposes. | |
PublicActivity::Activity.all.each { |it| it.update(created_at: Faker::Date.between(1.year.ago, Date.today)) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment