Choosing a right gem for your admin section

2 November 2012 by Gaurav Gaglani 1 comment

Admin sections are a part of most applications that one builds. Usually we lookup to active_admin for a quick solution. It is pretty straight forward when you have to do a few simple configurations and the dashboard. If your project is big and as the models start increasing plus if you need to do anything that is a little complex; it all starts to fall apart. The code becomes very hard to manage and maintain. So, it saved you the initial effort for the admin section but it brought its own set of problems.

There is another way you can be quick and the code will be clean and maintainable. The gem is inherited_resources. This gem actually helps you keep things clean, flxible and maintainable. I would strongly recommend taking a look at it before using active_admin gem.

Just a side note you could also use the inherited_resources gem in your regular controllers where you have your standard actions and want to add more to it. The readme has detailed information about its capabilities. You can find it here.

Gaurav Gaglani

Follow me on Twitter

1 thought on “Choosing a right gem for your admin section”

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe To Our Blog

Get access to proven marketing ideas, latest trends and best practices.

Next up home

Contact

Lets build cool stuff

Share your contact information & we will get in touch!

I want (Tell us more about your dream project)