Polling app on Rails