We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there something like?
document.can_fire_state_event?(:publish)
Sometimes I just don't know the name of the event I need to fire. So calling the event predicate directly is not possible. At the moment I am doing:
document.send("can_#{event_name}?")
Thanks
The text was updated successfully, but these errors were encountered:
I second this feature. Had the same exact thoughts.
Sorry, something went wrong.
This goes hand in hand with #176. I plan on adding more of these types of helpers in the future, but likely will be a month or so before we see that.
obrie
No branches or pull requests
Is there something like?
Sometimes I just don't know the name of the event I need to fire. So calling the event predicate directly is not possible. At the moment I am doing:
Thanks
The text was updated successfully, but these errors were encountered: