aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-12-13 17:19:20 +0100
committerArun Agrawal <arunagw@gmail.com>2013-12-13 17:19:20 +0100
commitc2f1796c6dfa1f37581471dea0a126d3efa2a7fe (patch)
tree3d43061275e2e87bfce7d0f55736c23abc330785 /activerecord/lib
parent1713e8fe16176fa24ece92180f2599f938ec9608 (diff)
downloadrails-c2f1796c6dfa1f37581471dea0a126d3efa2a7fe.tar.gz
rails-c2f1796c6dfa1f37581471dea0a126d3efa2a7fe.tar.bz2
rails-c2f1796c6dfa1f37581471dea0a126d3efa2a7fe.zip
argument prefix warning removed
* interpreted as a argument prefix
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/relation/delegation.rb2
1 files changed, 1 insertions, 1 deletions
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