draftsman
draftsman copied to clipboard
Ruby gem that lets you create draft versions of your database records.
Results
25
draftsman issues
Sort by
recently updated
recently updated
newest added
Given: ``` ruby class Widget < ActiveRecord::Base accept_nested_attributes_for :cars, allow_destroy: true has_drafts ignore: [:slug] end class WidgetsController < InheritedResources::Base def update @widget.attributes = widget_params # Update nested attributes already here...
This is a great gem! Even in the experimental state, it works incredibly well. I found one issue when storing an attribute coded in JSON. When I reify from a...