title: Rails submit button: How do I have button run a certain method when clicked?
body: <p>I'm learning how to build rails applications and I still do not fully understand how to make buttons do stuff. How do I make a particular method run using the attributes supplied in a form? </p>