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: 179,195 of 199,228
Downloads: 2,508

Daily

Ranking: 133,094 of 199,184
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
37876,949,277activerecord

Owners

#GravatarHandle
1iconsmarthr