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

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.