Closed muxahu3bm closed 3 years ago
There is wrong working with multiple model's children. In the case when we defined:
has_snapshot_children do instance = self.class.includes(:comments, :notes).find(id) { comments: instance.comments, notes: instance.notes } end
The result will be contained only first instance relation - comments.
comments
Oh no that was a stupid mistake on my part. Thanks for updating the tests.
Merged. Thanks for your contribution!
v0.2.0 is now released which contains this fix.
There is wrong working with multiple model's children. In the case when we defined:
The result will be contained only first instance relation -
comments
.