draftsman
draftsman copied to clipboard
multiple drafts support
This is multiple drafts support for Draftsman.
Changes:
has_draftsnow has a:multipleoption if set to trueDraftsman::Multiple::Draftwill be used instead ofDraftsman::Single::DraftDraftsman::Multiple::Drafthashas_drafts?method instead ofdraft?- For multiple drafts, every update is considered a draft, no updates to existing drafts
Draftsman::Multiple::Draftuseshas_manyassociation instead ofbelongs_to
To change:
- Edit readme.md to reflect new changes
- Review draft_publication_dependencies and draft_reversion_dependencies to make them work with multiple drafts or remove them if possible (actually I bypass them if
:multipleoption is true) - Make sure new changes passes all tests or add tests for new functionality
I've been waiting for this feature, when will it be released on 0.8 or merge to master?
Can you update the PR to resolve the conflicts?
This PR adds new functionality. Before merging or adding any new functionality, tests must be written for it.