4 ms·
The Spork caveat is mentioned in the book (http://ruby.railstutorial.org/chapters/static-pages#code:rspec_drb http://ruby.railstutorial.org/chapters/static-page
by mhartl 15y ago
The Spork caveat is mentioned in the book (http://ruby.railstutorial.org/chapters/static-pages#code:rspec_drb http://ruby.railstutorial.org/chapters/static-pages#code:rsp...):
One word of advice when using Spork: after changing a file included in the prefork loading (such as routes.rb), you will have to restart the Spork server to load the new Rails environment. If your tests are failing when you think they should be passing, quit the Spork server with Control-C and restart it.
That doesn't mean you won't end up on Stack Overflow, though. I end up there all the time myself, and I wrote the damn thing.
- kiba 15y agoThat doesn't mean you won't end up on Stack Overflow, though. I end up there all the time myself, and I wrote the damn thing. If that was eliminated, than spork would be an absolute no brainer.