Add example rails application

Remove the old Ruby example and adds one for Rails using the new gem.