title: Error in Ruby Mine - Synthax Error?
body: <p>ruby mine pop out a error for this line of code:</p>
  
  <pre><code>scope :to_activate, -&gt; {where("start_date &lt; ? AND active = 0", DateTime.now)}
  </code></pre>
  
  <p>error is on the -></p>
  
  <p>Message is:</p>
  
  <pre><code>Exception: expression
  </code></pre>
  
  <p>whats wrong in this line?</p>