You're correct about moving the method definition above the
validation. That's necessary.
The other problem is that you've defined poll_statuses as an
*instance* method, but you're calling it as a *class* method. You need
to define it as:
def self.poll_statuses
...