Polling App in Rails