Closed camilova closed 2 years ago
Thanks for this. This PR confused me at first but it demonstrates a few issues that exist in the gem which need fixing.
Which are:
time_zone_aware_types
at all which is problematic if you want to control thatBut your implementation is not quite what I'd like, so I'm going to review whether some of this AR specific code can be moved to an ORM extension.
Thank you @adzap, I will close this in favor of an ORM extension that I think is a better approach than this.
When active record has the flag
config.active_record.time_zone_aware_attributes
setted tofalse
time zone aware should not used, and same case when attribute class is not included on classes with time zone aware defined by AR too.