1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/locking
Ryuta Kamizono e0366022f6 Avoid double time zone converter decoration when user-defined timestamp attribute with implicit type
If type is given as a symbol, it will lookup a fresh type object via
`Type.lookup`, but if type is omitted, `type_for_attribute` will lookup
the database type which is already decorated by `define_attribute`.

To avoid the double decoration, skip extra decoration if its type is
already decorated.
2020-07-20 19:56:01 +09:00
..
optimistic.rb Avoid double time zone converter decoration when user-defined timestamp attribute with implicit type 2020-07-20 19:56:01 +09:00
pessimistic.rb Don't parse DB specific locking docs as code 2019-11-12 16:04:58 +01:00