draftsman
draftsman copied to clipboard
Ruby gem that lets you create draft versions of your database records.
I've been running this fix in prod for 6+ months with no issues as proposed by andymcintosh. fixes #62
Hey Chris, this is a weird one, and might be worth a conversation. Let's say you have Book and Shelf models. A Shelf has_many books, and a Book can only...
Is there a way to build a queue of drafts for a single record? I know the behavior is that there is only one draft per record, do new drafts...
This is multiple drafts support for Draftsman. Changes: - `has_drafts `now has a `:multiple` option if set to true `Draftsman::Multiple::Draft` will be used instead of `Draftsman::Single::Draft` - `Draftsman::Multiple::Draft` has `has_drafts?`...
Sometimes we may want to setup an aliased association with a scope, while including the original association as well. I recently ran across the need to do something like this:...
It would be nice if save_draft could add to errors or have an optional mode where it could raise an exception in development mode so I knew why something wasn't...
Guys, I rely heavly on https://github.com/mbleigh/acts-as-taggable-on . There was no way I could make it work. Issues: - When an acts-as-taggable-on tag is used outside "only" it does not bypasses...
Since Rails 5.0 there are different migration APIs. We need to test migrations against each compatible version of Rails. Would avoid issues like #73