Sha256: 23f7021ce943688bdf6cb6c7ba81859bcaa051d34cd93d198056833f6da9824c

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

= Список изменений в версиях

== v.1.2.0

* Rebinding algorithm was changed. Now the links saved AFTER the second record
  destroyed.

=== Why (example)

Suppose we have named items and their synonyms:
* a synonym can be identical to the item (item "John" can have both "JONH" and
  "John" in synonyms).
* a synonym cannot be equal to another item's name (if the "John" item
  exists, the "John" cannot be added as a synonym to the "john" item).

Right algorithm of rebinding is:
* at first, the "John" synonym linked to the "john" item without saving to db;
* then the "John" item is deleted;
* at last, the "John" synonym (linked to "john" item) is saved to db.

== v.1.1.0

* Skipping validation added

== v.1.0.4

* The gem is allowed to use with rails 4.1

== v.1.0.2

* Documentation bug fixed. References to the <tt>#merge</tt> changed to the <tt>#merge_all</tt>

== v.1.0.1

* The <tt>Service#klass</tt> and <tt>Service#klasses</tt> methods removed
* The <tt>Service</tt> class includes <tt>ActiveModels::Validations</tt>
* The <tt>Service#valid?</tt> method added
* Service object errors collected in the <tt>Service#errors</tt>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_merge-1.2.1 CHANGELOG.rdoc
active_merge-1.2.0 CHANGELOG.rdoc