1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

argument prefix warning removed

* interpreted as a argument prefix
This commit is contained in:
Arun Agrawal 2013-12-13 17:19:20 +01:00
parent 1713e8fe16
commit c2f1796c6d

View file

@ -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