From: Tony Arcieri Date: 2009-04-05T03:47:40+09:00 Subject: Re: Loading classes in order --0016368e1f21a011830466bf1b9e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Fri, Apr 3, 2009 at 4:31 PM, Elias Orozco wrote: > Hey Inaki thanks, > > I think I'll have to go that way. I wonder if that is how rails does to > load classes when the server is initialize. I wandered around the > initializer file but couldn't get how it was done. Thanks again, > Look at Merb. Don't go the horrible ActiveSupport route. Merb's loader works somewhat similarly to what Inaki pasted, except it loops, retrying the failed files. If it loops through the failed files and no new ones are loaded it gives up. -- Tony Arcieri medioh.com --0016368e1f21a011830466bf1b9e--