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: 38,493 of 180,530
Downloads: 26,979

Daily

Ranking: 95,592 of 180,517
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,085,401,074bundler
16856,643,623rake
23769,399,643rspec
42515,939,535rails
170192,792,351timecop
222142,500,395yard
238132,744,601sqlite3
2,0717,574,614appraisal
2,3605,908,598amoeba
3,8721,837,873differ

Owners

#GravatarHandle
1iconstevehodges