From d92d87b643c8430437d76bbbf059a7d488b2d0dc Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Sat, 21 Jul 2018 12:12:29 -0400 Subject: [PATCH] fixing bug --- app/controllers/categories_controller.rb | 1 - lib/tasks/data.rake | 7 ------- 2 files changed, 8 deletions(-) diff --git a/app/controllers/categories_controller.rb b/app/controllers/categories_controller.rb index 0ea50dfb..9789a4e3 100644 --- a/app/controllers/categories_controller.rb +++ b/app/controllers/categories_controller.rb @@ -84,6 +84,5 @@ class CategoriesController < ApplicationController # Never trust parameters from the scary internet, only allow the white list through. def category_params params.require(:category).permit(:name, :blurb, :description, :external_id, :parent_category_id) - raise params.inspect end end diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake index 2d70f0f9..1d2b5496 100644 --- a/lib/tasks/data.rake +++ b/lib/tasks/data.rake @@ -9,13 +9,6 @@ # rake data:load_responses # sudo heroku run:detached rake data:load_responses -a mciea-beta --size performance-l -Access Key ID: -AKIAIU4VEKWV23W2WKSQ -Secret Access Key: -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 - -sudo heroku pg:backups:restore 'https://s3.amazonaws.com/irrationaldesign/latest.dump' DATABASE_URL -a mciea-beta - # Add: # # Category: unique_external_id (string)