aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-03-21 18:47:08 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-03-21 18:47:08 -0600
commit2271f7db17b728234abc2ca66e6cf9a4c55d8e84 (patch)
tree333c4b263a4a94875ff640ae964e653baffad33b /activerecord/lib/active_record/connection_adapters
parentb663e26544d46c111c5a7f44e269c624653c42e5 (diff)
parent9bc4eb7ee180a434ea0f23388e04061583ebb5b9 (diff)
downloadrails-2271f7db17b728234abc2ca66e6cf9a4c55d8e84.tar.gz
rails-2271f7db17b728234abc2ca66e6cf9a4c55d8e84.tar.bz2
rails-2271f7db17b728234abc2ca66e6cf9a4c55d8e84.zip
Merge pull request #19447 from wallerjake/postgresql_big_int_array_schema_rb
Check subtype limit before using the default limit
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb2
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 fb4e0de2a8..f486c5ecb7 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, :user_input_in_time_zone, to: :subtype
+ delegate :type, :user_input_in_time_zone, :limit, to: :subtype
def initialize(subtype, delimiter = ',')
@subtype = subtype