aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-11-17 20:38:39 +0530
committerVipul A M <vipulnsward@gmail.com>2013-11-17 20:38:39 +0530
commit247c61e6229e3afe9a3127f0f561eedb3b40ee91 (patch)
tree96720a802d8bbe22c85e23789bfc44e05fae5418 /activerecord
parentfa13d8e6d926c601070104c7075be39618280272 (diff)
downloadrails-247c61e6229e3afe9a3127f0f561eedb3b40ee91.tar.gz
rails-247c61e6229e3afe9a3127f0f561eedb3b40ee91.tar.bz2
rails-247c61e6229e3afe9a3127f0f561eedb3b40ee91.zip
Drop unused param `should_be_quoted` to `PostgreSQLColumn#array_to_string`
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/cast.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/cast.rb b/activerecord/lib/active_record/connection_adapters/postgresql/cast.rb
index ea44e818e5..bf34f2bdae 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/cast.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/cast.rb
@@ -67,7 +67,7 @@ module ActiveRecord
end
end
- def array_to_string(value, column, adapter, should_be_quoted = false)
+ def array_to_string(value, column, adapter)
casted_values = value.map do |val|
if String === val
if val == "NULL"