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,747 of 190,127
Downloads: 30,893

Daily

Ranking: 49,069 of 190,091
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,229,496,129bundler
81,251,161,706rake
29955,828,328rspec
45716,175,429rails
194249,988,901timecop
227208,972,819yard
279174,584,745sqlite3
2,02513,191,836appraisal
2,3399,075,113amoeba
3,8482,840,831differ

Owners

#GravatarHandle
1iconstevehodges