From c2f1796c6dfa1f37581471dea0a126d3efa2a7fe Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 13 Dec 2013 17:19:20 +0100 Subject: argument prefix warning removed * interpreted as a argument prefix --- activerecord/lib/active_record/relation/delegation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/relation/delegation.rb b/activerecord/lib/active_record/relation/delegation.rb index 87f5e8e684..246c5db5bd 100644 --- a/activerecord/lib/active_record/relation/delegation.rb +++ b/activerecord/lib/active_record/relation/delegation.rb @@ -47,7 +47,7 @@ module ActiveRecord :to_ary, :to_set, :to_xml, :to_yaml ] - delegate *ARRAY_DELEGATES, to: :to_a + delegate(*ARRAY_DELEGATES, to: :to_a) delegate :table_name, :quoted_table_name, :primary_key, :quoted_primary_key, :connection, :columns_hash, :to => :klass -- cgit v1.2.3