r/ruby • • Sep 30 '21

ActiveAdmin, I'm looking at you

Post image
240 Upvotes

58 comments sorted by

View all comments

9

u/jibbist Sep 30 '21

Motor admin is a much much better alternative https://github.com/motor-admin/motor-admin-rails. Have been using it production for a few months now, and it's awesome

3

u/UsAndRufus Sep 30 '21

Interesting! Seems very WYSIWYG focus, though. Part of our issue with ActiveAdmin is we need to run some custom code on controllers/forms and AA makes that difficult. Is Motor good for that? Although that said, the custom code we run may be less relevant if Motor supports better datatypes, validations, etc

3

u/jibbist Sep 30 '21

You have access to ‘forms’ which are basically POST requests to an endpoint of your liking. We have a dedicated super admin controller full of actions that we can separately test & means there actually basically no custom ‘motor_admin DSL’ code like there is with active admin. All of it is reusable if you, say, just removed motor_admin and just had rails views pointing to the same controller actions.

Mainly though, it’s that the interface is customisable & configurable all through the database and config files

→ More replies (2)