set config.eager_load to false in config/environments/development.rb and true in production.rb