title: How to escape a dash "-" in a Ruby symbol?
body: <p>I'm using jquery-mobile with Ruby On Rails.</p>
  
  <p>I want to create a button link which implies to have <code>data-role="button"</code> appear in the generated HTML. </p>
  
  <p>I've tried:</p>
  
  <pre><code>&lt;%= link_to "Play", game_play_path, :data-role =&gt; "button" %&gt;
  </code></pre>
  
  <p>But then, I get an error</p>
  
  <pre><code>undefined local variable or method `role' for #&lt;#&lt;Class:0x007fdc25668ee8&gt;:0x007fdc25658610&gt;
  </code></pre>
  
  <p>Is there a way to escape the dash using the <code>:xxx</code> notation or should I just use the <code>"xxx"</code> notation?</p>
  
  <p>(I agree it's a cosmetic question, but I want my code to be consistent and don't like exceptions)</p>