lib/rom/changeset/associated.rb in rom-changeset-1.0.0.beta3 vs lib/rom/changeset/associated.rb in rom-changeset-1.0.0.rc1

- old
+ new

@@ -51,9 +51,15 @@ # @api public def commit command.call end + # Associate with other changesets + # + # @see Changeset#associate + # + # @return [Associated] + # # @api public def associate(other, name = Associated.infer_assoc_name(other)) self.class.new(left, associations: associations.merge(name => other)) end