Skip to content
Browse files

argument prefix warning removed

* interpreted as a argument prefix
  • Loading branch information...
1 parent 1713e8f commit c2f1796c6dfa1f37581471dea0a126d3efa2a7fe @arunagw arunagw committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/relation/delegation.rb
2 activerecord/lib/active_record/relation/delegation.rb
@@ -47,7 +47,7 @@ def inherited(child_class)
: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

0 comments on commit c2f1796

Please sign in to comment.
Something went wrong with that request. Please try again.