You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by #375 I decided to try and see if the same issue applies to will_paginate:
1) Pagination with will_paginate does not crash when meilisearch is disabled
Failure/Error:
expect do
Movie.search ''
end.not_to raise_error
expected no Exception, got #<TypeError: can't convert MeiliSearch::Rails::Nul
lObject into Integer> with backtrace:
# ./lib/meilisearch/rails/pagination/will_paginate.rb:13:in `create'
# ./lib/meilisearch/rails/pagination.rb:27:in `load_pagination!'
# ./lib/meilisearch/rails/pagination.rb:16:in `create'
# ./lib/meilisearch-rails.rb:721:in `ms_search'
😮💨
The text was updated successfully, but these errors were encountered:
Inspired by #375 I decided to try and see if the same issue applies to
will_paginate
:😮💨
The text was updated successfully, but these errors were encountered: