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: 40,050 of 192,034
Downloads: 31,100

Daily

Ranking: 54,585 of 191,980
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,331,464,298bundler
81,288,231,282rake
29969,610,563rspec
44732,449,165rails
195254,477,604timecop
227214,441,007yard
279179,092,710sqlite3
2,01413,725,022appraisal
2,3259,368,474amoeba
3,8542,916,890differ

Owners

#GravatarHandle
1iconstevehodges