Answer the question
In order to leave comments, you need to log in
How to generate an admin panel using scaffold in Ruby on rails?
available:
Rails 4
Ruby 2
On the Internet I saw that you can generate an admin panel through scaffold. Please tell me how and why to generate it through scaffold?
Answer the question
In order to leave comments, you need to log in
There is experience with ActiveAdmin - during installation, it "generates" the admin framework + can generate admin panels for existing models.
rails g active_admin:install
... (миграции и бандл)
rails generate active_admin:resource MyModel
There is, for example:
activeadmin.info
rails-admin-tb.herokuapp.com
It's not entirely clear what you mean by scaffold. It's just a collection of files that can be "copied" into the current project. Default - not so much. The rest by means of gems or their own
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question