aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-04-11 14:31:08 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-04-11 14:31:08 -0700
commit1a5fdf77122e32fc710148ea3e795fedb597ad46 (patch)
tree66494467e90c156a9e24849f18708b44152e3272 /activemodel
parentdbb2c2c7b5255eee75868835b0ebd2c36f6ff0cd (diff)
parentac027338e4a165273607dccee49a3d38bc836794 (diff)
downloadrails-1a5fdf77122e32fc710148ea3e795fedb597ad46.tar.gz
rails-1a5fdf77122e32fc710148ea3e795fedb597ad46.tar.bz2
rails-1a5fdf77122e32fc710148ea3e795fedb597ad46.zip
Merge pull request #24492 from vipulnsward/pass-over-warnings
Clean up all Rails 5 warnings. Revert auto-added periods.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/errors.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index d925960b41..d106f65fa2 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -346,7 +346,7 @@ module ActiveModel
# # => {:name=>["can't be empty"]}
def add_on_empty(attributes, options = {})
ActiveSupport::Deprecation.warn(<<-MESSAGE.squish)
- ActiveModel::Errors#add_on_empty is deprecated and will be removed in Rails 5.1
+ ActiveModel::Errors#add_on_empty is deprecated and will be removed in Rails 5.1.
To achieve the same use:
@@ -368,7 +368,7 @@ module ActiveModel
# # => {:name=>["can't be blank"]}
def add_on_blank(attributes, options = {})
ActiveSupport::Deprecation.warn(<<-MESSAGE.squish)
- ActiveModel::Errors#add_on_blank is deprecated and will be removed in Rails 5.1
+ ActiveModel::Errors#add_on_blank is deprecated and will be removed in Rails 5.1.
To achieve the same use: