File: USAGE

package info (click to toggle)
ruby-versionist 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 244 kB
  • sloc: ruby: 798; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
Description:
    Creates a new controller class with the given name under the given module namespace

Example:
    rails generate versionist:new_controller test V2_0_0

    This will create:
        app/controllers/V2_0_0/test_controller.rb

    In addition this will create a test for the new controller using the test_framework currently configured in your Rails app.