howaboutwe/experimental

View on GitHub
lib/generators/experimental/templates/experimental.rb

Summary

Maintainability
A
0 mins
Test Coverage
#Load the population classes
#Rails lazy loads and since they are never explicitly referenced, they don't get loaded
#Deleting this file causes failures when running individual specs
Dir[File.join(Rails.root, 'app/models/experimental/population/*.rb')].each do |f|
  require f
end