method

quoted_record_ids

quoted_record_ids(records)
protected

Returns a string with the IDs of records joined with a comma, quoted if needed. The result is ready to be inserted into a SQL IN clause.

  quoted_record_ids(records) # => "23,56,58,67"