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: 41,039 of 198,025
Downloads: 31,998

Daily

Ranking: 55,892 of 197,989
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,895,243,156bundler
81,452,458,801rake
291,035,635,780rspec
44809,367,509rails
205278,015,462timecop
234240,832,450yard
285200,157,958sqlite3
1,97916,283,670appraisal
2,31810,541,334amoeba
3,8643,261,895differ

Owners

#GravatarHandle
1iconstevehodges