title: Check if state is past another state in aasm?
body: <p>Suppose there is an object with 4 states</p>
  
  <pre><code>:new
  :in_process
  :done
  :verified
  </code></pre>
  
  <p>There is also a method that should only be executed when the object is in a state greater than <code>:in_process</code></p>
  
  <p>How do I go about doing this check? I thought it might be something </p>
  
  <pre><code>def some_action
    return unless my_object.state &gt; :in_process
    #do some work
  end
  </code></pre>
  
  <p>But that just compares the strings. </p>
  
  <p>Am I missing something or is there an actual way of performing a check like this?</p>
  
  <p>Thanks.</p>