I’ve added the Upmin admin framework to Rails Composer as an option. Upmin is an admin dashboard similar to Active Admin or RailsAdmin. The upmin-admin gem is new and well-designed, from Upmin, a startup building customer support software.
Admin dashboards such as Upmin give you convenient access to your database, so you can search by any attribute, and view, update, or delete any records. The interface should only be used by an administrator since it lets you make any changes to your application data. Best of all, there’s no code to write and nothing to configure. The upmin-admin gem is a Rails engine, so you can override its controller and views if you want to customize your admin dashboard.
Rails Composer gives you an option to add Upmin when you select Devise for authentication with role-based authorization or Pundit. Rails Composer:
- adds the upmin-admin gem
- configures the application so only users with an admin role can access the admin dashboard
- adds a navigation link to the application navbar
The Upmin admin dashboard is a great addition to make Rails Composer even more powerful. It’s a new integration, and I haven’t tried it with every possible option in Rails Composer, so open an issue on GitHub if you discover anomalies.
As always, a big thanks to everyone who joins the RailsApps project with a subscription, supporting the project.