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: sanitize_sql_hash_for_conditions is deprecated and will be removed in Rails 5.0 #143

Closed
ksylvest opened this issue Dec 20, 2014 · 2 comments

Comments

@ksylvest
Copy link

After upgrading to Rails 4.2 I started noticing this:

DEPRECATION WARNING: sanitize_sql_hash_for_conditions is deprecated, and will be removed in Rails 5.0
. (called from scope_condition at (eval):30)

It only occurs when a scope is applied to acts_as_list like so:

acts_as_list scope: :company
@eagletmt
Copy link
Contributor

It's already fixed in #140

@ksylvest
Copy link
Author

Whoops! My bad, I was on the v0.5.0.

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

No branches or pull requests

2 participants