diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-29 02:11:28 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-29 03:27:45 +0900 |
commit | 425f2cacafc522bb0aa426a0a4bc92c1237160aa (patch) | |
tree | a9029da50775261f071c1fa1c58aa0fed31f18dc /activerecord/lib/active_record/relation/delegation.rb | |
parent | 686e8fb52e00b24bd3a334cd7748df950914bfbf (diff) | |
download | rails-425f2cacafc522bb0aa426a0a4bc92c1237160aa.tar.gz rails-425f2cacafc522bb0aa426a0a4bc92c1237160aa.tar.bz2 rails-425f2cacafc522bb0aa426a0a4bc92c1237160aa.zip |
Remove delegating to arel in a relation
The delegation was needed since passing `relation` with
`relation.bound_attributes`. It should use `relation.arel` in that case.
Diffstat (limited to 'activerecord/lib/active_record/relation/delegation.rb')
-rw-r--r-- | activerecord/lib/active_record/relation/delegation.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/delegation.rb b/activerecord/lib/active_record/relation/delegation.rb index dada0fddf8..8b4dd25689 100644 --- a/activerecord/lib/active_record/relation/delegation.rb +++ b/activerecord/lib/active_record/relation/delegation.rb @@ -44,8 +44,6 @@ module ActiveRecord delegate :table_name, :quoted_table_name, :primary_key, :quoted_primary_key, :connection, :columns_hash, to: :klass - delegate :ast, :locked, to: :arel - module ClassSpecificRelation # :nodoc: extend ActiveSupport::Concern |