From 16a3bad453fb15efb33bb024416d9704dff99661 Mon Sep 17 00:00:00 2001 From: Thomas Hille Date: Tue, 21 Feb 2017 13:35:50 +0100 Subject: [PATCH] renaming method --- app/models/proxy_exercise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/proxy_exercise.rb b/app/models/proxy_exercise.rb index 82825bda..f9746c71 100644 --- a/app/models/proxy_exercise.rb +++ b/app/models/proxy_exercise.rb @@ -24,7 +24,7 @@ class ProxyExercise < ActiveRecord::Base title end - def selectMatchingExercise(user) + def getMatchingExercise(user) assigned_user_proxy_exercise = user_proxy_exercise_exercises.where(user: user).first recommendedExercise = if (assigned_user_proxy_exercise)