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: 38,518 of 180,671
Downloads: 27,050

Daily

Ranking: 151,891 of 180,660
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,101,349,740bundler
16861,639,035rake
24771,889,602rspec
42518,265,236rails
171193,623,805timecop
223143,347,690yard
238133,206,073sqlite3
2,0707,630,085appraisal
2,3575,960,966amoeba
3,8731,849,336differ

Owners

#GravatarHandle
1iconstevehodges