state_machine
https://github.com/pluginaweek/state_machine
Ruby
Adds support for creating state machines for attributes on any Ruby class
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
12 Subscribers
Add a CodeTriage badge to state_machine
Help out
- Issues
- Make state machines customizable with modules / aka overridable
- Validations - valid? is true even though model.errors.count > 1
- Undefined method `state`
- Silence uneccessary warning with default state with value
- Improve doc on AR integration
- Inheritance not working as expected
- Correct the dynamic example to conform to initialize signature
- After callbacks stopped working after upgrading to 1.2.0
- fix callbacks when binding to object
- Warning when using ActiveRecord and defaults are the same
- Docs
- #redirect_with_vary
- RedirectWithVary#build_response
- Mastodon::PrivateNetworkAddressError#initialize
- Mastodon::PrivateNetworkAddressError#host
- Mastodon::UnexpectedResponseError#response
- Tag#validate_display_name_change
- Tag#decaying?
- Tag#requires_review_notification?
- Tag#display_name
- Mute#invalidate_follow_recommendations_cache