Browse Source

Fixed regression: Newly created ObjectManager::Attribute::Validation breaks Spring because of already/auto loaded constants.

Thorsten Eckel 6 years ago
parent
commit
d5bf8a533c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/models.rb

+ 1 - 0
lib/models.rb

@@ -35,6 +35,7 @@ returns
         next if entry.match?(%r{observer/}i)
         next if entry.match?(%r{store/provider/}i)
         next if entry.match?(%r{models/concerns/}i)
+        next if entry.match?(%r{models/object_manager/attribute/validation/}i)
 
         entry.gsub!(dir, '')
         entry = entry.to_classname