hakanensari/mongoid-slug — Issue #46: Relation lost on HABTM when using model.only
Author: jasonprins
Created: 2012-02-02 09:28:17+00:00
State: open

An issue with Mongoid, but I discovered this using model.only, not requesting :slug, and thus the slug got recreated and this also recreated the relation array.

See here:
https://github.com/mongoid/mongoid/issues/1662