ryanb/cancan — pull request #541 by icrowley (2012-01-05 21:25:26+00:00)
Title: Fixed bug with params for actions that build new instances with namespaced models

Fixed bug with params for actions that build new instances with namespaced models

For example, I have a model Sub::Project and make the following call:
load_resource :instance_name => :project, :class => Sub::Project

when in the 'create' action CanCan waits for params[:project], no params[:sub_project]

This patch fixes it