diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-30 10:38:54 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-30 10:38:54 -0700 |
commit | 04b3f0611c69532526d8b16799a7625b92dcf1fc (patch) | |
tree | 18a0a13b433fb95016fcaf03cbca55405d068d99 /lib/arel/algebra | |
parent | a672a525f821aed061c2aa68ec804e895ac3ebf3 (diff) | |
download | rails-04b3f0611c69532526d8b16799a7625b92dcf1fc.tar.gz rails-04b3f0611c69532526d8b16799a7625b92dcf1fc.tar.bz2 rails-04b3f0611c69532526d8b16799a7625b92dcf1fc.zip |
PERF: removing def engine
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/relations/operations/take.rb | 11 |
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 |