Open siegfried opened 12 years ago
I find ["0 = 1"]
is hard coded at here. Is there any story about it?
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.
We hope to see you on the other side!
I'm writing a DataMapper adapter to make DataMapper work on Parse. When I use #load_and_authorize_resource in nested resource controller, CanCan will generate a strange query for index action which I cannot implement. What does the condition ["0 = 1"] mean? It is just a string in an array. Is it a bug of CanCan or DataMapper? Thanks.