Sha256: b72defc6d18cc2e979bd520ff33651f6c37216aa3842618a0f3d45bf6338ae99
Contents?: true
Size: 785 Bytes
Versions: 165
Compression:
Stored size: 785 Bytes
Contents
Description: Stubs out a active_scaffolded controller. Pass the model name, either CamelCased or under_scored. The controller name is retrieved as a pluralized version of the model name. To create a controller within a module, specify the model name as a path like 'parent_module/controller_name'. This generates a controller class in app/controllers and invokes helper, template engine and test framework generators. Example: `rails generate active_scaffold_controller CreditCard` Credit card controller with URLs like /credit_card/debit. Controller: app/controllers/credit_cards_controller.rb Functional Test: test/functional/credit_cards_controller_test.rb Helper: app/helpers/credit_cards_helper.rb
Version data entries
165 entries across 165 versions & 5 rubygems