Rails Admin vs. ActiveAdmin [closed]

爷,独闯天下 提交于 2019-12-17 17:27:31

问题


I've been looking into some rails admin plugins and came across these:

https://github.com/gregbell/active_admin

https://github.com/sferik/rails_admin

https://github.com/thoughtbot/administrate (EDIT: added later)

Any suggestions as to which one to go with. I would need it to support model associations and file uploads abilities.


回答1:


I vote for rails_admin. I like its looks and the fact that out of the box all the models are available for administration. The history feature is quite useful too.

Any project with Yehuda Katz as a mentor should be a safe bet.




回答2:


I personally think the two could be merged, and have just raised the issue on both projects:

  • https://github.com/sferik/rails_admin/issues/799
  • https://github.com/gregbell/active_admin/issues/677

I think it would be great to take the best parts from both, and collaborate on the missing pieces.




回答3:


I think it's really a matter of personal preference. More people are using rails_admin[*], but I prefer active_admin.

The reasons I chose ActiveAdmin were predominantly that it was developed with assumptions that I would make myself: using gems like devise and inherited_resources, and using a nice form builder (formtastic, though I would have chosen simple_form).

I actually prefer that not all models are exposed to the admin by default, though rails_admin supports that with 'config.included_models'.

[*] Watches/forks on https://github.com/gregbell/active_admin vs https://github.com/sferik/rails_admin - though the gap is closing.



来源:https://stackoverflow.com/questions/6542075/rails-admin-vs-activeadmin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!