1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/generators
yuuji.yaginuma e5d7b98fbd Make aliases of database option in generators work
Thor automatically adds `-` if aliases do not start with `-`.
0879c1773d/lib/thor/parser/options.rb (L53)

But Thor follows a convention of one-dash-one-letter options.
So, even if `-` is added to `db`, it does not work.
0879c1773d/lib/thor/parser/options.rb (L4)

Follow up #34021.
2019-03-20 14:52:01 +09:00
..
actions_test.rb Don't add RAILS_ENV in generate action 2019-01-19 16:39:18 +09:00
api_app_generator_test.rb Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5 2018-12-21 02:05:27 +09:00
app_generator_test.rb Let Zeitwerk be a dependency of Active Support 2019-02-13 12:27:53 -08:00
application_record_generator_test.rb
argv_scrubber_test.rb
assets_generator_test.rb
channel_generator_test.rb Add channel test generator 2019-01-13 21:54:31 -05:00
controller_generator_test.rb
create_migration_test.rb
db_system_change_generator_test.rb Add version awareness to rails db:system:change 2019-03-08 03:14:56 -05:00
generated_attribute_test.rb
generator_generator_test.rb
generator_test.rb
generators_test_helper.rb Fix ERB.new argument deprecated warning 2019-01-31 10:08:24 +09:00
helper_generator_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
integration_test_generator_test.rb
job_generator_test.rb
mailer_generator_test.rb Railities typo fixes. 2019-02-01 16:42:40 +05:30
migration_generator_test.rb Make aliases of database option in generators work 2019-03-20 14:52:01 +09:00
model_generator_test.rb Make aliases of database option in generators work 2019-03-20 14:52:01 +09:00
named_base_test.rb
namespaced_generators_test.rb
orm_test.rb
plugin_generator_test.rb Railities typo fixes. 2019-02-01 16:42:40 +05:30
plugin_test_helper.rb
plugin_test_runner_test.rb
resource_generator_test.rb
scaffold_controller_generator_test.rb
scaffold_generator_test.rb Make aliases of database option in generators work 2019-03-20 14:52:01 +09:00
shared_generator_tests.rb Minimize boilerplate setup code for JavaScript libraries 2019-01-16 16:15:43 -05:00
system_test_generator_test.rb
task_generator_test.rb
test_runner_in_engine_test.rb