[Rails] Rails examples
Tim Bates
tim at bates.id.au
Fri Nov 26 05:31:11 GMT 2004
Gavin Sinclair wrote:
> Can you explain the changes that are being made? How can FastCGI be a
> development environment? How can Webrick be made to go faster? Just
> for interest's sake.
The framework will reload any models and controllers used (rather than
using 'require') so any changes made to the code will be seen, but
without having to restart the interpreter, reparse all the framework and
library code, or re-establish the database connection. This makes
"development mode" almost as fast as production FCGI or webrick -c, as
opposed to developing against CGI or restarting the server on every
change to the code. This feature can be turned off for the production
installation proper, to get the maximum speed.
Tim.
--
Tim Bates
tim at bates.id.au
More information about the Rails
mailing list