aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-12-28 12:57:35 +0530
committerPratik Naik <pratiknaik@gmail.com>2009-12-28 12:57:35 +0530
commit9f4e98330b3a7f85a4bca91fca062106ffbee2bf (patch)
tree2d4501eaf925e38cf5d06267c9f93aa945e982eb /activerecord/lib/active_record
parentd6b0a7d67c57470694843606d8079d887bd4579b (diff)
downloadrails-9f4e98330b3a7f85a4bca91fca062106ffbee2bf.tar.gz
rails-9f4e98330b3a7f85a4bca91fca062106ffbee2bf.tar.bz2
rails-9f4e98330b3a7f85a4bca91fca062106ffbee2bf.zip
Remove unused construct_finder_sql
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-xactiverecord/lib/active_record/base.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index a887b0c571..da1341a846 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1596,10 +1596,6 @@ module ActiveRecord #:nodoc:
relation
end
- def construct_finder_sql(options, scope = scope(:find))
- construct_finder_arel(options, scope).to_sql
- end
-
def construct_join(joins, scope)
merged_joins = scope && scope[:joins] && joins ? merge_joins(scope[:joins], joins) : (joins || scope && scope[:joins])
case merged_joins