If I already have a hash, can I make it so that
h[:foo] h['foo']
match? (is this called indifferent access?)
Details: I loaded this hash using the following in initializers , but probably shouldn't matter:
SETTINGS = YAML.load_file("#{RAILS_ROOT}/config/settings.yml")
ruby ruby-on-rails ruby-on-rails-3
Sarah W May 02 '11 at 19:29 2011-05-02 19:29
source share