diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-12-13 17:19:20 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-12-13 17:19:20 +0100 |
commit | c2f1796c6dfa1f37581471dea0a126d3efa2a7fe (patch) | |
tree | 3d43061275e2e87bfce7d0f55736c23abc330785 /activerecord | |
parent | 1713e8fe16176fa24ece92180f2599f938ec9608 (diff) | |
download | rails-c2f1796c6dfa1f37581471dea0a126d3efa2a7fe.tar.gz rails-c2f1796c6dfa1f37581471dea0a126d3efa2a7fe.tar.bz2 rails-c2f1796c6dfa1f37581471dea0a126d3efa2a7fe.zip |
argument prefix warning removed
* interpreted as a argument prefix
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation/delegation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/delegation.rb b/activerecord/lib/active_record/relation/delegation.rb index 87f5e8e684..246c5db5bd 100644 --- a/activerecord/lib/active_record/relation/delegation.rb +++ b/activerecord/lib/active_record/relation/delegation.rb @@ -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 |