The Admin Dashboard Every SaaS Needs

Madmin provides a powerful admin interface out of the box

By RailsFast Team

admin dashboard madmin
Dashboard analytics on a computer screen

Every SaaS needs an admin panel. You need to manage users, view transactions, debug issues, and monitor your application. Building this from scratch takes weeks.

Madmin: Admin in Minutes

RailsFast includes Madmin, a modern Rails admin framework:

# app/madmin/resources/user_resource.rb
class UserResource < Madmin::Resource
  attribute :id
  attribute :email
  attribute :created_at
  attribute :admin, field: StatusBadgeField

  scope :admin
  scope :confirmed
end

What's Included

The demo admin panel shows you:

User Management

  • View all users with search and filtering
  • User details and activity history
  • Ban/unban functionality
  • Custom scopes (admins, confirmed, etc.)

Payment Management

  • All Stripe customers
  • Active subscriptions
  • Payment history and charges
  • Revenue by period

Usage Tracking

  • Credit wallets and balances
  • Transaction history
  • Usage fulfillment records

Custom Fields

RailsFast extends Madmin with custom fields for better UX:

  • StatusBadgeField - Boolean values as colored badges
  • CountryField - Country codes with flag emojis
  • RelativeTimeField - "2 hours ago" instead of timestamps
  • RedactedEmailField - Privacy-safe email display

Try It Now

In this demo, every user gets admin access. Sign up and visit /admin/dashboard to explore the full admin experience.