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:
parent
40316aa99d
commit
386e2c7357
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue