RubyGems Navigation menu

amoeba 3.3.0

An extension to ActiveRecord to allow the duplication method to also copy associated children, with recursive support for nested of grandchildren. The behavior is controllable with a simple DSL both on your rails models and on the fly, i.e. per instance. Numerous configuration styles and preprocessing directives are included for power and flexibility. Supports preprocessing of field values to prepend strings such as "Copy of ", to nullify or process field values with regular expressions. Supports most association types including has_one :through and has_many :through. Tags: copy child associations, copy nested children, copy associated child records, nested copy, copy associations, copy relations, copy relationships, duplicate associations, duplicate associated records, duplicate child records, duplicate children, copy all, duplicate all, clone child associations, clone nested children, clone associated child records, nested clone, clone associations, clone relations, clone relationships, cloning child associations, cloning nested children, cloning associated child records, deep_cloning, nested cloning, cloning associations, cloning relations, cloning relationships, cloning child associations, cloning nested children, cloning associated child records, nested cloning, cloning associations, cloning relations, cloning relationships, cloning child associations, cloning nested children, cloning associated child records, deep_cloning, nested cloning, cloning associations, cloning relations, cloning relationships, duplicate child associations, duplicate nested children, duplicate associated child records, nested duplicate, duplicate associations, duplicate relations, duplicate relationships, duplicate child associations, duplicate nested children, duplicate associated child records, deep_duplicate, nested duplicate, duplicate associations, duplicate relations, duplicate relationships, deep_copy, deep_clone, deep_cloning, deep clone, deep cloning, has_one, has_many, has_and_belongs_to_many

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 3.3.0 September 30, 2023 (29.5KB)
  2. 3.2.0 June 30, 2021 (28KB)
  3. 3.1.0 April 22, 2017 (27.5KB)
  4. 3.0.0 January 07, 2015 (25.5KB)
  5. 2.1.0 September 08, 2014 (22KB)
全てのバージョンを表示(全15件)

Runtime依存関係 (1):

activerecord >= 5.2.0

Development依存関係 (5):

rspec >= 3.0.0
rubocop ~> 1.16
rubocop-rake ~> 0.6
rubocop-rspec ~> 2.4
sqlite3 >= 1.3

所有者:

プッシュ者:

作者:

  • Vaughn Draughon, Oleksandr Simonov

SHA 256チェックサム:

=

累計ダウンロード数 6,687,103

このバージョンのみ 620,236

このバージョンがリリースされたのは:

ライセンス:

BSD-2-Clause

必要なRubyのバージョン: >= 2.5

リンク: