lib/model_discovery/discovery.rb in model_discovery-0.3.0 vs lib/model_discovery/discovery.rb in model_discovery-0.3.1
- old
+ new
@@ -24,10 +24,9 @@
end
end
if defined? Mongoid
Mongoid.models.each do |model|
- puts ">>>>>>>>>>>>>>>>>> ", model
ApplicationModels.find_or_create_by(model: model.to_s)
end
end
end