Class: Arel::Sql::GroupClause

Inherits:
PassThrough show all
Defined in:
lib/arel/engines/sql/formatters.rb

Instance Attribute Summary

Attributes inherited from Formatter

#environment

Instance Method Summary collapse

Methods inherited from PassThrough

#value

Methods inherited from Formatter

#initialize

Constructor Details

This class inherits a constructor from Arel::Sql::Formatter

Instance Method Details

#attribute(attribute) ⇒ Object



55
56
57
# File 'lib/arel/engines/sql/formatters.rb', line 55

def attribute(attribute)
  "#{quote_table_name(name_for(attribute.original_relation))}.#{quote_column_name(attribute.name)}"
end