app/controllers/twitter_apis_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 twitter_api_params
      params
        .require(:twitter_api)
        .permit(
          :handle
        )
    end
def twitter_api_params params . require ( :twitter_api ) . permit ( :handle ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .