plataformatec/devise — pull request #1853 by adzap (2012-05-15 08:14:41+00:00)
Title: Add resource_params controller method as helper to allow overriding params used to build resource 

In light of recent discussions around mass assignment security and the alternate solution of using the controller to filter params, not the model, a hook/helper is needed to be able to override how the params are filtered before they are used to build the resource.

I am using the Rails brand strong_parameters and have no nice way to override the resource building without Devise controller hacks.