diff options
author | Abhay Nikam <nikam.abhay1@gmail.com> | 2019-04-20 08:09:40 +0530 |
---|---|---|
committer | Abhay Nikam <nikam.abhay1@gmail.com> | 2019-04-20 08:09:40 +0530 |
commit | 1f9c2897a7dc2be7cc4b8593416080912bd13a5a (patch) | |
tree | cf39ab2e4f5c12d5f372ed48bd99624b851afd91 | |
parent | 37b2c83dbc175c23ef34d5b18ca7b5bdab6cf86b (diff) | |
download | rails-1f9c2897a7dc2be7cc4b8593416080912bd13a5a.tar.gz rails-1f9c2897a7dc2be7cc4b8593416080912bd13a5a.tar.bz2 rails-1f9c2897a7dc2be7cc4b8593416080912bd13a5a.zip |
Change deprecation message for dangerous query method to be disallowed in Rails 6.1
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 238ea92da4..331813f338 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -197,7 +197,7 @@ module ActiveRecord "Dangerous query method (method whose arguments are used as raw " \ "SQL) called with non-attribute argument(s): " \ "#{unexpected.map(&:inspect).join(", ")}. Non-attribute " \ - "arguments will be disallowed in Rails 6.0. This method should " \ + "arguments will be disallowed in Rails 6.1. This method should " \ "not be called with user-provided values, such as request " \ "parameters or model attributes. Known-safe values can be passed " \ "by wrapping them in Arel.sql()." |