Skip to content

Commit

Permalink
Guaranteed status can be converted to symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Sep 28, 2023
1 parent 4076d99 commit a5c503a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/validators/reapply_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def validate(record)
@record = record

# Do not validate if the record is in a reapliable status
return true if ApplicationStateChange::REAPPLY_STATUSES.include?(record.status.to_sym)
return true if ApplicationStateChange::REAPPLY_STATUSES.include?(record.status.to_s.to_sym)

# Skip validation if the application is blank - other validations cover this
return unless record.application_form_id.present? || record.course_option_id.present?
Expand Down

0 comments on commit a5c503a

Please sign in to comment.