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: Passing string to define callback on Rails 5 beta 3 #191

Closed arogachev closed 8 years ago

arogachev commented 8 years ago

From logs:

DEPRECATION WARNING: Passing string to define callback is deprecated and will be removed in Rails 5.1 without replacement.

Then it references to model to line where acts_as_list declared. I use simple definition, without additional options.

I'm using Rails 5 beta 3.

brendon commented 8 years ago

I've created a branch with the fix (I think): https://github.com/swanandp/acts_as_list/pull/192

Can you try using that branch and let me know if you still get the warning?

brendon commented 8 years ago

Fixed by #192.