Module: Arel::SymbolExtensions

Defined in:
lib/arel/algebra/core_extensions/symbol.rb

Instance Method Summary collapse

Instance Method Details

#to_attribute(relation) ⇒ Object



3
4
5
# File 'lib/arel/algebra/core_extensions/symbol.rb', line 3

def to_attribute(relation)
  Arel::Attribute.new(relation, self)
end