开发者

Speeding up the rails 3 development server

开发者 https://www.devze.com 2023-01-15 08:19 出处:网络
Now that Rails 3 is out, my favorite dev-mode plugin (rails-dev-boost) is broken. I\'m working on a large application (>100 models and controllers) and loading them all every request takes more than t

Now that Rails 3 is out, my favorite dev-mode plugin (rails-dev-boost) is broken. I'm working on a large application (>100 models and controllers) and loading them all every request takes more than ten seconds. I could turn config.cache_classes on, but then I might as well开发者_高级运维 run in production mode since I have to restart the server every change.

Is there something out there that could speed this up?


That plugin owner (rails-dev-boost) is working on getting it running with rails3, so hopefully soon!

I sure wish rails did that kind of stat-optimization out of the box!

https://github.com/thedarkone/rails-dev-boost

Here's the link to the rail3 branch (might disappear if/when the updates are moved into the core release) https://github.com/thedarkone/rails-dev-boost/tree/rails3

0

精彩评论

暂无评论...
验证码 换一张
取 消