title: How does one quickly access ruby and rails documentation when using vim?
body: <p>What method are vim users out there using to quickly access documentation for both ruby and rails  (other than switching to the browser to use <a href="http://www.ruby-doc.org/core/" rel="noreferrer">ruby-doc</a> or <a href="http://railsapi.com/" rel="noreferrer">railsapi</a>?).</p>
  
  <p>I was trying to adapt this script (<a href="http://vim.wikia.com/wiki/Online_documentation_for_word_under_cursor" rel="noreferrer">http://vim.wikia.com/wiki/Online_documentation_for_word_under_cursor</a>) to do the trick however it's only going to work if the cursor is over a class name and I'd like it to work with both class and methods.</p>
  
  <p>Thanks.</p>