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: 39,462 of 186,959
Downloads: 29,344

Daily

Ranking: 29,792 of 186,713
Downloads: 25

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,905,736,219bundler
101,128,098,871rake
27909,387,510rspec
43658,650,538rails
188234,305,318timecop
223191,731,040yard
276160,962,144sqlite3
2,01411,644,953appraisal
2,3758,062,037amoeba
3,8542,563,996differ

Owners

#GravatarHandle
1iconstevehodges