# File lib/merb/orms/active_record/connection.rb, line 37 def configurations @configurations ||= begin #A proc that will recursively intern(a.k.a symbolize) the keys of the hash intern_keys = lambda { |x| x.inject({}) do |y, (k,v)| y[k.to_sym || k] = v.is_a?(Hash) ? intern_keys.call(v) : v y end } intern_keys.call(Erubis.load_yaml_file(config_file)) end end