Table of Contents - state_machine-1.2.0 Documentation
Pages
LICENSE
Classes/Modules
StateMachine
StateMachine::AllMatcher
StateMachine::Assertions
StateMachine::AttributeTransitionCollection
StateMachine::BlacklistMatcher
StateMachine::Branch
StateMachine::Callback
StateMachine::ClassMethods
StateMachine::Error
StateMachine::EvalHelpers
StateMachine::Event
StateMachine::EventCollection
StateMachine::Graph
StateMachine::InstanceMethods
StateMachine::IntegrationNotFound
StateMachine::Integrations
StateMachine::Integrations::ActiveModel
Examples
Actions
Validations
Validation errors
Security implications
Callbacks
Observers
Internationalization
Dirty Attribute Tracking
Creating new integrations
StateMachine::Integrations::ActiveModel::Observer
StateMachine::Integrations::ActiveModel::ObserverUpdate
StateMachine::Integrations::ActiveRecord
Examples
Actions
Events
Security implications
Transactions
Validations
Validation errors
Scopes
Callbacks
Failure callbacks
Callback Order
Observers
Internationalization
StateMachine::Integrations::Base
StateMachine::Integrations::Base::ClassMethods
StateMachine::Integrations::DataMapper
StateMachine::Integrations::DataMapper::Observer
Requirements
StateMachine::Integrations::MongoMapper
StateMachine::Integrations::Mongoid
Examples
Actions
Events
Security implications
Validations
Validation errors
Scopes
Callbacks
Observers
Callback Order
Internationalization
StateMachine::Integrations::Sequel
StateMachine::InvalidEvent
StateMachine::InvalidParallelTransition
StateMachine::InvalidTransition
StateMachine::LoopbackMatcher
StateMachine::Machine
Actions
Indirect transitions
Callbacks
Canceling callbacks
Observers
Overriding instance / class methods
Method conflicts
Integrations
StateMachine::MachineCollection
StateMachine::MacroMethods
StateMachine::Matcher
StateMachine::MatcherHelpers
StateMachine::NodeCollection
StateMachine::Path
StateMachine::PathCollection
StateMachine::RailsEngine
StateMachine::State
StateMachine::StateCollection
StateMachine::StateContext
Examples
StateMachine::Transition
StateMachine::TransitionCollection
StateMachine::WhitelistMatcher
StateMachine::YARD
StateMachine::YARD::Handlers
StateMachine::YARD::Handlers::Base
StateMachine::YARD::Handlers::Event
StateMachine::YARD::Handlers::Machine
StateMachine::YARD::Handlers::State
StateMachine::YARD::Handlers::Transition
Object
Methods
::active? — StateMachine::Integrations::DataMapper
::active? — StateMachine::Integrations::Sequel
::active? — StateMachine::Integrations::ActiveModel
::active? — StateMachine::Integrations::MongoMapper
::active? — StateMachine::Integrations::Mongoid
::active? — StateMachine::Integrations::ActiveRecord
::all — StateMachine::Integrations
::draw — StateMachine::Machine
::find_by_name — StateMachine::Integrations
::find_or_create — StateMachine::Machine
::match — StateMachine::Integrations
::match_ancestors — StateMachine::Integrations
::matching_ancestors — StateMachine::Integrations::DataMapper
::matching_ancestors — StateMachine::Integrations::ActiveRecord
::matching_ancestors — StateMachine::Integrations::Mongoid
::matching_ancestors — StateMachine::Integrations::MongoMapper
::matching_ancestors — StateMachine::Integrations::Sequel
::matching_ancestors — StateMachine::Integrations::ActiveModel
::new — StateMachine::Callback
::new — StateMachine::NodeCollection
::new — StateMachine::TransitionCollection
::new — StateMachine::StateContext
::new — StateMachine::Path
::new — StateMachine::Matcher
::new — StateMachine::Graph
::new — StateMachine::Machine
::new — StateMachine::PathCollection
::new — StateMachine::IntegrationNotFound
::pause_supported? — StateMachine::Transition
#- — StateMachine::AllMatcher
#<< — StateMachine::NodeCollection
#== — StateMachine::Transition
#[] — StateMachine::NodeCollection
#action — StateMachine::Transition
#action_hook — StateMachine::Machine
#action_hook? — StateMachine::Machine
#add_actions — StateMachine::Event
#add_callback — StateMachine::Integrations::ActiveModel
#add_callback — StateMachine::Machine
#add_callback — StateMachine::Integrations::DataMapper
#add_callback — StateMachine::Integrations::Sequel
#add_default_callbacks — StateMachine::Integrations::ActiveModel
#add_edges — StateMachine::Graph
#add_events — StateMachine::Machine
#add_events — StateMachine::Integrations::ActiveModel
#add_nodes — StateMachine::Graph
#add_sibling_machine_configs — StateMachine::Machine
#add_states — StateMachine::Integrations::ActiveModel
#add_states — StateMachine::Machine
#add_to_index — StateMachine::NodeCollection
#after_failure — StateMachine::Machine
#after_initialize — StateMachine::Integrations::DataMapper
#after_initialize — StateMachine::Integrations::ActiveModel
#after_initialize — StateMachine::Machine
#after_transition — StateMachine::Machine
#after_transition — StateMachine::Integrations::DataMapper::Observer
#after_transition_failure — StateMachine::Integrations::DataMapper::Observer
#all — StateMachine::MatcherHelpers
#ancestors_for — StateMachine::Integrations::ActiveRecord
#ancestors_for — StateMachine::Integrations::ActiveModel
#any — StateMachine::MatcherHelpers
#args — StateMachine::Integrations::ActiveModel::ObserverUpdate
#around_save — StateMachine::Integrations::MongoMapper
#around_save — StateMachine::Integrations::Sequel
#around_save — StateMachine::Integrations::Mongoid
#around_save — StateMachine::Integrations::ActiveRecord
#around_transition — StateMachine::Machine
#around_transition — StateMachine::Integrations::DataMapper::Observer
#around_validation — StateMachine::Integrations::ActiveModel
#assert_exclusive_keys — StateMachine::Assertions
#assert_valid_keys — StateMachine::Assertions
#at — StateMachine::NodeCollection
#attribute — StateMachine::Transition
#attribute — StateMachine::Machine
#attribute_column — StateMachine::Integrations::Sequel
#attribute_column — StateMachine::Integrations::ActiveRecord
#attribute_field — StateMachine::Integrations::Mongoid
#attribute_key — StateMachine::Integrations::MongoMapper
#attribute_property — StateMachine::Integrations::DataMapper
#attribute_transition_for — StateMachine::EventCollection
#attributes — StateMachine::Transition
#available? — StateMachine::Integrations::Base::ClassMethods
#before_transition — StateMachine::Integrations::DataMapper::Observer
#before_transition — StateMachine::Machine
#build_matcher — StateMachine::Branch
#by_priority — StateMachine::StateCollection
#call — StateMachine::State
#call — StateMachine::Callback
#callback_terminator — StateMachine::Integrations::MongoMapper
#callback_terminator — StateMachine::Integrations::ActiveModel
#can_fire? — StateMachine::Event
#class — StateMachine::Integrations::ActiveModel::ObserverUpdate
#complete? — StateMachine::Path
#concat — StateMachine::NodeCollection
#context — StateMachine::State
#context — StateMachine::NodeCollection
#context — StateMachine::Event
#create_scope — StateMachine::Integrations::ActiveRecord
#create_scope — StateMachine::Integrations::Sequel
#create_with_scope — StateMachine::Integrations::MongoMapper
#create_with_scope — StateMachine::Integrations::DataMapper
#create_with_scope — StateMachine::Integrations::Sequel
#create_with_scope — StateMachine::Integrations::Mongoid
#create_with_scope — StateMachine::Machine
#create_with_scope — StateMachine::Integrations::ActiveRecord
#create_without_scope — StateMachine::Machine
#create_without_scope — StateMachine::Integrations::Mongoid
#create_without_scope — StateMachine::Integrations::DataMapper
#create_without_scope — StateMachine::Integrations::Sequel
#create_without_scope — StateMachine::Integrations::ActiveRecord
#create_without_scope — StateMachine::Integrations::MongoMapper
#default_error_message_options — StateMachine::Integrations::ActiveRecord
#default_error_message_options — StateMachine::Integrations::ActiveModel
#define_action_helpers — StateMachine::Integrations::Sequel
#define_action_helpers — StateMachine::Machine
#define_action_helpers — StateMachine::Integrations::DataMapper
#define_action_helpers — StateMachine::Integrations::ActiveModel
#define_action_helpers? — StateMachine::Machine
#define_action_helpers? — StateMachine::Integrations::DataMapper
#define_action_hook — StateMachine::Integrations::Mongoid
#define_action_hook — StateMachine::Machine
#define_action_hook — StateMachine::Integrations::ActiveRecord
#define_action_hook — StateMachine::Integrations::MongoMapper
#define_action_hook — StateMachine::Integrations::Sequel
#define_dynamic_state_initializer — StateMachine::Integrations::ActiveRecord
#define_event_helpers — StateMachine::Machine
#define_event_methods — StateMachine::YARD::Handlers::Machine
#define_helper — StateMachine::Machine
#define_helpers — StateMachine::Integrations::Sequel
#define_helpers — StateMachine::Machine
#define_macro_methods — StateMachine::YARD::Handlers::Machine
#define_name_helpers — StateMachine::Machine
#define_path_helpers — StateMachine::Machine
#define_scope — StateMachine::Integrations::Mongoid
#define_scope — StateMachine::Integrations::MongoMapper
#define_scopes — StateMachine::Machine
#define_state_accessor — StateMachine::Machine
#define_state_accessor — StateMachine::Integrations::Mongoid
#define_state_accessor — StateMachine::Integrations::Sequel
#define_state_accessor — StateMachine::Integrations::DataMapper
#define_state_accessor — StateMachine::Integrations::ActiveModel
#define_state_accessor — StateMachine::Integrations::MongoMapper
#define_state_initializer — StateMachine::Integrations::MongoMapper
#define_state_initializer — StateMachine::Integrations::DataMapper
#define_state_initializer — StateMachine::Machine
#define_state_initializer — StateMachine::Integrations::Sequel
#define_state_initializer — StateMachine::Integrations::Mongoid
#define_state_initializer — StateMachine::Integrations::ActiveRecord
#define_state_methods — StateMachine::YARD::Handlers::Machine
#define_state_predicate — StateMachine::Machine
#define_static_state_initializer — StateMachine::Integrations::ActiveRecord
#define_validation_hook — StateMachine::Integrations::DataMapper
#define_validation_hook — StateMachine::Integrations::ActiveModel
#define_validation_hook — StateMachine::Integrations::Sequel
#description — StateMachine::LoopbackMatcher
#description — StateMachine::AllMatcher
#description — StateMachine::BlacklistMatcher
#description — StateMachine::WhitelistMatcher
#description — StateMachine::State
#draw — StateMachine::State
#draw — StateMachine::Branch
#draw — StateMachine::Machine
#draw — StateMachine::Event
#dynamic_initial_state? — StateMachine::Machine
#each — StateMachine::NodeCollection
#errors_for — StateMachine::Machine
#errors_for — StateMachine::Integrations::ActiveModel
#errors_for — StateMachine::Integrations::DataMapper
#errors_for — StateMachine::Integrations::Sequel
#eval_context — StateMachine::NodeCollection
#evaluate_method — StateMachine::EvalHelpers
#event — StateMachine::Transition
#event — StateMachine::Machine
#event — StateMachine::InvalidTransition
#event_type — StateMachine::YARD::Handlers::Machine
#events — StateMachine::PathCollection
#events — StateMachine::Path
#extended — StateMachine::Integrations::Base::ClassMethods
#fetch — StateMachine::NodeCollection
#filter — StateMachine::BlacklistMatcher
#filter — StateMachine::AllMatcher
#filter — StateMachine::Matcher
#filter_attributes — StateMachine::Integrations::MongoMapper
#final? — StateMachine::State
#fire — StateMachine::Event
#fire_events — StateMachine::InstanceMethods
#fire_events — StateMachine::MachineCollection
#fire_events! — StateMachine::InstanceMethods
#from_name — StateMachine::Transition
#from_name — StateMachine::Path
#from_name — StateMachine::InvalidTransition
#from_states — StateMachine::Path
#from_states — StateMachine::PathCollection
#generate_message — StateMachine::Machine
#handle_save_failure — StateMachine::Integrations::Sequel
#handle_validation_failure — StateMachine::Integrations::Sequel
#human_event — StateMachine::Transition
#human_from_name — StateMachine::Transition
#human_name — StateMachine::State
#human_name — StateMachine::Event
#human_to_name — StateMachine::Transition
#i18n_scope — StateMachine::Integrations::ActiveModel
#i18n_scope — StateMachine::Integrations::ActiveRecord
#index — StateMachine::NodeCollection
#inherited_machine — StateMachine::YARD::Handlers::Machine
#init — Object
#initial_state — StateMachine::Machine
#initial_state= — StateMachine::Machine
#initialize_state — StateMachine::Machine
#initialize_state? — StateMachine::Machine
#initialize_states — StateMachine::MachineCollection
#inspect — StateMachine::Event
#inspect — StateMachine::State
#inspect — StateMachine::Transition
#instance_attributes — StateMachine::YARD::Handlers::Machine
#integration — StateMachine::YARD::Handlers::Machine
#integration_name — StateMachine::Integrations::Base::ClassMethods
#invalidate — StateMachine::Integrations::MongoMapper
#invalidate — StateMachine::Integrations::ActiveModel
#invalidate — StateMachine::Integrations::Sequel
#invalidate — StateMachine::Integrations::DataMapper
#invalidate — StateMachine::Integrations::ActiveRecord
#invalidate — StateMachine::Machine
#keys — StateMachine::NodeCollection
#known_states — StateMachine::Callback
#length — StateMachine::NodeCollection
#load_inflector — StateMachine::Integrations::Sequel
#load_locale — StateMachine::Integrations::ActiveRecord
#load_locale — StateMachine::Integrations::MongoMapper
#load_locale — StateMachine::Integrations::ActiveModel
#load_observer_extensions — StateMachine::Integrations::DataMapper
#load_observer_extensions — StateMachine::Integrations::ActiveRecord
#load_observer_extensions — StateMachine::Integrations::ActiveModel
#load_plugins — StateMachine::Integrations::Sequel
#loaded_superclasses — StateMachine::YARD::Handlers::Machine
#locale_path — StateMachine::Integrations::Base::ClassMethods
#loopback? — StateMachine::Transition
#machine= — StateMachine::NodeCollection
#match — StateMachine::Branch
#match — StateMachine::StateCollection
#match! — StateMachine::StateCollection
#match_event — StateMachine::Branch
#match_query — StateMachine::Branch
#match_states — StateMachine::Branch
#matches? — StateMachine::StateCollection
#matches? — StateMachine::Integrations::Base::ClassMethods
#matches? — StateMachine::AllMatcher
#matches? — StateMachine::BlacklistMatcher
#matches? — StateMachine::Branch
#matches? — StateMachine::LoopbackMatcher
#matches? — StateMachine::State
#matches? — StateMachine::WhitelistMatcher
#matches_ancestors? — StateMachine::Integrations::Base::ClassMethods
#matches_conditions? — StateMachine::Branch
#matches_requirement? — StateMachine::Branch
#matching_ancestors — StateMachine::Integrations::Base::ClassMethods
#method_missing — StateMachine::StateContext
#model_from_dataset — StateMachine::Integrations::Sequel
#name — StateMachine::YARD::Handlers::Machine
#notify — StateMachine::Integrations::ActiveModel
#on — StateMachine::Machine
#on_failure — StateMachine::Event
#options — StateMachine::YARD::Handlers::Machine
#other_states — StateMachine::Machine
#output — StateMachine::Graph
#owner_class= — StateMachine::Machine
#owner_class_ancestor_has_method? — StateMachine::Machine
#owner_class_ancestor_has_method? — StateMachine::Integrations::ActiveRecord
#owner_class_attribute_default — StateMachine::Integrations::ActiveRecord
#owner_class_attribute_default — StateMachine::Integrations::Mongoid
#owner_class_attribute_default — StateMachine::Integrations::MongoMapper
#owner_class_attribute_default — StateMachine::Integrations::Sequel
#owner_class_attribute_default — StateMachine::Integrations::DataMapper
#owner_class_attribute_default — StateMachine::Machine
#owner_class_attribute_default_matches? — StateMachine::Machine
#owner_class_attribute_default_matches? — StateMachine::Integrations::Sequel
#paths_for — StateMachine::Machine
#perform — StateMachine::Transition
#perform — StateMachine::TransitionCollection
#persist — StateMachine::Transition
#pluralize — StateMachine::Integrations::Sequel
#pluralize — StateMachine::Integrations::DataMapper
#pluralize — StateMachine::Machine
#process — StateMachine::YARD::Handlers::Transition
#process — StateMachine::YARD::Handlers::State
#process — StateMachine::YARD::Handlers::Machine
#process — StateMachine::YARD::Handlers::Event
#qualified_event — StateMachine::Transition
#qualified_event — StateMachine::InvalidTransition
#qualified_from_name — StateMachine::Transition
#qualified_from_name — StateMachine::InvalidTransition
#qualified_to_name — StateMachine::Transition
#read — StateMachine::Machine
#remove_from_index — StateMachine::NodeCollection
#reset — StateMachine::Event
#reset — StateMachine::Integrations::Sequel
#reset — StateMachine::Integrations::DataMapper
#reset — StateMachine::Transition
#reset — StateMachine::Machine
#reset — StateMachine::Integrations::ActiveModel
#rollback — StateMachine::Transition
#run_callbacks — StateMachine::Transition
#run_scope — StateMachine::Integrations::Sequel
#run_scope — StateMachine::Machine
#runs_validations_on_action? — StateMachine::Integrations::ActiveModel
#runs_validations_on_action? — StateMachine::Integrations::MongoMapper
#runs_validations_on_action? — StateMachine::Integrations::ActiveRecord
#runs_validations_on_action? — StateMachine::Integrations::Mongoid
#same — StateMachine::MatcherHelpers
#sibling_machines — StateMachine::Machine
#state — StateMachine::Machine
#state_machine — StateMachine::MacroMethods
#state_machine_details — Object
#state_machine_image_path — Object
#state_machines — Object
#state_machines — StateMachine::ClassMethods
#state_type — StateMachine::YARD::Handlers::Machine
#supports_mass_assignment_security? — StateMachine::Integrations::ActiveRecord
#supports_observers? — StateMachine::Integrations::ActiveRecord
#supports_observers? — StateMachine::Integrations::MongoMapper
#supports_observers? — StateMachine::Integrations::ActiveModel
#supports_validations? — StateMachine::Integrations::DataMapper
#supports_validations? — StateMachine::Integrations::MongoMapper
#supports_validations? — StateMachine::Integrations::ActiveModel
#supports_validations? — StateMachine::Integrations::ActiveRecord
#to_name — StateMachine::Transition
#to_name — StateMachine::Path
#to_states — StateMachine::PathCollection
#to_states — StateMachine::Path
#to_sym? — StateMachine::NodeCollection
#transaction — StateMachine::Integrations::Sequel
#transaction — StateMachine::Integrations::DataMapper
#transaction — StateMachine::Machine
#transaction — StateMachine::Integrations::ActiveRecord
#transient? — StateMachine::Transition
#transition — StateMachine::Event
#transition — StateMachine::Machine
#transition — StateMachine::StateContext
#transition_for — StateMachine::Event
#transitions — StateMachine::MachineCollection
#transitions_for — StateMachine::EventCollection
#translate — StateMachine::Integrations::ActiveRecord
#translate — StateMachine::Integrations::ActiveModel
#translate — StateMachine::Integrations::MongoMapper
#update — StateMachine::NodeCollection
#update_index — StateMachine::NodeCollection
#update_with_transition — StateMachine::Integrations::ActiveModel::Observer
#valid_for — StateMachine::EventCollection
#value — StateMachine::State
#value — StateMachine::NodeCollection
#version — StateMachine::Integrations::Base::ClassMethods
#versions — StateMachine::Integrations::Base::ClassMethods
#walk — StateMachine::Path
#within_transaction — StateMachine::Machine
#within_transaction — StateMachine::Transition
#write — StateMachine::Integrations::Sequel
#write — StateMachine::Machine