projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
3147: PySDK tests use mock>=1.0 and easier mock side_effect.
[arvados.git]
/
services
/
api
/
config
/
initializers
/
zz_preload_all_models.rb
1
# See http://aaronvb.com/articles/37-rails-caching-and-undefined-class-module
2
3
if Rails.env == 'development'
4
Dir.foreach("#{Rails.root}/app/models") do |model_file|
5
require_dependency model_file if model_file.match /\.rb$/
6
end
7
end