aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-30 10:38:54 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-30 10:38:54 -0700
commit04b3f0611c69532526d8b16799a7625b92dcf1fc (patch)
tree18a0a13b433fb95016fcaf03cbca55405d068d99 /lib
parenta672a525f821aed061c2aa68ec804e895ac3ebf3 (diff)
downloadrails-04b3f0611c69532526d8b16799a7625b92dcf1fc.tar.gz
rails-04b3f0611c69532526d8b16799a7625b92dcf1fc.tar.bz2
rails-04b3f0611c69532526d8b16799a7625b92dcf1fc.zip
PERF: removing def engine
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/algebra/relations/operations/take.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/arel/algebra/relations/operations/take.rb b/lib/arel/algebra/relations/operations/take.rb
index 421051124c..299c29ab72 100644
--- a/lib/arel/algebra/relations/operations/take.rb
+++ b/lib/arel/algebra/relations/operations/take.rb
@@ -7,17 +7,6 @@ module Arel
@taken = taken
end
- def engine
- engine = relation.engine
-
- # Temporary check of whether or not the engine supports where.
- if engine.respond_to?(:supports) && !engine.supports(:limiting)
- Memory::Engine.new
- else
- engine
- end
- end
-
def externalizable?
true
end