DEV Community

Cover image for How I manage to optimize my Active Admin in 4 simple tricks

How I manage to optimize my Active Admin in 4 simple tricks

Pimp My Ruby on January 07, 2024

ActiveAdmin is a commonly used tool for creating admin interfaces in Ruby on Rails applications. It's incredibly useful for quickly setting up an a...
Collapse
 
jacquesslaff profile image
JacquesSlaff • Edited

Review the database queries being generated by your ActiveAdmin pages. Ensure that indexes are appropriately set on columns involved in search and filtering operations.
Consider using the includes method to eager-load associations and prevent N+1 query issues.rice purity test

Collapse
 
pimp_my_ruby profile image
Pimp My Ruby

You've got this!

Collapse
 
thomas180399 profile image
Thomas Frank

I had no idea this ActiveAdmin could be optimized in such a straightforward manner until I read this post. This tool just became even more powerful in my Buckshot Roulette eyes.