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