projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into 4383-easy-install
[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