> this fix, which is a uber hack, shows quite clearly the bug - i'm
> *really* curious if anyone else has seen this behaviour

This has been reported a few times before, but given that it only
happens during the initial requests, it's less likely to be noticed.
> in case it isn't obvious this simply shows that rails const loading
> mechanism is not triggered from a Marshal.load, which makese sense
> actually....

Yeah, marshal doesn't trigger any of the const_missing hooks that we
rely on for dependency loading.  There's not a lot we can do here.

> thoughts?

If you're using 2.2 or later the preloading of classes and templates
will catch 99.999% of this now as all files in lib/ app/models and
app/controllers are required before the first request is processed.

-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to