Sha256: f2acad8ddfac34e347237131174362465bc82964bf5f849659287d81b368b62b

Contents?: true

Size: 818 Bytes

Versions: 230

Compression:

Stored size: 818 Bytes

Contents

Description:
    Stubs out a new controller and its views. Pass the controller name, either
    CamelCased or under_scored, and a list of views as arguments.

    To create a controller within a module, specify the controller 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 controller CreditCard open debit credit close`

    Credit card controller with URLs like /credit_card/debit.
        Controller:      app/controllers/credit_card_controller.rb
        Functional Test: test/functional/credit_card_controller_test.rb
        Views:           app/views/credit_card/debit.html.erb [...]
        Helper:          app/helpers/credit_card_helper.rb

Version data entries

230 entries across 191 versions & 19 rubygems

Version Path
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
jquery_regex-0.0.1 vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/railties-3.2.8/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/railties-3.2.7/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.2.0 vendor/bundle/gems/railties-3.2.7/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.2.0 vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.2.0 vendor/bundle/gems/railties-3.2.8/lib/rails/generators/rails/controller/USAGE
challah-0.8.3 vendor/bundle/gems/railties-3.2.8/lib/rails/generators/rails/controller/USAGE
challah-0.8.3 vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE
railties-3.2.9 lib/rails/generators/rails/controller/USAGE
railties-3.2.9.rc3 lib/rails/generators/rails/controller/USAGE
railties-3.2.9.rc2 lib/rails/generators/rails/controller/USAGE
railties-3.2.9.rc1 lib/rails/generators/rails/controller/USAGE
challah-0.8.1 vendor/bundle/gems/railties-3.2.8/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.1.0 vendor/bundle/gems/railties-3.2.7/lib/rails/generators/rails/controller/USAGE
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/railties-3.2.7/lib/rails/generators/rails/controller/USAGE