Is it possible to pass in the value of date1 into the method when the 
button is pressed? That way I wont have to find a way to reference 
everything in the controller. If so I can I change my button_to to 
reflect that?

<div>
<%= button_to "Create", action:"create"%>
</div>

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to