Add instructions for using with rails.

Fixes #1