Roman2K / rails-dev-boost
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Nov 23 14:31:52 -0800 2008 | |
| |
LICENSE | Sat Jan 24 16:46:20 -0800 2009 | |
| |
README.mdown | Sat Dec 13 15:48:14 -0800 2008 | |
| |
TODO.txt | Sat Dec 27 11:33:35 -0800 2008 | |
| |
init.rb | Mon Nov 24 05:16:21 -0800 2008 | |
| |
lib/ | Fri Feb 20 08:20:59 -0800 2009 | |
| |
test/ | Sun Feb 15 08:02:17 -0800 2009 |
RailsDevelopmentBoost
Alternative to Josh Goebel's rails_dev_mode_performance plugin.
Background
Why create a similar plugin? Because I couldn't get Josh Goebel's to work in my projects. His attempts to keep templates cached in a way that fails with recent versions of Rails. Also, removing the faulty chunk of code revealed another issue: it stats source files that may not exist, without trying to find their real path beforehand. That would be fixable is the code wasn't such a mess (no offense).
I needed better performance in development mode right away, so here is an alternative implementation.
Usage
script/plugin install git://github.com/Roman2K/rails-dev-boost
When the server is started in development mode, the special unloading mechanism takes over.
It can also be used in combination with RailsTestServing for even faster test runs by forcefully enabling it in test mode. To do so, add the following in config/environments/test.rb:
def config.soft_reload() true end if RailsTestServing.active?
Credits
Written by Roman Le Négrate (contact). Released under the MIT-license: see the LICENSE file.
