Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning when using Rails 5.2 #380

Closed
brendanshean opened this issue Nov 14, 2017 · 4 comments · Fixed by #383
Closed

Deprecation warning when using Rails 5.2 #380

brendanshean opened this issue Nov 14, 2017 · 4 comments · Fixed by #383

Comments

@brendanshean
Copy link

I've started using Rails (5.2.0.alpha) and I've been getting the following:

DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): ""ed_nodes"."lft"". 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(). (called from nested_set_scope at .rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/awesome_nested_set-3.1.3/lib/awesome_nested_set/model.rb:84)

@parndt
Copy link
Collaborator

parndt commented Nov 16, 2017

Thanks for letting us know!

@brendanshean
Copy link
Author

Any chance you can bump the release version to 3.1.4?

@parndt
Copy link
Collaborator

parndt commented Feb 3, 2018

Yep - 3.1.4 released 👍

@brendanshean
Copy link
Author

Thanks so much for the truly awesome gem, @parndt

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 a pull request may close this issue.

2 participants