diff --git a/app/models/case_log.rb b/app/models/case_log.rb index 167925e8e..876e42766 100644 --- a/app/models/case_log.rb +++ b/app/models/case_log.rb @@ -21,7 +21,7 @@ class CaseLogValidator < ActiveModel::Validator # we want to validate all data fields. question_to_validate = options[:previous_page] if question_to_validate && respond_to?("validate_#{question_to_validate}") - public_send("validate_#{question_to_validate}", record) + public_send("validate_#{question_to_validate}", record) else # This assumes that all methods in this class other than this one are # validations to be run