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,468 of 188,368
Downloads: 30,597

Daily

Ranking: 51,504 of 188,354
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,092,540,013bundler
101,192,998,841rake
29937,210,484rspec
44693,039,291rails
192243,658,217timecop
225201,399,991yard
274169,626,312sqlite3
2,02512,552,066appraisal
2,3588,647,449amoeba
3,8422,741,338differ

Owners

#GravatarHandle
1iconstevehodges