aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/admin
diff options
context:
space:
mode:
authorHenrik Nyh <henrik@nyh.se>2016-05-09 16:06:19 +0100
committerHenrik Nyh <henrik@nyh.se>2016-05-11 21:25:06 +0100
commitf005202972cdb864327c854404fd18510e00f963 (patch)
tree095b34506f4c1a86dac30186ff1e9e862617aa88 /activerecord/test/models/admin
parenta0b3de3002bd9f608b3a9e41e702762b10430207 (diff)
downloadrails-f005202972cdb864327c854404fd18510e00f963.tar.gz
rails-f005202972cdb864327c854404fd18510e00f963.tar.bz2
rails-f005202972cdb864327c854404fd18510e00f963.zip
Introduce Date#all_day
Useful for queries like: Item.where(created_at: Date.current.all_day) There was already a Time#all_day with the same behaviour, but for queries like the above, Date is more convenient.
Diffstat (limited to 'activerecord/test/models/admin')
0 files changed, 0 insertions, 0 deletions