aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-03-13 04:54:47 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-03-13 04:54:47 +0900
commit386e2c7357d8e15ab52f63c7d79101458561fbb1 (patch)
treeedaef042922e87534e08fe82c34672d6135f8734 /activerecord/lib/arel
parent40316aa99da3dc4c7463498ff54be8646f639250 (diff)
downloadrails-386e2c7357d8e15ab52f63c7d79101458561fbb1.tar.gz
rails-386e2c7357d8e15ab52f63c7d79101458561fbb1.tar.bz2
rails-386e2c7357d8e15ab52f63c7d79101458561fbb1.zip
Remove unused `Row` class in `SelectManager`
The `Row` class is no longer used since d956772b3c61d97940ebcccd7c83e2397ca0c36c.
Diffstat (limited to 'activerecord/lib/arel')
-rw-r--r--activerecord/lib/arel/select_manager.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/lib/arel/select_manager.rb b/activerecord/lib/arel/select_manager.rb
index a2b2838a3d..0da52ca91b 100644
--- a/activerecord/lib/arel/select_manager.rb
+++ b/activerecord/lib/arel/select_manager.rb
@@ -237,18 +237,6 @@ module Arel # :nodoc: all
@ctx.source
end
- class Row < Struct.new(:data) # :nodoc:
- def id
- data["id"]
- end
-
- def method_missing(name, *args)
- name = name.to_s
- return data[name] if data.key?(name)
- super
- end
- end
-
private
def collapse(exprs)
exprs = exprs.compact