#hash
2 posts tagged hash. Clear filter
-
Rails Style Params in Python and Flask
Ruby on Rails does a great job of parsing arrays in form data and populating a params hash, for quick and easy access in your controllers. For instance <input name="item[]" value="item 1"/ <input...
-
How to Merge a YAML File Into a Single Hash in Ruby
require 'yaml' Nested YAML structure from something-nested.yml nested: key: value keytwo: valuetwo Procedural Approach to building a single Hash from nested YAML data structure. @yaml =...