Skip to content

Instantly share code, notes, and snippets.

@bscofield
Created February 17, 2010 18:22
Show Gist options
  • Save bscofield/306872 to your computer and use it in GitHub Desktop.
Save bscofield/306872 to your computer and use it in GitHub Desktop.
Options:
[--singleton] # Supply to create a singleton controller
-c, --resource-controller=NAME # Resource controller to be invoked
# Default: controller
-o, --orm=NAME # Orm to be invoked
# Default: active_record
-a, [--actions=ACTION ACTION] # Actions for the resource controller
[--force-plural] # Forces the use of a plural ModelName
# ...
TestUnit options:
-r, [--fixture-replacement=NAME] # Fixture replacement to be invoked
[--fixture] # Indicates when to generate fixture
# Default: true
ActiveRecord options:
[--parent=PARENT] # The parent class for the generated model
[--migration] # Indicates when to generate migration
# Default: true
[--timestamps] # Indicates when to generate timestamps
# Default: true
Controller options:
[--helper] # Indicates when to generate helper
# Default: true
-t, [--test-framework=NAME] # Test framework to be invoked
# Default: test_unit
-e, [--template-engine=NAME] # Template engine to be invoked
# Default: erb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment