diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-02-27 22:04:01 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-02-27 22:04:01 +0530 |
commit | adff19cc3bb280c56f3ab74d1276de44eda0c30f (patch) | |
tree | 9de8e09dfdda552adfc1b73ecd3cd1dcb25ca449 /railties/lib/rails | |
parent | 3007c297d35c4742b9267b31adb5ff7a19e9cda6 (diff) | |
download | rails-adff19cc3bb280c56f3ab74d1276de44eda0c30f.tar.gz rails-adff19cc3bb280c56f3ab74d1276de44eda0c30f.tar.bz2 rails-adff19cc3bb280c56f3ab74d1276de44eda0c30f.zip |
modify model generator warning message. refs [#174c9f0]
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/model_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/model_helpers.rb b/railties/lib/rails/generators/model_helpers.rb index c4f45d344b..42c646543e 100644 --- a/railties/lib/rails/generators/model_helpers.rb +++ b/railties/lib/rails/generators/model_helpers.rb @@ -3,7 +3,7 @@ require 'rails/generators/active_model' module Rails module Generators module ModelHelpers # :nodoc: - PLURAL_MODEL_NAME_WARN_MESSAGE = "The model name '%s' was recognized as a plural, using the singular '%s'. " \ + PLURAL_MODEL_NAME_WARN_MESSAGE = "[WARNING] The model name '%s' was recognized as a plural, using the singular '%s' instead. " \ "Override with --force-plural or setup custom inflection rules for this noun before running the generator." mattr_accessor :skip_warn |