james2m / canard

Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.
MIT License
125 stars 28 forks source link

Fixed Rails 5 deprecation warning. #29

Closed DSalko closed 7 years ago

DSalko commented 8 years ago

Using ActiveSupport::Reloader instead of ActionDispatch::Reloader to prevent it from breaking when 5.1 comes out.

DEPRECATION WARNING: to_prepare is deprecated and will be removed from Rails 5.1 (use ActiveSupport::Reloader.to_prepare instead)