Simple rails-based polling program.