diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-01-07 17:57:39 +0530 |
---|---|---|
committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2014-02-10 19:42:39 -0200 |
commit | d956772b3c61d97940ebcccd7c83e2397ca0c36c (patch) | |
tree | f855f533d9c50d6f423da03deb5437ccd2e4bcaf /lib | |
parent | a09c9f061734436bb59ff3571284800319ae009f (diff) | |
download | rails-d956772b3c61d97940ebcccd7c83e2397ca0c36c.tar.gz rails-d956772b3c61d97940ebcccd7c83e2397ca0c36c.tar.bz2 rails-d956772b3c61d97940ebcccd7c83e2397ca0c36c.zip |
Remove deprecated `SelectManager#to_a`
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/select_manager.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index 5fbe642df0..010845cf56 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -255,12 +255,6 @@ module Arel end end - def to_a # :nodoc: - warn "to_a is deprecated. Please remove it from #{caller[0]}" - # FIXME: I think `select` should be made public... - @engine.connection.send(:select, to_sql, 'AREL').map { |x| Row.new(x) } - end - private def collapse exprs, existing = nil exprs = exprs.unshift(existing.expr) if existing |