pagy icon indicating copy to clipboard operation
pagy copied to clipboard

ActiveRecord_Relation.include Pagy::*

Open ddnexus opened this issue 3 years ago • 0 comments

We should ensure that all the search extras that deal with ,includes in the active record relation have a note that indicates to add the specific Pagy::* module. For example:

ActiveRecord_Relation.include Pagy::Meilisearch

See https://github.com/ddnexus/pagy/discussions/400#discussioncomment-4412457

This looks similar to the Searchkick https://github.com/ddnexus/pagy/issues/319, although handled in a different way.

Not sure whether ElasticsearchRails has the same case, but it might be worth investigating.

ddnexus avatar Dec 16 '22 01:12 ddnexus