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
Abhay Nikam b9879bb8ad The abstract parent class file generated via generator should not be pluralized
Currently, the file generated via the generator is pluralized
but the parent class is singluar.

example: bundle exec rails g scaffold Pet name:string --database=animals

The above command should generate: apps/models/animals_record.rb

but the pets model would inherit from: `AnimalRecord` as
`"animals".classify` would be `Animal`

This will throw the `uninitialized constant AnimalRecord Did you mean? AnimalsRecord`
error.
2020-08-02 22:25:57 +05:30
..
application Adds db:migrate:redo:NAME support for multidbs 2020-07-30 22:15:22 -03:00
command Isolate ARGV in Rails::Command.invoke 2020-02-18 15:02:56 -06:00
commands Update Railties tests for 7e52d0a 2020-05-21 13:00:56 -04:00
configuration Delayed middleware delete does not allow move operations 2020-01-08 11:30:02 +02:00
engine Use the single line editor in console test 2019-12-24 20:47:21 +09:00
fixtures/lib
generators The abstract parent class file generated via generator should not be pluralized 2020-08-02 22:25:57 +05:30
isolation require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
minitest
railties require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
test_unit Fixed up error output tests and added a missing failure output test. 2020-05-20 15:54:28 -07:00
abstract_unit.rb Revert "You give jruby_skip & rubinius_skip a good name" 2019-08-02 00:24:11 -04:00
app_loader_test.rb
backtrace_cleaner_test.rb Don't modify relative ./ paths in BacktraceCleaner 2019-10-03 14:06:58 -07:00
code_statistics_calculator_test.rb
code_statistics_test.rb
console_helpers.rb
engine_test.rb
env_helpers.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
generators_test.rb remove reference to global rails command and replace with bin/rails 2019-12-27 19:32:37 +00:00
initializable_test.rb
json_params_parsing_test.rb
path_generation_test.rb Remove deprecated config.secret_token 2019-01-17 16:08:34 -05:00
paths_test.rb
rack_logger_test.rb
rails_info_controller_test.rb Fix secret_key_base for Railties 2019-03-13 16:41:29 -04:00
rails_info_test.rb Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json" 2019-01-08 22:21:20 +01:00
secrets_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
version_test.rb