Last active
February 3, 2016 22:54
-
-
Save phsacramento/3be97fda7dc713b3de44 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
# collection | |
# Model.start datetime | |
# 20/02/2016 16:20 | |
# 20/02/2016 19:20 | |
# 20/03/2016 20:20 | |
Model.find(:all).collect(&:start).uniq | |
# i would like select only date, rejecting the time in attribute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment