You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If suppose my application is in applied state, I need to make a hash where I should know that if I trigger hire, it should move to hired, or if I reject, it should move to rejected state.
So Need to compute execute hash like
Application.first.aasm.permitted_transitions
[{event: hire, state: hired}, {event: reject, state: rejected}]
The text was updated successfully, but these errors were encountered:
aviisekh
changed the title
Group/zipping the permitted event and permitted state on that event.
Group/zipping the permitted event and permitted state.
Dec 2, 2019
If suppose my application is in applied state, I need to make a hash where I should know that if I trigger hire, it should move to hired, or if I reject, it should move to rejected state.
So Need to compute execute hash like
Application.first.aasm.permitted_transitions
[{event: hire, state: hired}, {event: reject, state: rejected}]
The text was updated successfully, but these errors were encountered: