diff --git a/app/models/case_log.rb b/app/models/case_log.rb index 7b6b9fdc1..ffe5e5397 100644 --- a/app/models/case_log.rb +++ b/app/models/case_log.rb @@ -15,7 +15,7 @@ class CaseLogValidator < ActiveModel::Validator public_send("validate_#{question_to_validate}", record) end else - validation_methods = public_methods.select { |method| method.starts_with?("validate") } - [__callee__] + validation_methods = public_methods.select { |method| method.starts_with?("validate_") } validation_methods.each { |meth| public_send(meth, record) } end end