lib/dsu/validators/entries_validator.rb in dsu-2.3.1 vs lib/dsu/validators/entries_validator.rb in dsu-2.3.2

- old
+ new

@@ -4,9 +4,10 @@ require_relative '../support/field_errors' # https://guides.rubyonrails.org/active_record_validations.html#validates-with module Dsu module Validators + # TODO: I18n. class EntriesValidator < ActiveModel::Validator include Support::FieldErrors def validate(record) unless record.entries.is_a?(Array)