aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-12-31 19:32:59 +0100
committerGitHub <noreply@github.com>2016-12-31 19:32:59 +0100
commitac0b28883b78999c5605d032eb42fcd842841e6b (patch)
tree3f71fbd48b2d9ffba17564d6330fc5c33f76bd94 /activerecord/lib/active_record/connection_adapters
parent1e3d6482ccf2fb885957419eff0c237a8aeccf13 (diff)
parentb43d0173972e732331a718a34e062b50260968d9 (diff)
downloadrails-ac0b28883b78999c5605d032eb42fcd842841e6b.tar.gz
rails-ac0b28883b78999c5605d032eb42fcd842841e6b.tar.bz2
rails-ac0b28883b78999c5605d032eb42fcd842841e6b.zip
Merge pull request #27527 from kamipo/array_subtype_options
Dump array subtype options correctly
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 d9daaaa23e..8ccdd69b1d 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb
@@ -6,7 +6,7 @@ module ActiveRecord
include Type::Helpers::Mutable
attr_reader :subtype, :delimiter
- delegate :type, :user_input_in_time_zone, :limit, to: :subtype
+ delegate :type, :user_input_in_time_zone, :limit, :precision, :scale, to: :subtype
def initialize(subtype, delimiter = ",")
@subtype = subtype