joelplane/rails_no_database_in_view
github.com
"Prevent database access from the view.
Force loading all data from the controller by raising when the database is accessed from the view. This can help create effective database queries and help avoid SQL N+1 problems."
#Rails #gems #performance #databases #database_queries #@to_use #pub
Collect and share the web
Get started for free