Closed citizen428 closed 3 years ago
While setting up multisearch I noticed what I believe to be a little error in the documentation:
PgSearch::Document.delete_all(searchable_type: "TheModel") # ArgumentError: wrong number of arguments (given 1, expected 0) PgSearch::Document.delete_by(searchable_type: "TheModel") # PgSearch::Document Destroy (1.1ms) DELETE FROM "pg_search_documents" WHERE "pg_search_documents"."searchable_type" = $1 ...
Thanks!
While setting up multisearch I noticed what I believe to be a little error in the documentation: