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

Merge pull request #13309 from arunagw/warning-fix-argumnet

argument prefix warning removed
This commit is contained in:
Rafael Mendonça França 2013-12-13 08:24:45 -08:00
commit 92b92f1782

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