ryanb/cancan — pull request #528 by ericsullivan (2011-12-08 21:16:28+00:00)
Title: namespaced models weren't loading params - controller_resources#build_resource

form_for(@nested) where @nested is an instance of Something::Nested would set the params as something_nested. I changed cancan to use the same method(s) form_for uses. I also added a param_key option in case none of the defaults work.

As I was writing this pull request I noticed
https://github.com/ryanb/cancan/pull/524

Either one works, I figured I added tests so I'd just submit the request anyway. Thanks