# File activerecord/lib/active_record/connection_adapters/abstract/quoting.rb, line 9def quote(value,column=nil)# records are quoted as their primary keyreturnvalue.quoted_idifvalue.respond_to?(:quoted_id)ifcolumnvalue=column.cast_type.type_cast_for_database(value)end_quote(value)end