A framework for creating flexible, powerful admin dashboards in Rails. Try the demo.
Administrate is still pre-1.0, and there may be occasional breaking changes to the API. Check the release notes for important updates.
Administrate is a library for Rails apps that automatically generates admin dashboards. Administrate's admin dashboards give non-technical users clean interfaces that allow them to create, edit, search, and delete records for any model in the application.
Administrate solves the same problem as Rails Admin and ActiveAdmin, but aims to provide a better user experience for site admins, and to be easier for developers to customize.
To accomplish these goals, Administrate follows a few guiding principles:
- No DSLs (domain-specific languages)
- Support the simplest use cases, and let the user override defaults with standard tools such as plain Rails controllers and views.
- Break up the library into core components and plugins, so each component stays small and easy to maintain.
Administrate supports Rails from 4.2, up to 5.0 and beyond.
Add Administrate to your Gemfile:
gem "administrate"Re-bundle, then run the installer:
$ rails generate administrate:installRestart your server, and visit http://localhost:3000/admin to see your new dashboard in action.
In order to create additional dashboards, pass in the resource name to the dashboard generator. A dashboard and controller will be created.
$ rails generate administrate:dashboard Foo