ruby4: use Ruby 1.9 or later Hash literal syntax for symbol keys

key_value helper had been removed from Rails.