lib/verdict/railtie.rb in verdict-0.8.0 vs lib/verdict/railtie.rb in verdict-0.9.0
- old
+ new
@@ -10,9 +10,10 @@
end
config.to_prepare do
# Clear Verdict's cache in order to avoid "A copy of ... has been removed from the module tree but is still active!"
Verdict.clear_repository_cache
+ Verdict.discovery
end
rake_tasks do
load File.expand_path("./tasks.rake", File.dirname(__FILE__))
end