diff options
author | Yoshiyuki Kinjo <yskkin@gmail.com> | 2018-08-31 14:12:53 +0900 |
---|---|---|
committer | Yoshiyuki Kinjo <yskkin@gmail.com> | 2018-08-31 15:47:35 +0900 |
commit | ae6adf98cc3d6ac085c9c6a4887dad65f3c4be17 (patch) | |
tree | da360fce5980b13d4d0fc5126c198b2a559782fd /activesupport/test/metadata/shared_metadata_tests.rb | |
parent | d48f4ddfc8dd38b65f7a040c5c9c7d1468114d2d (diff) | |
download | rails-ae6adf98cc3d6ac085c9c6a4887dad65f3c4be17.tar.gz rails-ae6adf98cc3d6ac085c9c6a4887dad65f3c4be17.tar.bz2 rails-ae6adf98cc3d6ac085c9c6a4887dad65f3c4be17.zip |
Emit warning for unknown inflection rule when generating model.
For words like "abuse", Rails cannot derive its singular form from
plural form "abuses" without defining custom inflection rule.
`rails generate model` and its families now emit warning for this case.
Diffstat (limited to 'activesupport/test/metadata/shared_metadata_tests.rb')
0 files changed, 0 insertions, 0 deletions