Commit 2a68698c70063b7cbf11420a2a58047777f161f0

Authored by AntonioTerceiro
1 parent 43636252

ActionItem154: loading all models on configure time caused problems with ferret'…

…s Drb server in production mode. All tests pass, but I don't know yet if we are going to have problems.


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1429 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
config/environment.rb
@@ -86,7 +86,3 @@ require 'acts_as_having_boxes' @@ -86,7 +86,3 @@ require 'acts_as_having_boxes'
86 require 'acts_as_having_settings' 86 require 'acts_as_having_settings'
87 require 'hacked_after_create' 87 require 'hacked_after_create'
88 88
89 -# to the hell, I want all my models loaded before the application run anything  
90 -Dir.glob("#{RAILS_ROOT}/app/models/*.rb").each do |model|  
91 - require_dependency model  
92 -end