This was fixed in Clearance 1.0.0
Clearance gem queries for users too many times
-
02-04-2022 - |
Question
I am using clearance gem for authentication purpose and it is working very much fine. But, the problem with it I found is, it slows down the application. By taking a closer look at this, I found that it fetches user for each and every assets(JavaScripts, CSS and images) requested for the page.
Can anyone suggest me what can be the work around for this?
Thanks in Advance
No correct solution
OTHER TIPS
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow