web9.0 wrote:> Hi, I''m developing a Rails app and I''ve seen observed a
different
> behaviours and results when I run it in dev or in production mode. Could
> you please indicate some pointers to a list of differences in
> environment and things that could change between development and
> production mode?
>
> thank you.
look at the files in /config/environments/ that is where the
configurations and settings for each environment sit. They show what
the differences are.
For instance:
Developemnt
config.cache_classes = false
Production
config.cache_classes = true
This means that all files are reloaded form the disk on every request in
development mode, and during production the classes are loading and
cached in memory.
These files are all that separate the application modes, you can even
create your own environments.
--
Posted via http://www.ruby-forum.com/.