aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_scope.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-08-01 19:15:23 +0100
committerJon Leighton <j@jonathanleighton.com>2012-08-01 19:46:31 +0100
commit7f3b475608d7c0b7faadd7c1430797e91b644a35 (patch)
treedc5b9dad935693f059284fcc1f1e39f9928113a6 /activerecord/lib/active_record/associations/association_scope.rb
parentfb08039cb21134ae51739255486c2f08bd0c3028 (diff)
downloadrails-7f3b475608d7c0b7faadd7c1430797e91b644a35.tar.gz
rails-7f3b475608d7c0b7faadd7c1430797e91b644a35.tar.bz2
rails-7f3b475608d7c0b7faadd7c1430797e91b644a35.zip
Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."
This reverts commit 3803fcce26b837c0117f7d278b83c366dc4ed370. Conflicts: activerecord/CHANGELOG.md It will be deprecated only in 4.0, and removed properly in 4.1.
Diffstat (limited to 'activerecord/lib/active_record/associations/association_scope.rb')
-rw-r--r--activerecord/lib/active_record/associations/association_scope.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association_scope.rb b/activerecord/lib/active_record/associations/association_scope.rb
index cb97490ef1..1303822868 100644
--- a/activerecord/lib/active_record/associations/association_scope.rb
+++ b/activerecord/lib/active_record/associations/association_scope.rb
@@ -5,7 +5,7 @@ module ActiveRecord
attr_reader :association, :alias_tracker
- delegate :klass, :owner, :reflection, :to => :association
+ delegate :klass, :owner, :reflection, :interpolate, :to => :association
delegate :chain, :scope_chain, :options, :source_options, :active_record, :to => :reflection
def initialize(association)