mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Change deprecation message for dangerous query method to be disallowed in Rails 6.1
This commit is contained in:
parent
37b2c83dbc
commit
1f9c2897a7
1 changed files with 1 additions and 1 deletions
|
@ -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()."
|
||||
|
|
Loading…
Reference in a new issue