This is the preferred way to do lambda scopes now (Rails 3.2)