Sha256: 4b381e27ff8b8f0c9e78aa357f4ac9f5a6d2e1e76da682176ead2d17bd3074d5
Contents?: true
Size: 378 Bytes
Versions: 28
Compression:
Stored size: 378 Bytes
Contents
module Arel module Nodes class TableAlias < Arel::Nodes::Binary alias :name :right alias :relation :left alias :table_alias :name def [] name Attribute.new(self, name) end def table_name relation.respond_to?(:name) ? relation.name : name end def engine relation.engine end end end end
Version data entries
28 entries across 25 versions & 8 rubygems