-
Notifications
You must be signed in to change notification settings - Fork 510
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
before_transition works, after_transition fails on Rails 4/Mongoid #277
Comments
+1 |
+1 Anyone got any idea how to quick fix this? |
+1 |
Somehow this commit is breaking the |
hi @aganov is it still pending pull request ? I just stucked with the same issue. after_transition doesn't fire up. Can we get it merged ? |
@aganov @pluginaweek Any chance that this will get merged soon? |
+1 |
Also ran into this bug, would be great to get a fix merged. |
@aganov @pluginaweek Is there any way I can help getting this fixed? |
@aganov I've confirmed that that fix works, but the pull is probably not mergable yet since there's no test for the fix. I'd be happy to see if I can help with that? |
+1 for tests and merge |
If somebody creates a good pull request for this, will it get merged? Mongoid 4 release is getting pretty close and it would be good to have this in an official release. |
I could reproduce the same behavior. Before transition is working, while after is not called. Really appreciate for the fix. |
State machine after_transition hook with mongoid was not working. Issue is documented here pluginaweek/state_machine#277 Used the version of state_machine from https://github.com/aganov/state_machine/tree/88e45a1b1622d7748933bc941e7e9b08b3045a94, referenced in the github issue, to get things working for the time being. I'm using the transtion to trigger the broadcast of the update to the compiled version.
+1 please |
+1 |
1 similar comment
+1 |
Have an idea about mainaining #331 |
+1 |
This repository isn't supported anymore... Consider using https://github.com/state-machines/state_machines-mongoid instead |
@aganov then maybe you should mark it in readme as open for adoption |
Thanks @aganov. Also, another option is 'AASM'. |
Lost some time on this one... only here?
As 'fails' I mean wont run, tryed some raise() there and nothing happens.
Rails 4, Mongoid 4
The text was updated successfully, but these errors were encountered: