# File lib/tapkit/access/sql.rb, line 559 def sql_for_attribute_named( name ) if name.include? '.' then paths = name.split '.' sql_for_attribute_path paths else attr = @entity.attribute name column = attr.column_name if use_aliases? then "#{@aliases['']}.#{column}" else column end end end