From c997d6dfeae2a5f5c63155a81332ca684ec9f743 Mon Sep 17 00:00:00 2001 From: Jian Weihang Date: Thu, 29 Jan 2015 04:04:21 +0800 Subject: table name should be plural [ci skip] --- railties/lib/rails/generators/rails/model/USAGE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') 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: -- cgit v1.2.3