Closed masukomi closed 1 year ago
Following my comment in the previous issue #250 we need to proper test and fix the issues in the MongoId.
I'm going to close this issue because all the MongoDB requests are going to be tracked in the issue https://github.com/meilisearch/meilisearch-rails/issues/175.
Description this builds on #250 BUT if we fix that issue ... we run into the next one
this line
calls the
primary_key
method on the model. Mongoid doesn't have aprimary_key
method and it seem to be doing anything with the fact that I've added the following to my model. It should be calling myms_id
method but it's hardcoded to callprimary_key
this may actually be an issue that extends beyond mongoid, but i can't test that at the moment.
Expected behavior call the primary key method i told it to.
Current behavior it called
.primary_key
which is a non-existent method.Environment (please complete the following information):