1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport
David Lee 099eb2b3fd indifferent access should recurse Hash subclasses
This commit makes Hash subclasses convert to HWIA by default for nested
objects of subclasses of Hash, but allows certain subclasses to prevent nested
conversion by introducing Hash#nested_under_indifferent_access that subclasses
can overwrite.

ActiveSupport::OrderedHash is one such subclass that overwrites
+nested_under_indifferent_access+, since implicitly converting it to HWIA would
remove the ordering of keys and values in Ruby 1.8.

This change is necessary because commit ce9456e broke nested indifferent access
conversion for all subclasses of Hash.
2011-05-08 03:40:51 -07:00
..
bin Fix failing test case on master 2011-04-10 22:40:21 -07:00
lib indifferent access should recurse Hash subclasses 2011-05-08 03:40:51 -07:00
test indifferent access should recurse Hash subclasses 2011-05-08 03:40:51 -07:00
activesupport.gemspec Relax this dependency a bit. 2011-05-04 19:30:23 +02:00
CHANGELOG Add String#inquiry as a convenience method for turning a string into a StringInquirer object [DHH] 2011-04-18 10:57:38 +02:00
MIT-LICENSE We're in 2011, let's update our license 2011-02-22 18:24:20 -02:00
Rakefile Rakefiles are executables, and rake loads rake, not rakefile code 2010-11-25 06:49:55 +08:00
README.rdoc "SSL everywhere" for GitHub URLs 2011-03-07 05:56:02 +09:00

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with Rubygems:

  % [sudo] gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/activesupport/


== License

Active Support is released under the MIT license.


== Support

API documentation is at

* http://api.rubyonrails.com

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets