Ruby on Rails app to provide a leaky bucket service