Usage:
rails generate kadim:host:scaffold_controller NAME [field:type field:type] [options]
Description:
This is a thin wrapper on scaffold_controller from Rails, if you don't specify any field the generated scaffold will contain all model fields, except id and timestamps. Please, use rails generate scaffold_controller --help to see all options.
Example:
`rails generate kadim:host:scaffold_controller CreditCard` This will create: Credit card controller with URLs like /credit_cards. Controller: app/controllers/credit_cards_controller.rb Test: test/controllers/credit_cards_controller_test.rb Views: app/views/credit_cards/index.html.erb [...] Helper: app/helpers/credit_cards_helper.rb