No documentation
This module has no description. You can help the Ruby on Rails community by adding new notes.
Constants
RAILS_DEV_PATH = File.expand_path("../../../../../..", File.dirname(__FILE__))
RESERVED_NAMES = %w[application destroy plugin runner test]
DEFAULT_ALIASES = {
rails: {
actions: '-a',
orm: '-o',
javascripts: '-j',
javascript_engine: '-je',
resource_controller: '-c',
scaffold_controller: '-c',
stylesheets: '-y',
stylesheet_engine: '-se',
template_engine: '-e',
test_framework: '-t'
},
test_unit: {
fixture_replacement: '-r',
}
}
DEFAULT_OPTIONS = {
rails: {
assets: true,
force_plural: false,
helper: true,
integration_tool: nil,
javascripts: true,
javascript_engine: :js,
orm: false,
resource_controller: :controller,
resource_route: true,
scaffold_controller: :scaffold_controller,
stylesheets: true,
stylesheet_engine: :css,
test_framework: false,
template_engine: :erb
}
}
Attributes
Show files where this module is defined (31 files)
actionmailer/lib/rails/generators/mailer/mailer_generator.rb
railties/lib/rails/generators/model_helpers.rb
railties/lib/rails/generators/test_case.rb
railties/lib/rails/generators/app_base.rb
railties/lib/rails/generators/migration.rb
railties/lib/rails/generators/named_base.rb
railties/lib/rails/generators/rails/model/model_generator.rb
railties/lib/rails/generators/rails/migration/migration_generator.rb
railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties/lib/rails/generators/rails/helper/helper_generator.rb
railties/lib/rails/generators/rails/plugin/plugin_generator.rb
railties/lib/rails/generators/rails/generator/generator_generator.rb
railties/lib/rails/generators/rails/task/task_generator.rb
railties/lib/rails/generators/rails/app/app_generator.rb
railties/lib/rails/generators/rails/assets/assets_generator.rb
railties/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
railties/lib/rails/generators/rails/resource/resource_generator.rb
railties/lib/rails/generators/rails/controller/controller_generator.rb
railties/lib/rails/generators/base.rb
railties/lib/rails/generators/actions/create_migration.rb
railties/lib/rails/generators/resource_helpers.rb
railties/lib/rails/generators/actions.rb
railties/lib/rails/generators/active_model.rb
railties/lib/rails/generators/testing/behaviour.rb
railties/lib/rails/generators/testing/assertions.rb
railties/lib/rails/generators/testing/setup_and_teardown.rb
railties/lib/rails/generators/generated_attribute.rb
railties/lib/rails/commands/application.rb
railties/lib/rails/generators.rb
activejob/lib/rails/generators/job/job_generator.rb