Sha256: fc48696e5b082d48f07b1df57319ab72fa5be11aa8b294c2b5deb43e60c88e79
Contents?: true
Size: 662 Bytes
Versions: 3
Compression:
Stored size: 662 Bytes
Contents
Description: Stubs out a scaffolded controller, its seven RESTful actions and related views. Pass the model name, either CamelCased or under_scored. The controller name is retrieved as a pluralized version of the model name. This generates a controller class in app/controllers and invokes helper, template engine framework generators. Example: `rails generate scaffold_controller CreditCard...` Credit card controller with URLs like /credit_cards. Controller: app/controllers/credit_cards_controller.rb Views: app/views/credit_cards/index.html.erb [...] Helper: app/helpers/credit_cards_helper.rb
Version data entries
3 entries across 3 versions & 2 rubygems