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,409 of 187,950
Downloads: 30,394

Daily

Ranking: 40,471 of 187,922
Downloads: 17

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,044,215,819bundler
101,176,878,843rake
28929,993,045rspec
43684,409,127rails
192241,296,240timecop
225198,807,586yard
275167,243,038sqlite3
2,02912,304,189appraisal
2,3648,496,957amoeba
3,8422,697,846differ

Owners

#GravatarHandle
1iconstevehodges