Sha256: 55ec06f9e6de9e64fb811ed8cb1d4d19fa329de6d933ba46f5ae1647cf342ea1

Contents?: true

Size: 1.04 KB

Versions: 41

Compression:

Stored size: 1.04 KB

Contents

Description:
    en: Customized version of rails's scaffold_controller, to be used after leolay.
    it: Versione personalizzata dello scaffold_controller di rails, da usare dopo leolay.

    Stubs out a scaffolded controller and its views. Pass the model name,
    either CamelCased or under_scored, and a list of views as arguments.
    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 leosca_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
        Views:           app/views/credit_cards/index.html.erb [...]
        Helper:          app/helpers/credit_cards_helper.rb

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
active_leonardo-0.9.0 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.8.1 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.8.0 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.7.0 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.6.1 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.6.0 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.5.3 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.5.2 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.5.1 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.5.0 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.4.1 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.2.3 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.2.2 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.2.1 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.1.0 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.0.7 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.0.6 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.0.6.beta2 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.0.6.beta1 lib/generators/rails/leosca_controller/USAGE
active_leonardo-0.0.5 lib/generators/rails/leosca_controller/USAGE