Clowne v1.1.0 Release Notes
Release Date: 2019-03-20 // about 5 years ago-
โ Added
after_clone
declaration (PR)
This is intermediate callback betweenfinalize
andafter_persist
which is called for built but not persisted record.class ACloner \< Clowne::Clonerafter\_clone do |\_origin, clone, \*\*| # actualize user attributeclone.draft\_count = clone.posts.countend
๐ See more in docs.
๐ฏ From Cult of Martians.
Added support for
belongs_to
association (only foractive_record
adapter) (PR).
๐ Please read small notice if you want to use it.
From Cult of Martians.