Categories: None [Edit]

draft_punk

https://rubygems.org/gems/draft_punk
https://github.com/stevehodges/draftpunk
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).

Total

Ranking: 40,645 of 196,338
Downloads: 31,855

Daily

Ranking: 51,088 of 196,320
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,687,515,579bundler
81,399,913,164rake
291,013,199,560rspec
45781,499,294rails
200270,484,006timecop
230232,958,209yard
281193,253,659sqlite3
1,99115,449,867appraisal
2,31910,139,378amoeba
3,8683,136,252differ

Owners

#GravatarHandle
1iconstevehodges