-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Looks like the default_scope in this example is a no-op:
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