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,154 of 193,081
Downloads: 31,379

Daily

Ranking: 49,151 of 193,053
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,426,950,252bundler
81,324,961,978rake
29981,327,237rspec
44746,352,173rails
195259,616,335timecop
227220,572,992yard
279183,373,209sqlite3
2,00814,160,327appraisal
2,3169,590,326amoeba
3,8502,974,949differ

Owners

#GravatarHandle
1iconstevehodges