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
Prathamesh Sonpatki 909818b93b Pare back default index option for the migration generator
- Using `references` or `belongs_to` in migrations will always add index
  for the referenced column by default, without adding `index:true` option
  to generated migration file.
- Users can opt out of this by passing `index: false`.
- Legacy migrations won't be affected by this change. They will continue
  to run as they were before.
- Fixes #18146
2016-01-24 18:48:15 +05:30
..
actions_test.rb Rails::Generators::Actions#gem should work even if frozen string is passed as argument 2016-01-24 11:04:52 +05:30
api_app_generator_test.rb remove per_form_csrf_tokens initializer from Rails API 2016-01-22 17:14:43 +09:00
app_generator_test.rb prevent --skip-action-cable from erroring when --api option is used 2016-01-22 22:39:01 -08:00
argv_scrubber_test.rb Revert "Merge pull request #15305 from tgxworld/remove_unnecessary_require" 2014-07-30 09:46:33 -03:00
assets_generator_test.rb Remove unnecessary comment. 2012-05-23 11:45:08 +03:00
channel_generator_test.rb Use the generators options to not generate channel assets 2015-12-21 18:58:08 -02:00
controller_generator_test.rb fix indent in routes when using namespaced controllers 2015-04-14 09:34:51 +09:00
create_migration_test.rb Add CreateMigration action 2014-01-28 00:01:19 +01:00
generated_attribute_test.rb test, Generators::GeneratedAttribute with references, required, index. 2014-10-16 15:50:13 +02:00
generator_generator_test.rb Stop reading the same file twice for testing different content 2013-07-22 22:43:38 -03:00
generator_test.rb Allow normal version updates within a release series 2015-12-18 18:02:21 +10:30
generators_test_helper.rb Cleaned up generators tests using internal assertion helper 2015-08-20 09:22:56 +05:30
helper_generator_test.rb Bring back the helpers tests 2014-08-05 14:04:30 +02:00
integration_test_generator_test.rb
job_generator_test.rb Add explicit base class for ActiveJob jobs 2015-03-23 22:37:11 +01:00
mailer_generator_test.rb ApplicationMailer should be generated by default just like every other Application* parent 2015-12-17 17:35:20 -02:00
migration_generator_test.rb Pare back default index option for the migration generator 2016-01-24 18:48:15 +05:30
model_generator_test.rb Pare back default index option for the migration generator 2016-01-24 18:48:15 +05:30
named_base_test.rb Removed duplicate requiring minitest/mock as it is already required in method_call_assertions 2015-08-26 19:43:54 +05:30
namespaced_generators_test.rb Update test generators to use ActionDispatch::IntegrationTest 2015-12-15 15:19:16 -05:00
orm_test.rb Use Ruby 1.9 Hash syntax in railties 2012-10-14 18:26:58 +02:00
plugin_generator_test.rb allow symbol to end of string in wrap_in_modules 2016-01-16 08:34:46 +09:00
plugin_test_helper.rb show relative path the rerun snippet of test runner in rails engine 2015-12-10 16:08:37 +09:00
plugin_test_runner_test.rb Remove incomplete filter runs all tests in plugins. 2016-01-18 22:10:26 +01:00
resource_generator_test.rb Update test generators to use ActionDispatch::IntegrationTest 2015-12-15 15:19:16 -05:00
scaffold_controller_generator_test.rb Update test generators to use ActionDispatch::IntegrationTest 2015-12-15 15:19:16 -05:00
scaffold_generator_test.rb Pare back default index option for the migration generator 2016-01-24 18:48:15 +05:30
shared_generator_tests.rb ApplicationMailer should be generated by default just like every other Application* parent 2015-12-17 17:35:20 -02:00
task_generator_test.rb Added test when task generator called on revoke 2013-11-23 17:04:30 +01:00
test_runner_in_engine_test.rb display detailed information in inline reporting 2015-12-21 07:48:53 +09:00