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,660 of 189,515
Downloads: 30,804

Daily

Ranking: 48,696 of 189,481
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,186,324,702bundler
91,235,288,365rake
29950,034,974rspec
44709,198,721rails
195248,060,360timecop
226206,779,081yard
277173,072,476sqlite3
2,02312,996,932appraisal
2,3458,909,594amoeba
3,8432,815,676differ

Owners

#GravatarHandle
1iconstevehodges