rails-prelaunch-signup icon indicating copy to clipboard operation
rails-prelaunch-signup copied to clipboard

Devise 3.0 requires the "sign_up_params" parameter to be passed to the build_resource method in create method

Open cgat opened this issue 11 years ago • 0 comments

In create method, changed "build_resource" to "build_resource(sign_up_params)", otherwise, the resource is built without an email address. I'm using devise 3.0, it's registration controller does the same thing.

cgat avatar Jul 16 '13 02:07 cgat