title: Style rails button_to
body: <p>I have a button:</p>
  
  <pre><code>&lt;%= button_to "Unsubscribe",  cancel_subscription_path, method: :post, data: { confirm: "Are you sure?" } %&gt;
  </code></pre>
  
  <p>and am trying to add styles to this button.</p>
  
  <p>I tried </p>
  
  <pre><code>&lt;%= button_to "Unsubscribe",  cancel_subscription_path, method: :post, data: { confirm: "Are you sure?" }, {class:"myClass"} %&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;%= button_to "Unsubscribe",  {cancel_subscription_path, method: :post, data: { confirm: "Are you sure?" }}, {class:"myClass"} %&gt;
  </code></pre>