You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The warning in my particular case with a model called Folder is:
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "folder_hierarchies.generations asc". 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().
The text was updated successfully, but these errors were encountered:
@timdown feel free to put together a PR--I'm not contributing code to closure_tree anymore, but I'm happy to accept PRs and push new releases. I'm looking for more maintainers, too.
@mceachen Thought you might say that :) I'll have a go at this in the next week or so but I doubt I'll be able to commit to being a maintainer. By the way, this gem has been great for us. I just dropped it into our project (which involves a hierarchical folder structure) with minimal effort and it's worked flawlessly for years, so thank you for all the work you've done on it.
The warning in my particular case with a model called Folder is:
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "folder_hierarchies.generations asc". 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().
The text was updated successfully, but these errors were encountered: