title: Ruby: how to use/turn multi-word strings into symbols
body: <p>Most hash keys are single word names. Let's use movie names and ratings as an example. That's easy to make a symbol:</p>
  
  <p><code>my_hash = { Ferris_Bueller: 5}</code></p>
  
  <p>What if I don't want to use an underscore in my key name, but need that string as a symbol?
  I thought of doing this, but it doesn't work:</p>
  
  <p><code>my_hash = { "Ferris Bueller": 5}</code></p>
  
  <p>The issue is, I'm trying to prompt the user to name a movie, rate it, then add those values as a key/value pair in <code>my_hash</code>. People will input two-word movies normally, without the underscore. How do I get that key to store in the hash as a symbol? I.e.:</p>
  
  <p><code>puts "Name a movie:"
   name = gets.chomp
   puts "Rate it 1-5:"
   rating = gets.chomp
   my_hash[name.to_sym] = rating</code></p>
  
  <p>The user types a two-word movie, such as <code>Robo Cop</code>. Why wont this work?</p>