From ec68be043e7595b7f7eed586e64c767f3f8c173e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czkewei19=E2=80=9D?= Date: Fri, 15 Mar 2024 12:30:18 -0400 Subject: [PATCH] test ralis cache --- app/controllers/exercises_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/exercises_controller.rb b/app/controllers/exercises_controller.rb index 6daa6029..c226384e 100644 --- a/app/controllers/exercises_controller.rb +++ b/app/controllers/exercises_controller.rb @@ -32,7 +32,7 @@ def show_exercise render file: "exercises/Jsparson/exercise/simple/#{step}", locals: { external_id: get_external_id(step) } end - + # def get_external_id(step) full_name = "parsons_#{step}" exercise = Exercise.where('name LIKE ?', "%#{full_name}%").first.reload