diff options
author | Jian Weihang <tonytonyjan@gmail.com> | 2015-01-29 04:04:21 +0800 |
---|---|---|
committer | Jian Weihang <tonytonyjan@gmail.com> | 2015-01-29 04:18:54 +0800 |
commit | c997d6dfeae2a5f5c63155a81332ca684ec9f743 (patch) | |
tree | c1979eebbbb29680cb265e46a63fcc9bfaadcdbf /railties | |
parent | dae0eb1e331e9349b3d607ed5177c2bce7722d8b (diff) | |
download | rails-c997d6dfeae2a5f5c63155a81332ca684ec9f743.tar.gz rails-c997d6dfeae2a5f5c63155a81332ca684ec9f743.tar.bz2 rails-c997d6dfeae2a5f5c63155a81332ca684ec9f743.zip |
table name should be plural [ci skip]
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/model/USAGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/model/USAGE b/railties/lib/rails/generators/rails/model/USAGE index b8f7845896..11daa5c3cb 100644 --- a/railties/lib/rails/generators/rails/model/USAGE +++ b/railties/lib/rails/generators/rails/model/USAGE @@ -22,7 +22,7 @@ Description: If you pass a namespaced model name (e.g. admin/account or Admin::Account) then the generator will create a module with a table_name_prefix method - to prefix the model's table name with the module name (e.g. admin_account) + to prefix the model's table name with the module name (e.g. admin_accounts) Available field types: |