diff options
author | Lisa Ugray <lisa.ugray@shopify.com> | 2017-07-04 14:22:35 -0400 |
---|---|---|
committer | Lisa Ugray <lisa.ugray@shopify.com> | 2017-07-05 13:10:15 -0400 |
commit | 7b2dfdeab6e4ef096e4dc1fe313056f08ccf7dc5 (patch) | |
tree | c6692d46e31c691c8218a3210cb6d4136a606da4 /activerecord/test/cases/quoting_test.rb | |
parent | 2ae84d2fa09af85166f35ca44238a6a20d3c1554 (diff) | |
download | rails-7b2dfdeab6e4ef096e4dc1fe313056f08ccf7dc5.tar.gz rails-7b2dfdeab6e4ef096e4dc1fe313056f08ccf7dc5.tar.bz2 rails-7b2dfdeab6e4ef096e4dc1fe313056f08ccf7dc5.zip |
Fix `ActiveModel::Type::DateTime#serialize`
`ActiveModel::Type::DateTime#serialize` should return a `Time` object
so that finding by a datetime column works correctly.
Diffstat (limited to 'activerecord/test/cases/quoting_test.rb')
0 files changed, 0 insertions, 0 deletions