Skip to content
Browse files

Fixed regression: Newly created ObjectManager::Attribute::Validation …

…breaks Spring because of already/auto loaded constants.
  • Loading branch information...
thorsteneckel committed Mar 14, 2019
1 parent 4e07079 commit d5bf8a533c27ac2ed91edaa53b24d0795eca91b7
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/models.rb
@@ -35,6 +35,7 @@ def self.all
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

0 comments on commit d5bf8a5

Please sign in to comment.
You can’t perform that action at this time.