aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/schema_cache.rb
diff options
context:
space:
mode:
authorJulian Nadeau <julian@jnadeau.ca>2016-10-27 13:22:55 -0400
committerJulian Nadeau <julian@jnadeau.ca>2016-10-27 13:22:55 -0400
commit02063a8e63edf90a5ddca68e14a88191478c2a60 (patch)
tree76094bec092e420265552a8b47eb330b9c23db0e /activerecord/lib/active_record/connection_adapters/schema_cache.rb
parent7506f3390683fd1329e60385515c3c55b39ff1d5 (diff)
downloadrails-02063a8e63edf90a5ddca68e14a88191478c2a60.tar.gz
rails-02063a8e63edf90a5ddca68e14a88191478c2a60.tar.bz2
rails-02063a8e63edf90a5ddca68e14a88191478c2a60.zip
Fixes an issue where time_zone_conversion that causes an exception in ARs delegation
Following off of https://github.com/rails/rails/issues/15945, I realized that super needs to be the first thing that is called in an AbstractModel's inherited method. I was receiving errors within the inherited method of time_zone_conversion, so I tested locally by moving super to the top of the method declaration. All exceptions went away.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/schema_cache.rb')
0 files changed, 0 insertions, 0 deletions