Tag Archives: code

Example code for storing environment-specific configuration variables in rails

Here’s some example code I’ve used for storing configuration variables using Ruby on Rails. This code allows for defaults as well, so you only have to specify variables per environment if they override the default value. This first file should … Continue reading

Posted in code, programming, rails, ruby on rails | Tagged , , | 1 Comment