Edited for Rails.  Changed client and remote server to Heroku apps