What happens when your code breaks in production? If you have Honeybadger you'll be alerted with crucial details like the error location, the data being processed and the affected users. So you can deploy a fix quickly and get back to coding. Learn more.

RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

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!

Think twice before using active_admin!

Using the active_admin gem in the admin section can be a headache once the admin section becomes a little bigger. I have used inherited_resources in the past and have become a big fan of it. Would like thoughts and opinion. Please check the blog here


Why not point out the specific problems you ran into? Your post actually says very little more than what you have said in the above. Also, the gem is called interited_resources, not interitable_resources. Funny enough, that gem is actually used in activeadmin.

Actually, the gem is called inherited_resources. and yes, active_admin uses it under the hood as inherited_resources doesn’t fit the same use case as active_admin: dry up your controller while active_admin is a DSL to create admin interfaces. my 2 cents.

@rio517, @EppO: Thanks for the correction I have updated the gem name.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in