Categories: None [Edit]

activerecord-duplicator

https://rubygems.org/gems/activerecord-duplicator
https://github.com/kufu/activerecord-duplicator
activerecord-duplicator copies an ActiveRecord record and its associated rows (has_many, has_one, belongs_to, has_many :through) in one call. It rewires foreign keys through an internal id map, bypasses callbacks by using insert_all!, and lets you plug in per-model handlers for records that need custom logic. Composite primary keys (Rails 7.1+) are supported.

Total

Ranking: 180,663 of 197,085
Downloads: 2,276

Daily

Ranking: 42,533 of 197,066
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
37845,746,438activerecord

Owners

#GravatarHandle
1iconsmarthr