Use Authlogic to prevent N+1 queries
I’ve had issues with N+1 queries using current_user in Authlogic. I didn’t know the problem has already been solved. Take a look at my Blog Post.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I’ve had issues with N+1 queries using current_user in Authlogic. I didn’t know the problem has already been solved. Take a look at my Blog Post.
Post a comment