Passing instance with button_to
<p>Pretty new to Ruby on Rails and reached my first road block I can't seem to figure out after some researching.</p>

<p>On my view, I am generating a button for each instance of "Newbie"</p>

<p>I would like to send the 'zendeskid' of each to my controller "giveticket"</p>

<p>So far, I have:</p>



<pre><code>  &lt;div class="container"&gt;
    &lt;div class="containertop"&gt;&lt;/div&gt;
        &lt;p&gt;&lt;%= newby.name %&gt;&lt;/p&gt;
        &lt;%= button_to "Give Ticket!", {:controller =&gt; "giveticket",:action =&gt; "new", :newby.zendeskid =&gt; @newby.zendeskid} %&gt;        
    &lt;/div&gt;
  &lt;/div&gt;
&lt;% end %&gt;
</code></pre>

<p>however, I am getting "undefined method `zendeskid' for :newby:Symbol"</p>

<p>Could someone please point me in the right direction - a bit stuck at the moment!  Thank you in advance.</p>