config/initializers/iqvoc.rb in iqvoc-4.1.3 vs config/initializers/iqvoc.rb in iqvoc-4.2.0

- old
+ new

@@ -29,7 +29,13 @@ ##### INSTANCE SETTINGS ##### # initialize non-dynamic settings below # see lib/iqvoc.rb for the list of available setting +Rails.configuration.after_initialize do + if Iqvoc::Concept.note_class_names.empty? + raise(TypeError, "note_class_names misconfiguration: must not be empty") + end +end + unless Rails.env.test? end