-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
In lib/mongoid/railties/database.rake#get_mongoid_models, it finds all the models, including those that are subclasses of models including Mongoid::Document. Then in lib/rails/mongoid.rb#index_children it indexes those models, and their subclasses. So we end up with the subclasses getting done twice.