The general problem with namespaced models was solved several months ago with help of "namespaced_name". However cancan still tries to get basic name to retrieve data from params on :create actions. This is a tiny fix to improve this behavior.
build_resource patched to work with namespaced models
namespaced_resource fixed to inscapsulate better
Both #524 and #528 are doing the same thing.
Hello all, I took the code in #528 (similar to this one) but had specs and created a fresh pull request(#658) incorporating the code in #528 and rebasing it against master. Will close this one.