-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add from state method to transition history #493
base: master
Are you sure you want to change the base?
Add from state method to transition history #493
Conversation
…al_transition Add transition for initial state
…transition Add from state method to transition history
d85e999
to
a14b34c
Compare
a14b34c
to
8e9c04d
Compare
Hey @stephenbinns, Any chance you could give this a look over |
The rubocop warnings that are causing the tests to fail are false positives, there are a bunch of new issues today on the rubocop project highlighting the same issue with the new We can either wait for it to be fixed there, downgrade rubocop or ignore these warnings for now. |
I'd love this to be merged in. Anything stopping it? |
@simmerz When I left off, it just needed a review. |
This is a continuation of the work of marclerodrigues in No easy way to find previous state.
One of the concerns was:
This PR adds checks to see if the column exists before querying it, therefore users who have not added this column will be able to continue with existing behaviour. This means that this is not a breaking change.
Persisting this information means that accessing it is faster and easier and avoid problems such as mentioned in this comment and the issue containing it.