RubyGems Navigation menu

draft_punk 0.2.8

DraftPunk allows editing of a draft version of an ActiveRecord model and its associations. When it's time to edit, a draft version is created in the same table as the object. You can specify which associations should also be edited and stored with that draft version. All associations are stored in their native table. When it's time to publish, any attributes changed on your draft object persist to the original object. All associated objects behave the same way. Any associated have_many objects which are deleted on the draft are deleted on the original object. This gem doesn't rely on a versioning gem and doesn't store incremental diffs of the model. It simply works with your existing database (plus one new column on your original object).

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.3.1 - December 04, 2018 (123.0 KB)
  2. 0.3.0 - September 28, 2018 (122.5 KB)
  3. 0.2.8 - August 28, 2018 (120.5 KB)
  4. 0.2.7 - March 31, 2017 (120.5 KB)
  5. 0.2.6 - December 09, 2016 (120.5 KB)
显示所有版本 (共 12 个)

Runtime 依赖 (3):

amoeba ~> 3.1
differ < 0.2
rails < 5.3, > 5.0

Development 依赖 (5):

bundler ~> 1.9
rake ~> 10.0
rspec ~> 2.0
sqlite3 ~> 1.0
yard < 1.0

业主:

作者:

  • Steve Hodges

SHA 256 校验和:

2ba6b3cd81efda61088b25a41387652acd9ac99a0b59220c001d4e03ebcd5673

下载总量 27,363

这个版本 4,531

许可:

MIT

需要的 Ruby 版本: >= 2.0.0

链接: