title: Can I get the name of the current controller in the view?
body: <p>Is there a way to figure out what the current controller is from within the view?</p>
  
  <p>For an example of why I would want to know this: if several controllers share the same layout, I may have a part in the layout ERB file where I want to highlight the current page's menu item based on the controller.</p>
  
  <p>Maybe that is a bad approach. If so, what is the more preferred way to do this?</p>
  
  <p>I'm interested to know about getting the name of the current controller either way, though.</p>
  
  <p>(Obviously I could put something like <code>@controller_name = 'users'</code> in each controller; but that seems like the sort of thing Rails would've already done behind the scenes. So I'm just wondering if there's a built-in way.)</p>