You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
I added this in my controller:
skip_load_and_authorize_resource :only => [:avatar]
but still CanCan raise an exception CanCan::ImplementationRemoved (The skip_load_resource method has been removed, use skip_load_and_authorize_resource instead.). When I check the https://github.com/ryanb/cancan/blob/2.0/lib/cancan/controller_additions.rb#L189, the method is still using:
def skip_load_and_authorize_resource(*args)
skip_load_resource(*args)
skip_authorize_resource(*args)
end
which raises an exception.
CanCan::ImplementationRemoved (The skip_load_resource method has been removed, use skip_load_and_authorize_resource instead.):
app/controllers/users_controller.rb:6:in `'
app/controllers/users_controller.rb:2:in `'
Rendered /Users/itsmechlark/.rvm/gems/ruby-2.1.0/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/itsmechlark/.rvm/gems/ruby-2.1.0/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
Rendered /Users/itsmechlark/.rvm/gems/ruby-2.1.0/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.0ms)
Thanks for your submission! The ryanb/cancan repository has been inactive since Sep 06, 2013.
Since only Ryan himself has commit permissions, the CanCan project is on a standstill.
CanCan has many open issues, including missing support for Rails 4. To keep CanCan alive, an active fork exists at cancancommunity/cancancan. The new gem is cancancan. More info is available at #994.
If your pull request or issue is still applicable, it would be really appreciated if you resubmit it to CanCanCan.
Is it necessary to spam every open issue with the same message concerning the active fork? Each post alerts each person on the watch list.. I count 20+ emails so far and they are still coming in.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I added this in my controller:
skip_load_and_authorize_resource :only => [:avatar]
but still CanCan raise an exception CanCan::ImplementationRemoved (The skip_load_resource method has been removed, use skip_load_and_authorize_resource instead.). When I check the https://github.com/ryanb/cancan/blob/2.0/lib/cancan/controller_additions.rb#L189, the method is still using:
which raises an exception.
Reference: #465
The text was updated successfully, but these errors were encountered: