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 want to cache the result of with_role method, but it is not cached. (do always query to database)
I guess it is because the result of with_role method is not the ActiveRecord::Relation, but I could not know how can I cache this.
I do like this.
Hi,
I want to cache the result of with_role method, but it is not cached. (do always query to database)
I guess it is because the result of with_role method is not the ActiveRecord::Relation, but I could not know how can I cache this.
I do like this.
Thanks.
The text was updated successfully, but these errors were encountered: