On Oct 6, 2010, at 1:38 PM, Skott Klebe wrote:

> Hi, everyone.
> 
> I was wondering whether the group had any tips on speeding up response
> times while in dev mode.
> Someone mentioned the ModelRouter reload_routes initializer sometime
> back. Any other tips like that?
> 
> We had a case here where a dev renamed a table I wasn't using and the
> framework coughed on my machine because it couldn't find a table
> corresponding to the model.rb.  This suggests to me that the framework
> must validate every model file on every request.  I'd love to turn
> that off, for instance, if there's a way to do that.

That's actually Rails reloading every model class after every request. It's WAY 
better (despite the slowdown) than the old methods, which had a nasty habit of 
causing really weird bugs when parts of the system were unloaded but not 
others...

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to