From 3803fcce26b837c0117f7d278b83c366dc4ed370 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Fri, 20 Jul 2012 18:52:35 +0100 Subject: Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql. --- activerecord/lib/active_record/associations/association.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'activerecord/lib/active_record/associations/association.rb') diff --git a/activerecord/lib/active_record/associations/association.rb b/activerecord/lib/active_record/associations/association.rb index 4b989793da..7db6d658f6 100644 --- a/activerecord/lib/active_record/associations/association.rb +++ b/activerecord/lib/active_record/associations/association.rb @@ -140,14 +140,6 @@ module ActiveRecord reset end - def interpolate(sql, record = nil) - if sql.respond_to?(:to_proc) - owner.send(:instance_exec, record, &sql) - else - sql - end - end - # We can't dump @reflection since it contains the scope proc def marshal_dump reflection = @reflection -- cgit v1.2.3