brendon / acts_as_list

An ActiveRecord plugin for managing lists.
http://brendon.github.io/acts_as_list/
MIT License
2.05k stars 356 forks source link

Deprecation Warning: sanitize_sql_hash_for_conditions is deprecated and will be removed in Rails 5.0 #143

Closed ksylvest closed 9 years ago

ksylvest commented 9 years ago

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 commented 9 years ago

It's already fixed in #140

ksylvest commented 9 years ago

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