title: Ruby on Rails - Call controller method from a view
body: <p>Sorry, I have a Rails newbie question.  In my Rails application, how can I call a method defined in my controller from the view?  For example, let's say I wrote a custom method that retrieves stock information.  In my view, I want to have a regular HTML button, that upon clicking, will call my custom method and populate the stock results.  </p>
  
  <p>How is that done?  I've looked around and couldn't find a straightforward way to do this.  But I'm sure I'm missing something here.  </p>