I would like to ask Ruby experts for explaination.
I can't use something like "foo-bar": true, but foobar: true works. Did anyone notice this? 
This works:
In new Ruby syntax we can replace this hash rocket:
<%= f.submit "Save", :class => "btn" %>
                     ^-------------^
with this
<%= f.submit "Save", class: "btn" %>
                     ^----------^
This doesn't:
Now, how about symbols with two words? This doesn't work - syntax error!
<%= f.submit "Save", "data-disable-with": "Saving..." %>
                     ^------------------------------^
 
     
    