modify for use in rails
add instructions for Rails in README