Thanks for all your hard work on Authie, I've been using it for 9 years in my project and it has served me well!
I recently enabled strict_loading mode in Rails and it has identified some application code where I fetch associations through current_user, resulting in extra queries.
Since I don't control current_user and I'm not keen to monkey patch it, I've had to disable strict loading mode for User. It would be great to be able to effectively call current_user.includes(:associations)... or similar, so I could reduce the number of queries hitting the database and enable strict loading mode again for User.
Thanks for reading!
Thanks for all your hard work on Authie, I've been using it for 9 years in my project and it has served me well!
I recently enabled
strict_loadingmode in Rails and it has identified some application code where I fetch associations throughcurrent_user, resulting in extra queries.Since I don't control
current_userand I'm not keen to monkey patch it, I've had to disable strict loading mode for User. It would be great to be able to effectively callcurrent_user.includes(:associations)...or similar, so I could reduce the number of queries hitting the database and enable strict loading mode again for User.Thanks for reading!