aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-04-20 13:55:05 +0900
committerGitHub <noreply@github.com>2019-04-20 13:55:05 +0900
commit96cf7e0e676c54cb8177de146efa27ed49c4b8c6 (patch)
tree97b2df54b901d25e3886c80c482330525cafe6be /activerecord/lib/active_record/attribute_methods.rb
parentd3dc651a819d95f0467b0bdad6bc85080debcc43 (diff)
parent1f9c2897a7dc2be7cc4b8593416080912bd13a5a (diff)
downloadrails-96cf7e0e676c54cb8177de146efa27ed49c4b8c6.tar.gz
rails-96cf7e0e676c54cb8177de146efa27ed49c4b8c6.tar.bz2
rails-96cf7e0e676c54cb8177de146efa27ed49c4b8c6.zip
Merge pull request #36041 from abhaynikam/change-deprecation-for-dynamic-route-segment-to-6.1
Change the deprecation message for dynamic routes segment to 6.1
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb2
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()."