title: Rails 3.1.3 unscoped scope
body: <p>I've seen a lot of posts regarding this, but none seem to solve my problem. I have a <code>default_scope</code> on a model like so:</p>
  
  <pre><code>default_scope where(:is_active =&gt; true).order('LOWER(table.name)');
  </code></pre>
  
  <p>I have other (normal) scopes, and I want to create an <code>inactive</code> scope using <code>unscoped</code>. I would like to define it as a scope, but it only works when defined as a class method:</p>
  
  <pre><code># works
  def self.inactive
    unscoped { where(:is_active =&gt; false) }
  end
  
  # none of these work
  scope :inactive, unscoped { where(:is_active =&gt; false) }
  scope :inactive, with_exclusive_scope { where(:is_active =&gt; true) }
  scope :inactive, unscoped.where(:is_active =&gt; false)
  scope :inactive, lambda { unscoped { where(:is_active =&gt; false) } }
  scope :inactive, unscoped { lambda { where(:is_active =&gt; false) } }
  unscoped do
    scope :inactive, where(:is_active =&gt; false)
  end
  </code></pre>
  
  <p>Is there a way that I missed, or do I have to use a class method to define this scope?</p>