Sha256: a61c4f848acdff4e34d3b1bdd843de9813f21f24c2c3392be2ed61de6fb4defb
Contents?: true
Size: 297 Bytes
Versions: 4
Compression:
Stored size: 297 Bytes
Contents
class Post < ActiveRecord::Base include ActiveSnapshot has_many :comments has_many :notes has_snapshot_children do instance = self.class.includes(:comments, :notes).find(id) { comments: instance.comments, notes: instance.notes, nil_assoc: nil, } end end
Version data entries
4 entries across 4 versions & 1 rubygems