Created
May 6, 2019 11:01
-
-
Save MittalPatel-BTC/67db72a18c1d93c5c78752c8a8469ca6 to your computer and use it in GitHub Desktop.
Custom timestamp also use with touch_all method you can pass it in the arguments
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
User.all.touch_all(time: Time.new(2019, 4, 12, 1, 0, 0)) | |
User.all.touch_all(:created_at) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment