Mongoid extra #670
Replies: 2 comments 2 replies
-
After 8.2.0, all the code above could be reduced to a simple overriding of the def pagy_get_count(collection, vars)
collection.respond_to?(:count_documents) ? collection.count_documents : super
end @benkoshy We could add the example above somewhere in the doc. Maybe we can add it in the After we do that, we can close this discussion. |
Beta Was this translation helpful? Give feedback.
-
Discoverability should not be a concern because you just search for "mongoid" in the doc. I don't think anybody of sound mind would "browse" instead of searching for a specific narrow thing. We already have too long menus in the doc, particularly in the extras. |
Beta Was this translation helpful? Give feedback.
-
Description
Beta Was this translation helpful? Give feedback.
All reactions