No documentation
This module has no description. You can help the Ruby on Rails community by adding new notes.
Constants
DEFAULT_OPTIONS = {
rails: {
api: false,
assets: true,
force_plural: false,
helper: true,
integration_tool: nil,
orm: false,
resource_controller: :controller,
resource_route: true,
scaffold_controller: :scaffold_controller,
system_tests: nil,
test_framework: nil,
template_engine: :erb
}
}
DEFAULT_ALIASES = {
rails: {
actions: "-a",
orm: "-o",
javascripts: ["-j", "--js"],
resource_controller: "-c",
scaffold_controller: "-c",
stylesheets: "-y",
template_engine: "-e",
test_framework: "-t"
},
test_unit: {
fixture_replacement: "-r",
}
}
RAILS_DEV_PATH = File.expand_path("../../../../../..", __dir__)
Attributes
Show files where this module is defined (41 files)
actionmailbox/lib/rails/generators/mailbox/mailbox_generator.rb
actionmailer/lib/rails/generators/mailer/mailer_generator.rb
actioncable/lib/rails/generators/channel/channel_generator.rb
railties/lib/rails/generators.rb
railties/lib/rails/generators/named_base.rb
railties/lib/rails/generators/generated_attribute.rb
railties/lib/rails/generators/actions/create_migration.rb
railties/lib/rails/generators/model_helpers.rb
railties/lib/rails/generators/active_model.rb
railties/lib/rails/generators/rails/db/system/change/change_generator.rb
railties/lib/rails/generators/rails/helper/helper_generator.rb
railties/lib/rails/generators/rails/master_key/master_key_generator.rb
railties/lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb
railties/lib/rails/generators/rails/task/task_generator.rb
railties/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
railties/lib/rails/generators/rails/app/app_generator.rb
railties/lib/rails/generators/rails/model/model_generator.rb
railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
railties/lib/rails/generators/rails/migration/migration_generator.rb
railties/lib/rails/generators/rails/encryption_key_file/encryption_key_file_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/generator/generator_generator.rb
railties/lib/rails/generators/rails/controller/controller_generator.rb
railties/lib/rails/generators/rails/benchmark/benchmark_generator.rb
railties/lib/rails/generators/rails/application_record/application_record_generator.rb
railties/lib/rails/generators/rails/plugin/plugin_generator.rb
railties/lib/rails/generators/rails/credentials/credentials_generator.rb
railties/lib/rails/generators/app_base.rb
railties/lib/rails/generators/base.rb
railties/lib/rails/generators/testing/behavior.rb
railties/lib/rails/generators/testing/setup_and_teardown.rb
railties/lib/rails/generators/testing/assertions.rb
railties/lib/rails/generators/app_name.rb
railties/lib/rails/generators/database.rb
railties/lib/rails/generators/resource_helpers.rb
railties/lib/rails/generators/migration.rb
railties/lib/rails/generators/actions.rb
railties/lib/rails/generators/test_case.rb
railties/lib/rails/commands/application/application_command.rb
activejob/lib/rails/generators/job/job_generator.rb