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

Version Path
active_scaffold-3.2.4 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.2.3 lib/generators/active_scaffold_controller/USAGE
active_scaffold-sequel-0.5.1 lib/generators/active_scaffold_controller/USAGE
active_scaffold-sequel-0.5.0 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.2.2 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.2.1 lib/generators/active_scaffold_controller/USAGE
active_scaffold-sequel-0.4.0 lib/generators/active_scaffold_controller/USAGE
active_scaffold_vho-3.0.25 lib/generators/active_scaffold_controller/USAGE
active_scaffold-sequel-0.3.0 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.2.0 lib/generators/active_scaffold_controller/USAGE
active_scaffold_vho-3.1.3 lib/generators/active_scaffold_controller/USAGE
active_scaffold_vho-3.1.2 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.1.20 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.1.19 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.1.18 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.1.17 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.1.15 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.1.14 lib/generators/active_scaffold_controller/USAGE
active_scaffold-3.0.26 lib/generators/active_scaffold_controller/USAGE
active_scaffold_vho-3.1.1 lib/generators/active_scaffold_controller/USAGE