RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: rtacconi
Site: http://riccardotacconi.blogspot.com/
I am using:
CONFIG = YAML.load(File.read(File.join(File.dirname(__FILE__), 'application.yml')))[Rails.env]
It is one line not two and it does not use slashes for OS compatibility.
I would be nice to see a Rails setup using Chef and/or Puppet.
I am using:
It is one line not two and it does not use slashes for OS compatibility.
I would be nice to see a Rails setup using Chef and/or Puppet.