aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-17 08:03:19 -0800
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-17 08:03:19 -0800
commit3b059e717db69413852353b5e11402ee1ab55de0 (patch)
tree1300469189599c17fde7d88e50edc3a70a63fc7b
parent50b62bce2b2c3f93756b6bc40cc2f0c36cf961bf (diff)
parent247c61e6229e3afe9a3127f0f561eedb3b40ee91 (diff)
downloadrails-3b059e717db69413852353b5e11402ee1ab55de0.tar.gz
rails-3b059e717db69413852353b5e11402ee1ab55de0.tar.bz2
rails-3b059e717db69413852353b5e11402ee1ab55de0.zip
Merge pull request #12928 from vipulnsward/drop_unused_param
Drop unused param `should_be_quoted` to `PostgreSQLColumn#array_to_string`
-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"