Saturday, March 7, 2009

Rails: Where to put our initialization stuff

In our applications we sometimes need to initialize global vars or rails predefined values. Whenever we want to do that, we just need to create files in the directory


instead of messing with the environment.rb file.

Source: Ryan's Scraps: What's New in Edge Rails: Stop Littering In Your Environment File

No comments: