Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ActiveAdmin is actually pretty easy:

> rails generate active_admin:resource [MyModelName]



Oh yes, it's easy. I was just forgetting exactly (I haven't used it in awhile) what it built out for you upon that command and what opinionated pattern it might constrain you to.


Not very opinionated at all, your application controller must expose a method to authenticate a user, and another to get the current user (defaults to :current_user which works out-of-the-box with Devise). Both method names can be configured in the initializer that is generated on install from this template: https://github.com/gregbell/active_admin/blob/master/lib/gen...

I haven't used ActiveAdmin in a few months, but when I last did I was really impressed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: