[Rails] Rails examples

Sascha Ebach se at digitale-wertschoepfung.de
Fri Nov 26 11:30:18 GMT 2004


Hi Tim,
Tim Bates wrote:
> 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.

That sounds great. That is what Cerise does. When I used Cerise I ran 
into a problem though. When using Constants within your code you cannot 
redefine them. Since the code only gets reevaluated. Did you fin any 
solution to that?

-- 
Sascha Ebach


More information about the Rails mailing list