# File activerecord/lib/active_record/connection_adapters/abstract/quoting.rb, line 8def quote(value,column=nil)# records are quoted as their primary keyreturnvalue.quoted_idifvalue.respond_to?(:quoted_id)ifcolumnActiveSupport::Deprecation.warn(Passingacolumnto `quote`hasbeendeprecated.Itisonlyusedfortypecasting,whichshouldbehandledelsewhere.Seehttps://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11formoreinformation..squish)value=type_cast_from_column(column,value)end_quote(value)end