Method: Arel::Table#alias
- Defined in:
- activerecord/lib/arel/table.rb
#alias(name = "#{self.name}_2") ⇒ Object
30 31 32 |
# File 'activerecord/lib/arel/table.rb', line 30 def alias(name = "#{self.name}_2") Nodes::TableAlias.new(self, name) end |