Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Rails admin interface that supports MongoDB and Devise?

I recently switched to MongoDB and I am wondering if I can continue using any of the popular admin interface solutions, such as ActiveScaffold and Typus?

like image 617
picardo Avatar asked Nov 06 '10 05:11

picardo


3 Answers

You can try Rails Admin:

a Rails engine that provides an easy-to-use interface for managing your data.

Features

  • CRUD any data with ease
  • Custom actions
  • Automatic form validation
  • Search and filtering
  • Export data to CSV/JSON/XML
  • Authentication (via Devise or other)
  • Authorization (via CanCanCan or Pundit)
  • User action history (via PaperTrail)
  • Supported ORMs
    • ActiveRecord
    • Mongoid
like image 118
Thillai Narayanan Avatar answered Oct 18 '22 05:10

Thillai Narayanan


ActiveAdmin https://github.com/gregbell/active_admin is a great tool for the admin interface creation. And I believe sooner or later they add mongoid support.

Right now there's some patch for it: https://github.com/ebeigarts/mongoid_active_admin_app I didn't try it myself though.

like image 40
Fenec Avatar answered Oct 18 '22 07:10

Fenec


if your using Mongoid as your ORM, then active_admin should do the job.. apply this patch to get it working

this disables some functionalities (mostly filters because active_admin relies on meta_search and that gem only supports active_record)

  • Fixes ActiveAdmin sorting
  • Disables ActiveAdmin Filters/Search
  • Disables ActiveAdmin Comments
like image 1
Orlando Avatar answered Oct 18 '22 06:10

Orlando