class Arel::Nodes::TableAlias
Public Instance Methods
[](name)
click to toggle source
# File lib/arel/nodes/table_alias.rb, line 8 def [] name Attribute.new(self, name) end
able_to_type_cast?()
click to toggle source
# File lib/arel/nodes/table_alias.rb, line 20 def able_to_type_cast? relation.respond_to?(:able_to_type_cast?) && relation.able_to_type_cast? end
table_name()
click to toggle source
# File lib/arel/nodes/table_alias.rb, line 12 def table_name relation.respond_to?(:name) ? relation.name : name end
type_cast_for_database(*args)
click to toggle source
# File lib/arel/nodes/table_alias.rb, line 16 def type_cast_for_database(*args) relation.type_cast_for_database(*args) end