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: 181,089 of 195,835
Downloads: 2,044

Daily

Ranking: 36,363 of 195,800
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
36822,877,222activerecord

Owners

#GravatarHandle
1iconsmarthr