Skip to main content

Introduction

cm-admin (internally Catalyst) is a Ruby on Rails engine that turns a DSL declared in your models into a complete admin panel: listings, detail pages, forms, filters, actions, roles and more.

app/models/concerns/cm_admin/blog_post.rb
cm_admin do
actions only: %i[index show new create edit update destroy]

cm_index do
filter %i[title], :search, placeholder: "Search"
column :title
column :status, field_type: :badge, badge_class: { draft: "cm-badge-yellow", published: "cm-badge-green" }
end
end

What you get​

  • Views: index (table, card or kanban), show, new, edit and destroy pages.
  • Fields and Filters & Search: field types, selects, badges, advanced filters, global search and saved views.
  • Actions: custom, bulk and grouped actions, CSV imports and multi-step forms.
  • Access Control: authentication, OTP login and role-based permissions.
  • Features: auditing, comments, emails, webhooks, cron jobs, dashboards, Catalyst AI and an MCP server.

How these docs are organised​

SectionUse it to
Getting StartedInstall the gem and build your first admin page.
Views β†’ CustomizationLearn and configure one product area at a time.
ReferenceLook up every DSL method, option and generator.
UpgradingApply the steps each release needs.
Release NotesSee what changed in every release.

Working on the gem itself? See Contributing.

Demo​

Next steps​

  1. Install cm-admin
  2. Build your first admin page