title: How to specify a Rails 3 scope.limit - with an offset?
body: <p>So I have some posts, and would like to show <em>n</em>..<em>m</em> most recent entries in the sidebar (these numbers being set in a config)</p>
  
  <p>I can get the latest <em>n</em> records easily enough</p>
  
  <pre><code>class Post &lt; ActiveRecord::Base
    default_scope :order =&gt; "created_at DESC"
    scope :published, lambda { where("blog_entries.created_at &lt;= ?", Time.zone.now) }
    scope :latest, lambda { |n| published.limit(n) }
  end
  
  @posts = Post.latest(6)
  </code></pre>
  
  <p>But what I'd like is</p>
  
  <pre><code>@posts = Post.published.limit(6, 12)
  </code></pre>
  
  <p>but this gives <code>wrong number of arguments</code>, so is there any way in AR? Right now I'm playing with <code>will_paginate</code>, but it seems hacky to use it for this.</p>