Skip to content

Commit c2f1796

Browse files
committed
argument prefix warning removed
* interpreted as a argument prefix
1 parent 1713e8f commit c2f1796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/relation/delegation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def inherited(child_class)
4747
:to_ary, :to_set, :to_xml, :to_yaml
4848
]
4949

50-
delegate *ARRAY_DELEGATES, to: :to_a
50+
delegate(*ARRAY_DELEGATES, to: :to_a)
5151

5252
delegate :table_name, :quoted_table_name, :primary_key, :quoted_primary_key,
5353
:connection, :columns_hash, :to => :klass

0 commit comments

Comments
 (0)