title: How do to connect a model & controller to button in view
body: <p>I have an existing Ruby On Rails, which works fine (I inherited it).</p>
  
  <p>I need to add some functionality to the application and I built a model and controller and I want a button press to route to the controller.</p>
  
  <p>I figure I need to do something like:
      &lt;%= form_tag(url_for(:controller => "do_something", :action => "sup"), ...</p>
  
  <p>I have a controller that looks like:
      class DoSomething &lt; ApplicationController
         ...
      end</p>
  
  <p>How do I tell the framework that pushing that button fires the controller?</p>