Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Support un-persisted ActiveRecord objects #4

Open
jasonkarns opened this issue Sep 4, 2019 · 1 comment
Open

Support un-persisted ActiveRecord objects #4

jasonkarns opened this issue Sep 4, 2019 · 1 comment

Comments

@jasonkarns
Copy link

It would be useful if the ActiveRecord adapter support workflow transitions on newly-created (unpersisted) objects. I believe it would only require the persist_workflow_state method to check persisted? first, and to assign the attribute directly without attempting to update_column.

@lorefnon
Copy link
Owner

lorefnon commented Sep 6, 2019

Hi @jasonkarns, It has been a while since I used this project (or ruby) so development hasn't been very active.

I'll check into this in next couple of days. But if you'd like to submit a PR for this I'll be happy to merge it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants