diff options
| author | Sean Griffin <sean@seantheprogrammer.com> | 2017-07-18 14:55:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-18 14:55:47 -0400 |
| commit | a6d6e90fa90eedbdb6d3cda679aa4b47ddfa7315 (patch) | |
| tree | 60716a0802179b365e977bbf364b60e71a0ca03b /activerecord/lib/active_record | |
| parent | e108a082df8bd815901b26525620f3d3d7ba0e10 (diff) | |
| parent | 8a91fe0017d90063a6c8823ceee88413e2b75fe7 (diff) | |
| download | rails-a6d6e90fa90eedbdb6d3cda679aa4b47ddfa7315.tar.gz rails-a6d6e90fa90eedbdb6d3cda679aa4b47ddfa7315.tar.bz2 rails-a6d6e90fa90eedbdb6d3cda679aa4b47ddfa7315.zip | |
Merge pull request #29840 from kamipo/fix_type_casting_time_for_mariadb
Fix type casting a time for MariaDB
Diffstat (limited to 'activerecord/lib/active_record')
| -rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql/quoting.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql/quoting.rb b/activerecord/lib/active_record/connection_adapters/mysql/quoting.rb index 0cc0ac74fe..4441c1e2f8 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql/quoting.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql/quoting.rb @@ -42,7 +42,6 @@ module ActiveRecord def _type_cast(value) case value - when Type::Time::Value then value.__getobj__ when Date, Time then value else super end |
