1 2 3 4 5 6 7 8 9 10 11 12 13 14
module Arel class Nil < Relation def table; self end def table_sql(formatter = nil); '' end def relation_for(attribute); nil end def name; '' end def to_s; '' end def ==(other) self.class == other.class end end end