Namespaces support for controller_resources#build_resource #524

Closed
wants to merge 2 commits into from

3 participants

@inossidabile

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.

@jeremyf
Collaborator

Both #524 and #528 are doing the same thing.

@andhapp
Collaborator

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.

@andhapp andhapp closed this Jun 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment