Created
October 23, 2015 04:50
-
-
Save lulalala/7293adfec12b428532ef to your computer and use it in GitHub Desktop.
Rails 4.2 millisecond not persisted
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
foo.save | |
foo.end_at.strftime('%H:%M:%S.%L') | |
"20:38:34.447" | |
foo.reload.end_at.strftime('%H:%M:%S.%L') | |
"20:38:34.000" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment