Skip to content

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

Open
cgat wants to merge 1 commit into
RailsApps:masterfrom
cgat:master
Open

Devise 3.0 requires the "sign_up_params" parameter to be passed to the build_resource method in create method#48
cgat wants to merge 1 commit into
RailsApps:masterfrom
cgat:master

Conversation

@cgat

@cgat cgat commented Jul 16, 2013

Copy link
Copy Markdown

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant