diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-14 08:06:51 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-15 08:04:43 -0700 |
commit | 5cd3bbbb832b58d2a0092f527d83312df4271de7 (patch) | |
tree | bdecb3dcb2569777aefcf73438bdd35617cd3462 /activerecord/lib/active_record/connection_adapters | |
parent | d8e710410ea300ec4626250c0b35946cb52bc38c (diff) | |
download | rails-5cd3bbbb832b58d2a0092f527d83312df4271de7.tar.gz rails-5cd3bbbb832b58d2a0092f527d83312df4271de7.tar.bz2 rails-5cd3bbbb832b58d2a0092f527d83312df4271de7.zip |
Time columns should support time zone aware attributes
The types that are affected by `time_zone_aware_attributes` (which is on
by default) have been made configurable, in case this is a breaking
change for existing applications.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb b/activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb index c203e6c604..e45a2f59d9 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb @@ -18,7 +18,7 @@ module ActiveRecord end attr_reader :subtype, :delimiter - delegate :type, to: :subtype + delegate :type, :user_input_in_time_zone, to: :subtype def initialize(subtype, delimiter = ',') @subtype = subtype |