ActiveRecord based polling system