For when you just need with_indifferent_access
. Stolen 100% from ActiveSupport.
Add this line to your application's Gemfile:
gem 'indifference'
And then execute:
$ bundle
Or install it yourself as:
$ gem install indifference
The gem is available as open source under the terms of the MIT License.