Skip to content

Commit

Permalink
Fixed regression: Newly created ObjectManager::Attribute::Validation …
Browse files Browse the repository at this point in the history
…breaks Spring because of already/auto loaded constants.
  • Loading branch information
thorsteneckel committed Mar 15, 2019
1 parent 4e07079 commit d5bf8a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/models.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def self.all
next if entry.match?(%r{observer/}i) next if entry.match?(%r{observer/}i)
next if entry.match?(%r{store/provider/}i) next if entry.match?(%r{store/provider/}i)
next if entry.match?(%r{models/concerns/}i) next if entry.match?(%r{models/concerns/}i)
next if entry.match?(%r{models/object_manager/attribute/validation/}i)


entry.gsub!(dir, '') entry.gsub!(dir, '')
entry = entry.to_classname entry = entry.to_classname
Expand Down

0 comments on commit d5bf8a5

Please sign in to comment.