Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

argument prefix warning removed

* interpreted as a argument prefix
  • Loading branch information...
commit c2f1796c6dfa1f37581471dea0a126d3efa2a7fe 1 parent 1713e8f
@arunagw arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/relation/delegation.rb
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.