From 247c61e6229e3afe9a3127f0f561eedb3b40ee91 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sun, 17 Nov 2013 20:38:39 +0530 Subject: Drop unused param `should_be_quoted` to `PostgreSQLColumn#array_to_string` --- activerecord/lib/active_record/connection_adapters/postgresql/cast.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3