bdurand / seamless_database_pool

Add support for master/slave database clusters in ActiveRecord to improve performance.
http://rdoc.info/projects/bdurand/seamless_database_pool
MIT License
224 stars 58 forks source link

DEPRECATION WARNING: alias_method_chain #35

Open git-berian opened 7 years ago

git-berian commented 7 years ago

Running the following code in Rails 5.0.0.1 will cause warning.

include SeamlessDatabasePool::ControllerFilter

DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super.

Is this problem fixed?

yukideluxe commented 7 years ago

this should fix it https://github.com/bdurand/seamless_database_pool/pull/37 ✌️