Rails 4.0 and Devise With Strong Params and Custom Fields Discussion
You can use instead of
devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:email, :password, :password_confirmation, :full_name, :phone) }
This
devise_parameter_sanitizer.for(:sign_up) << :full_name, :phone
Thanks Rodrigo! Definitely a cleaner implementation because this way you're only adding fields.