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
Petrik 76f9b7531f Generators should raise an error if an attribute has an invalid index type
When passing an invalid index type to a generator, the index is silently
ignored. For example when misspelling the index:

    bin/rails g model post title:string:indxe

Instead of silently ignoring the invalid index, the generator should
raise an error.

This continues the work in d163fcd620
where we started raising errors if the attribute types are invalid.
2021-07-04 19:13:24 +02:00
..
action_mailbox_install_generator_test.rb Added test cases for Action Mailbox generator 2020-11-30 23:15:41 +05:30
action_text_install_generator_test.rb Run bin/yarn via Ruby 2021-01-21 11:51:15 -06:00
actions_test.rb Merge pull request #41584 from jonathanhefner/route-action-reuse-existing-namespace 2021-05-06 13:44:34 -04:00
api_app_generator_test.rb Used double quotes in template file for consistency. 2021-04-30 02:58:51 +05:30
app_generator_test.rb Fix the turbolinks npm -> github reference 2021-06-22 10:23:42 -05:00
application_record_generator_test.rb Set ApplicationRecord to primary_abstract_class 2021-02-05 17:02:08 -05:00
argv_scrubber_test.rb Refactor railsrc file location to be xdg compliant (#39411) 2020-10-21 01:21:07 -04:00
assets_generator_test.rb
benchmark_generator_test.rb Used double quotes in template file for consistency. 2021-04-30 02:58:51 +05:30
channel_generator_test.rb
controller_generator_test.rb feat(rubocop): Add Style/RedundantRegexpEscape 2020-12-08 18:57:09 +00:00
create_migration_test.rb Fix create migration generator with --pretend option 2021-01-27 21:00:24 +08:00
db_system_change_generator_test.rb Used double quotes in template file for consistency. 2021-04-30 02:58:51 +05:30
generated_attribute_test.rb Generators should raise an error if an attribute has an invalid index type 2021-07-04 19:13:24 +02:00
generator_generator_test.rb require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
generator_test.rb Remove add_gem_entry_filter from GeneratorAppBase: 2020-09-29 16:49:17 -03:00
generators_test_helper.rb Update TargetRubyVersion to 2.7 in .rubocop.yml 2021-02-05 12:23:33 +09:00
helper_generator_test.rb
integration_test_generator_test.rb
job_generator_test.rb
mailer_generator_test.rb feat(rubocop): Add Style/RedundantRegexpEscape 2020-12-08 18:57:09 +00:00
migration_generator_test.rb Generators should raise an error if an attribute has an invalid index type 2021-07-04 19:13:24 +02:00
model_generator_test.rb Generators should raise an error if an attribute has an invalid index type 2021-07-04 19:13:24 +02:00
named_base_test.rb
namespaced_generators_test.rb Used double quotes in template file for consistency. 2021-04-30 02:58:51 +05:30
orm_test.rb
plugin_generator_test.rb Merge pull request #41643 from etiennebarrie/engine-include_all_helpers 2021-06-08 16:45:09 -04:00
plugin_test_helper.rb require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
plugin_test_runner_test.rb require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
resource_generator_test.rb
scaffold_controller_generator_test.rb Modernize scaffold generator (#41210) 2021-02-04 12:26:16 +01:00
scaffold_generator_test.rb Used double quotes in template file for consistency. 2021-04-30 02:58:51 +05:30
shared_generator_tests.rb Avoid testing Thor internals 2021-01-21 13:22:55 -06:00
system_test_generator_test.rb
task_generator_test.rb
test_runner_in_engine_test.rb