1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused Row class in SelectManager

The `Row` class is no longer used since d956772b3c.
This commit is contained in:
Ryuta Kamizono 2019-03-13 04:54:47 +09:00
parent 40316aa99d
commit 386e2c7357

View file

@ -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