Skip to content

remove Rails 5.2 deprecation warning#2

Open
porbas wants to merge 2 commits intomobi:masterfrom
porbas:rails_6.0
Open

remove Rails 5.2 deprecation warning#2
porbas wants to merge 2 commits intomobi:masterfrom
porbas:rails_6.0

Conversation

@porbas
Copy link
Copy Markdown

@porbas porbas commented Aug 13, 2020

Dangerous query method (method whose arguments are used as raw SQL)i
called with non-attribute argument(s): "versions."number" DESC".
Non-attribute arguments will be disallowed in Rails 6.0.
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()

porbas added 2 commits August 13, 2020 14:35
Dangerous query method (method whose arguments are used as raw SQL)i
called with non-attribute argument(s): "versions.\"number\" DESC".
Non-attribute arguments will be disallowed in Rails 6.0.
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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant