aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-02-27 18:57:45 +0100
committerYves Senn <yves.senn@gmail.com>2014-02-27 18:57:45 +0100
commit14e697cf2a1f2a4d223463839f6748fca4658bcf (patch)
treed052f3d98f74cdd99ab5d3746257f3c55e865765 /railties/lib/rails/generators
parent00824b09340e60c76d16550631ddccaecff03599 (diff)
parentadff19cc3bb280c56f3ab74d1276de44eda0c30f (diff)
downloadrails-14e697cf2a1f2a4d223463839f6748fca4658bcf.tar.gz
rails-14e697cf2a1f2a4d223463839f6748fca4658bcf.tar.bz2
rails-14e697cf2a1f2a4d223463839f6748fca4658bcf.zip
Merge pull request #14174 from kuldeepaggarwal/fix-resource_generator_test
fix test cases
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r--railties/lib/rails/generators/model_helpers.rb2
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