How to open the doc file for a vim plugin?
After installing a new help file into ~/.vim/doc, you need to rebuild the help tags file:
:helptags ~/.vim/doc
Then your :help rails
command should work.
garyjohn's answer is right, but I just want to mention that pathogen provides an easy way to run helptags for each plugin (note the case):
:Helptags