Hashie was created to aid developers that often rely on URL hashes to control what content gets loaded on the page or which develop on a daily basis SPAs (single-page applications).
Hashes or hashtags allow the user to detect a slight change in the page's content, usually triggered by new content loaded via AJAX that doesn't change the page entirely.
Working with hashes can be quite cumbersome, but the Hashie library provides a simple, very-well documented way of doing so.
The library is broken up into smaller extensions which can be loaded based on what your hashes need to do.
Hashie supports hash coercion rules, hash remapping, URL hash parsing, and many other more.
What is new in this release:
- Added #extractable_options? so ActiveSupport Array#extract_options! can extract it.
- Added ability to define defaults based on current hash.
- Added block support to indifferent access #fetch.
- Added support for conditionally required Hashie::Dash attributes.
- Added block support to Extensions::DeepMerge.
- Added public utility methods for stringify and symbolize keys.
- Fixed handling of default proc values in Mash.
- Fixed bug where Dash.property modifies argument object.
- Fixed #stringify_keys and #symbolize_keys collision with ActiveSupport.
- SafeAssignment will now also protect hash-style assignments.
- Methods such as abc? return true/false with Hashie::Extensions::MethodReader.
- Inherit key coercions.
What is new in version 3.4.2:
- Added #extractable_options? so ActiveSupport Array#extract_options! can extract it.
- Added ability to define defaults based on current hash.
- Added block support to indifferent access #fetch.
- Added support for conditionally required Hashie::Dash attributes.
- Added block support to Extensions::DeepMerge.
- Added public utility methods for stringify and symbolize keys.
- Fixed handling of default proc values in Mash.
- Fixed bug where Dash.property modifies argument object.
- Fixed #stringify_keys and #symbolize_keys collision with ActiveSupport.
- SafeAssignment will now also protect hash-style assignments.
- Methods such as abc? return true/false with Hashie::Extensions::MethodReader.
- Inherit key coercions.
What is new in version 3.4.1:
- Added #extractable_options? so ActiveSupport Array#extract_options! can extract it.
- Added ability to define defaults based on current hash.
- Added block support to indifferent access #fetch.
- Added support for conditionally required Hashie::Dash attributes.
- Added block support to Extensions::DeepMerge.
- Added public utility methods for stringify and symbolize keys.
- Fixed handling of default proc values in Mash.
- Fixed bug where Dash.property modifies argument object.
- Fixed #stringify_keys and #symbolize_keys collision with ActiveSupport.
- SafeAssignment will now also protect hash-style assignments.
- Methods such as abc? return true/false with Hashie::Extensions::MethodReader.
- Inherit key coercions.
Comments not found