(article restored from a previous version)
YAML (rhymes with "camel") is a readable text format for data structures.
YAML and Rails:
More info:
Create your own YAML configuration file:
require 'yaml'class ApplicationController < ActionController::Base
# Your code here… def configure_app @config = YAML::load(File.open(“#{RAILS_ROOT}/config/config.yml”)) end
before_filter :configure_append