create key hash ruby code example Example: rails hash key variable id = 'some' { id => 'value' } # { 'some' => 'value' }