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
Hi,
I'm trying to integrate kaminari with identity_cache. As the fetch_ method returns the records in Array I can't able to restrict the records on page-wise. Any good practices to implement it.
Thank you
The text was updated successfully, but these errors were encountered:
IdentityCache's cache_has_many associations are meant to be used with relatively small bounded associations, since the result of loading the whole association is stored as a single cache blob.
To integrate with a paginator, we load the ids from the database, then fetch the full records using the ids from IdentityCache.
Hi,
I'm trying to integrate kaminari with identity_cache. As the fetch_ method returns the records in Array I can't able to restrict the records on page-wise. Any good practices to implement it.
Thank you
The text was updated successfully, but these errors were encountered: