lib/arid_cache/cache_proxy/utilities.rb
def namespaced_column(column, klass=nil)
        if klass.respond_to?(:table_name)
          ::ActiveRecord::Base.connection.quote_table_name(klass.table_name) + '.' + column.to_s
        else
          column.to_s
        end
      end
# Return the column name quoted and namespaced by the table name, if the klass
# responds to +table_name+.  Otherwise just return the column unchanged.
Return the column name quoted and namespaced by the table name, if the klass
responds to +table_name+.  Otherwise just return the column unchanged.
Return the column name quoted and namespaced by the table name if the klass responds to + table_name + . Otherwise just return the column unchanged .
def namespaced_column(column, klass=nil)
        if klass.respond_to?(:table_name)
          ::ActiveRecord::Base.connection.quote_table_name(klass.table_name) + '.' + column.to_s
        else
          column.to_s
        end
      end
def namespaced_column ( column , klass = nil ) if klass . respond_to? ( :table_name ) :: ActiveRecord :: Base . connection . quote_table_name ( klass . table_name ) + '.' + column . to_s else column . to_s end end
Return the column name quoted and namespaced by the table name, if the klass
responds to +table_name+.
Return the column name quoted and namespaced by the table name if the klass responds to + table_name + .
column
klass