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
1 changed files with 1 additions and 1 deletions

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