Archive for July, 2011
Saturday, July 16th, 2011
Adding an application config file to a rails project
Recently I worked on a project where I needed certain config variables for staging, production, test etc and I wanted to store all these in a yaml file. I could set them in the different environments files but I prefer them all in one file. Create a file in the config/initializers .. I called it [...]
2 Comments » - Posted in Ruby,Ruby On Rails by nola
Sunday, July 10th, 2011
Practicing Ruby with RailsCasts
I recently went on a small vacation and finally had some time to catch up on some railscasts! I like to setup a project and "play along" with Ryan Bates and pause/play and work through the examples. With all my experimentation/playing I keep a git repo at http://github.com/rubygeek/rubygeek where I keep code for reference later. [...]
