> Rails comes with 3 development environments already ready to go, look
> database.yml.  In development and testing, all classes are always
> reloaded.

This does not seem to be true. In my example above, if a class does not 
derive from ActiveRecord::Base it preserves its class attributes between 
requests, a plausible explanation being that it's NOT in fact reloaded.

>In production they are always cached.  How is this not
> exactly what you want?  :)
Very simple. I only would like to be reloading the classes that I'm 
currently messing with. Reloading all the classes is a waste of time.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to