One more answer to your question for clarification- we are not removing 
constants in our app ourselves- that is just something I was doing in the 
console and noticed earlier in the thread. It was a coincidence that I 
happened to see that, as seems to often be the case with me over the past 
year or two.

I could try to add some trace code to see what is calling remove_const 
or ActiveSupport::Dependencies.remove_constant maybe.

Looking at local passenger-enterprise-server-4.0.37 gem code and grep 
-r'ing for remove_const I see references in Boost header (.hpp) files but 
the .rb references aren't anything related to this, so unless it is 
something else, I think that maybe it is a Rails 4.0.2 issue when running 
under passenger-enterprise-server-4.0.37 with lots of models and 
interrelations via associations, etc.

On Friday, February 21, 2014 10:42:24 AM UTC-5, Gary Weaver wrote:
>
>
>
> On Friday, February 21, 2014 10:31:10 AM UTC-5, Xavier Noria wrote:
>>
>> In production mode Rails is not supposed to remove constants.
>>
>> What is removing constants?
>>  
>>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to