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,374 of 187,571
Downloads: 30,239

Daily

Ranking: 49,628 of 187,548
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,010,000,950bundler
101,165,196,519rake
28924,848,930rspec
43678,557,783rails
193239,565,314timecop
224197,125,988yard
275165,696,742sqlite3
2,02812,143,264appraisal
2,3698,391,871amoeba
3,8442,665,059differ

Owners

#GravatarHandle
1iconstevehodges