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