Popular Hash Programming Tips
Convert a complex nested hash to an object
Dom
·
4 responses
·
ruby, json, hash, object
Convert Ruby hash keys to symbols
Bashir Eghbali
·
1 response
·
rails, hash
Extract key/value pairs from a hash in ruby using an array of keys.
Mike Kelley
·
2 responses
·
ruby, keys, hash, array
Count duplicate elements in ruby array (Ruby 1.9+)
Frank Wambutt
·
0 responses
·
ruby, hash, array, enumerable
Rename Hash keys
Gus Bonfant
·
0 responses
·
ruby, hash, iteration
Deleting nested hashes
Gus Bonfant
·
0 responses
·
ruby, rails, hash
Ruby hashes and "try"
Marc Anguera Insa
·
1 response
·
ruby, rails, hash
Node.js - Create strong password hashes with this function
Sebastian Schepis
·
1 response
·
hash, javascript, nodejs, crypto
Ruby - Instantiate Hash from Array
Andrew Hunter
·
1 response
·
ruby, hash, array
Start interactive commit messages with # (Hash)
Kerem Bozdas
·
0 responses
·
commit, interactive, hash, git
Diving into ruby hashes
Elad Meidar
·
2 responses
·
ruby, tip, hash, default
Mapping a Hash key in Mac OS X
Michael Baird
·
0 responses
·
terminal, keyboard, apple, os x
Read nested object property ( t('a.b.c') ) via string in JS
George
·
0 responses
·
attributes, keys, hash, helper
Using Gravatar in an App (Python)
bt3gl
·
0 responses
·
python, gravatar, hash, mariwahl
Access data from a hash via dot notation.
Rob Guilfoyle
·
0 responses
·
ruby, hash, data
Configuring DataMapper with a YAML file
Leandro Guida
·
2 responses
·
ruby, hash, yaml, datamapper
Efficient way to protect a password on a database
Ioan CHIRIAC
·
4 responses
·
php, security, hash, password
Symbolized Hash With Indifferent Access
Tamer Shlash
·
0 responses
·
ruby, hash, indifferentaccess, symbols
Easy MD5/SHA1 Hashes in RubyMotion
Tom Milewski
·
0 responses
·
ruby, hash, ios, digest
Ruby Core Extends
thomas petrachi
·
5 responses
·
ruby, rails, hash, array
Hash passwords securely
Martin Janeček
·
0 responses
·
php, security, hash, passwords
Hash value inheritance
Stevenson Jean-Pierre
·
0 responses
·
ruby, hash, lookup
Default value of hash (with nice examples)
Sławosz
·
0 responses
·
ruby, trick, hash, array
Nested ruby hashes w/o needing ||=
James Brooks
·
0 responses
·
ruby, hash
Change all ruby 1.8 hashes to 1.9
Sławosz
·
0 responses
·
ruby, sed, hash
Recent Activity
Ruby - Instantiate Hash from Array
Andrew Hunter
·
ruby, hash, array
Symbolized Hash With Indifferent Access
Tamer Shlash
·
ruby, hash, indifferentaccess, symbols
Convert a complex nested hash to an object
Dom
·
ruby, json, hash, object
Recursive Hash Reduce, merging hashes while summing its values.
Lucas Neves Martins
·
ruby, hash, reduce, sum
Access data from a hash via dot notation.
Newest
Hash
protips
Rob Guilfoyle
·
ruby, hash, data
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#
Coderwall Dev Community
Explore the all-time favorite tutorials, design patterns and engineering guides that thousands of readers keep sharing and coming back to, year after year.
These proven techniques, reusable code samples, programming tips and vibe coding habits earned their place through steady views and member likes.
Each entry here is still useful today, covering programming languages, frameworks and workflows that stay relevant long after they were first published.
Whether you're new to a tech stack or an experienced engineer refreshing your skills, start with the most useful tips our dev community members recommend and build on solid, well-tested coding knowledge.