-
Ryuta Kamizono authored
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.
Ryuta Kamizono authoredAvoid 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.
Loading