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