mongoid/mongoid — Issue #1676: Eager loading not working with default_scope
Author: behrangsa
Created: 2012-02-05 09:06:15+00:00
State: open

Looks like the default_scope in this example is a no-op:

```ruby
class Post
include Mongoid::Document

default_scope includes(:tags)

field :title, type: String

has_many :tags

validates_presence_of :tags
end

class Tag
include Mongoid::Document

field :title, type: String

belongs_to :post
end
```