mercadito_api/app/controllers/api/v1/users_controller.rb
#Only allow a trusted  parameter "white list" through.
Only allow a trusted  parameter "white list" through.
Only allow a trusted parameter " white list " through .
def user_params
    params.require(:user).permit(:email, :password)
  end
def user_params params . require ( :user ) . permit ( :email , :password ) end
Only allow a trusted  parameter "white list" through.
Only allow a trusted parameter " white list " through .