Table of Contents - state_machine-1.1.2 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::InstanceMethods
StateMachine::IntegrationNotFound
StateMachine::Integrations
StateMachine::Integrations::ActiveModel
StateMachine::Integrations::ActiveModel::Observer
StateMachine::Integrations::ActiveRecord
StateMachine::Integrations::Base
StateMachine::Integrations::Base::ClassMethods
StateMachine::Integrations::DataMapper
StateMachine::Integrations::DataMapper::Observer
Requirements
StateMachine::Integrations::MongoMapper
Examples
Actions
Events
Security implications
Validations
Validation errors
Scopes
Callbacks
Internationalization
StateMachine::Integrations::Mongoid
StateMachine::Integrations::Sequel
Examples
Actions
Events
Security implications
Transactions
Validation errors
Scopes
Callbacks
Failure callbacks
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
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
::available? — StateMachine::Integrations::Sequel
::available? — StateMachine::Integrations::Mongoid
::available? — StateMachine::Integrations::ActiveRecord
::available? — StateMachine::Integrations::DataMapper
::available? — StateMachine::Integrations::MongoMapper
::available? — StateMachine::Integrations::ActiveModel
::draw — StateMachine::Machine
::find_by_name — StateMachine::Integrations
::find_or_create — StateMachine::Machine
::match — StateMachine::Integrations
::matches? — StateMachine::Integrations::ActiveModel
::matches? — StateMachine::Integrations::DataMapper
::matches? — StateMachine::Integrations::Mongoid
::matches? — StateMachine::Integrations::Sequel
::matches? — StateMachine::Integrations::ActiveRecord
::matches? — StateMachine::Integrations::MongoMapper
::new — StateMachine::IntegrationNotFound
::new — StateMachine::PathCollection
::new — StateMachine::NodeCollection
::new — StateMachine::Machine
::new — StateMachine::Matcher
::new — StateMachine::TransitionCollection
::new — StateMachine::Path
::new — StateMachine::Callback
::new — StateMachine::StateContext
#- — StateMachine::AllMatcher
#<< — StateMachine::NodeCollection
#== — StateMachine::Transition
#[] — StateMachine::NodeCollection
#action — StateMachine::Transition
#action_hook — StateMachine::Integrations::MongoMapper
#action_hook — StateMachine::Integrations::ActiveRecord
#action_hook — StateMachine::Machine
#action_hook — StateMachine::Integrations::DataMapper
#action_hook — StateMachine::Integrations::Sequel
#action_hook? — StateMachine::Machine
#add_actions — StateMachine::Event
#add_callback — StateMachine::Machine
#add_callback — StateMachine::Integrations::ActiveModel
#add_callback — StateMachine::Integrations::DataMapper
#add_callback — StateMachine::Integrations::Sequel
#add_default_callbacks — StateMachine::Integrations::ActiveModel
#add_events — StateMachine::Machine
#add_events — StateMachine::Integrations::ActiveModel
#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::Machine
#after_initialize — StateMachine::Integrations::ActiveModel
#after_transition — StateMachine::Integrations::DataMapper::Observer
#after_transition — StateMachine::Machine
#after_transition_failure — StateMachine::Integrations::DataMapper::Observer
#all — StateMachine::MatcherHelpers
#ancestors_for — StateMachine::Integrations::ActiveModel
#ancestors_for — StateMachine::Integrations::ActiveRecord
#any — StateMachine::MatcherHelpers
#around_save — StateMachine::Integrations::Mongoid
#around_save — StateMachine::Integrations::ActiveRecord
#around_save — StateMachine::Integrations::MongoMapper
#around_transition — StateMachine::Integrations::DataMapper::Observer
#around_transition — StateMachine::Machine
#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_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::Callback
#call — StateMachine::State
#callback_terminator — StateMachine::Integrations::MongoMapper
#callback_terminator — StateMachine::Integrations::ActiveModel
#can_fire? — StateMachine::Event
#complete? — StateMachine::Path
#concat — StateMachine::NodeCollection
#context — StateMachine::Event
#context — StateMachine::NodeCollection
#context — StateMachine::State
#create_scope — StateMachine::Integrations::Sequel
#create_scope — StateMachine::Integrations::ActiveRecord
#create_with_scope — StateMachine::Integrations::Sequel
#create_with_scope — StateMachine::Integrations::DataMapper
#create_with_scope — StateMachine::Integrations::ActiveRecord
#create_with_scope — StateMachine::Integrations::MongoMapper
#create_with_scope — StateMachine::Integrations::Mongoid
#create_with_scope — StateMachine::Machine
#create_without_scope — StateMachine::Integrations::Mongoid
#create_without_scope — StateMachine::Integrations::MongoMapper
#create_without_scope — StateMachine::Machine
#create_without_scope — StateMachine::Integrations::DataMapper
#create_without_scope — StateMachine::Integrations::Sequel
#create_without_scope — StateMachine::Integrations::ActiveRecord
#default_error_message_options — StateMachine::Integrations::ActiveRecord
#default_error_message_options — StateMachine::Integrations::ActiveModel
#define_action_helpers — StateMachine::Machine
#define_action_helpers — StateMachine::Integrations::ActiveModel
#define_action_helpers — StateMachine::Integrations::DataMapper
#define_action_helpers — StateMachine::Integrations::Sequel
#define_action_helpers? — StateMachine::Machine
#define_action_helpers? — StateMachine::Integrations::DataMapper
#define_action_hook — StateMachine::Machine
#define_action_hook — StateMachine::Integrations::Mongoid
#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_helper — StateMachine::Machine
#define_helpers — StateMachine::Integrations::Sequel
#define_helpers — StateMachine::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::Integrations::ActiveModel
#define_state_accessor — StateMachine::Integrations::Sequel
#define_state_accessor — StateMachine::Machine
#define_state_accessor — StateMachine::Integrations::MongoMapper
#define_state_accessor — StateMachine::Integrations::DataMapper
#define_state_accessor — StateMachine::Integrations::Mongoid
#define_state_initializer — StateMachine::Integrations::MongoMapper
#define_state_initializer — StateMachine::Integrations::Mongoid
#define_state_initializer — StateMachine::Integrations::Sequel
#define_state_initializer — StateMachine::Integrations::DataMapper
#define_state_initializer — StateMachine::Integrations::ActiveRecord
#define_state_initializer — StateMachine::Machine
#define_state_predicate — StateMachine::Machine
#define_static_state_initializer — StateMachine::Integrations::ActiveRecord
#define_validation_hook — StateMachine::Integrations::ActiveModel
#define_validation_hook — StateMachine::Integrations::Sequel
#description — StateMachine::WhitelistMatcher
#description — StateMachine::LoopbackMatcher
#description — StateMachine::BlacklistMatcher
#description — StateMachine::AllMatcher
#description — StateMachine::State
#draw — StateMachine::State
#draw — StateMachine::Event
#draw — StateMachine::Machine
#draw — StateMachine::Branch
#dynamic_initial_state? — StateMachine::Machine
#each — StateMachine::NodeCollection
#errors_for — StateMachine::Integrations::Sequel
#errors_for — StateMachine::Machine
#errors_for — StateMachine::Integrations::DataMapper
#errors_for — StateMachine::Integrations::ActiveModel
#eval_context — StateMachine::NodeCollection
#evaluate_method — StateMachine::EvalHelpers
#event — StateMachine::Machine
#event — StateMachine::InvalidTransition
#event — StateMachine::Transition
#events — StateMachine::PathCollection
#events — StateMachine::Path
#extended — StateMachine::Integrations::Base::ClassMethods
#fetch — StateMachine::NodeCollection
#filter — StateMachine::BlacklistMatcher
#filter — StateMachine::Matcher
#filter — StateMachine::AllMatcher
#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::Path
#from_name — StateMachine::InvalidTransition
#from_name — StateMachine::Transition
#from_states — StateMachine::PathCollection
#from_states — StateMachine::Path
#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::Event
#human_name — StateMachine::State
#human_to_name — StateMachine::Transition
#i18n_scope — StateMachine::Integrations::ActiveRecord
#i18n_scope — StateMachine::Integrations::ActiveModel
#index — StateMachine::NodeCollection
#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::Transition
#inspect — StateMachine::State
#integration_name — StateMachine::Integrations::Base::ClassMethods
#invalidate — StateMachine::Machine
#invalidate — StateMachine::Integrations::ActiveRecord
#invalidate — StateMachine::Integrations::MongoMapper
#invalidate — StateMachine::Integrations::Sequel
#invalidate — StateMachine::Integrations::DataMapper
#invalidate — StateMachine::Integrations::ActiveModel
#keys — StateMachine::NodeCollection
#known_states — StateMachine::Callback
#length — StateMachine::NodeCollection
#load_inflector — StateMachine::Integrations::Sequel
#load_locale — StateMachine::Integrations::ActiveModel
#load_locale — StateMachine::Integrations::MongoMapper
#load_locale — StateMachine::Integrations::ActiveRecord
#load_observer_extensions — StateMachine::Integrations::DataMapper
#load_observer_extensions — StateMachine::Integrations::ActiveModel
#load_observer_extensions — StateMachine::Integrations::ActiveRecord
#load_plugins — StateMachine::Integrations::Sequel
#locale_path — StateMachine::Integrations::Base::ClassMethods
#loopback? — StateMachine::Transition
#machine= — StateMachine::NodeCollection
#match — StateMachine::StateCollection
#match — StateMachine::Branch
#match! — StateMachine::StateCollection
#match_event — StateMachine::Branch
#match_query — StateMachine::Branch
#match_states — StateMachine::Branch
#matches? — StateMachine::Branch
#matches? — StateMachine::WhitelistMatcher
#matches? — StateMachine::LoopbackMatcher
#matches? — StateMachine::Integrations::Base::ClassMethods
#matches? — StateMachine::AllMatcher
#matches? — StateMachine::State
#matches? — StateMachine::BlacklistMatcher
#matches? — StateMachine::StateCollection
#matches_conditions? — StateMachine::Branch
#matches_requirement? — StateMachine::Branch
#method_missing — StateMachine::StateContext
#model_from_dataset — StateMachine::Integrations::Sequel
#notify — StateMachine::Integrations::ActiveModel
#on — StateMachine::Machine
#on_failure — StateMachine::Event
#other_states — StateMachine::Machine
#owner_class= — StateMachine::Machine
#owner_class_ancestor_has_method? — StateMachine::Machine
#owner_class_ancestor_has_method? — StateMachine::Integrations::ActiveRecord
#paths_for — StateMachine::Machine
#perform — StateMachine::TransitionCollection
#perform — StateMachine::Transition
#persist — StateMachine::Transition
#pluralize — StateMachine::Integrations::Sequel
#pluralize — StateMachine::Machine
#pluralize — StateMachine::Integrations::DataMapper
#qualified_event — StateMachine::InvalidTransition
#qualified_event — StateMachine::Transition
#qualified_from_name — StateMachine::InvalidTransition
#qualified_from_name — StateMachine::Transition
#qualified_to_name — StateMachine::Transition
#read — StateMachine::Machine
#remove_from_index — StateMachine::NodeCollection
#reset — StateMachine::Event
#reset — StateMachine::Integrations::DataMapper
#reset — StateMachine::Transition
#reset — StateMachine::Integrations::ActiveModel
#reset — StateMachine::Integrations::Sequel
#reset — StateMachine::Machine
#rollback — StateMachine::Transition
#run_callbacks — StateMachine::Transition
#run_scope — StateMachine::Machine
#run_scope — StateMachine::Integrations::Sequel
#runs_validations_on_action? — StateMachine::Integrations::MongoMapper
#runs_validations_on_action? — StateMachine::Integrations::ActiveModel
#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_machines — StateMachine::ClassMethods
#supports_mass_assignment_security? — StateMachine::Integrations::ActiveRecord
#supports_observers? — StateMachine::Integrations::ActiveModel
#supports_observers? — StateMachine::Integrations::MongoMapper
#supports_observers? — StateMachine::Integrations::ActiveRecord
#supports_validations? — StateMachine::Integrations::ActiveModel
#supports_validations? — StateMachine::Integrations::MongoMapper
#supports_validations? — StateMachine::Integrations::ActiveRecord
#supports_validations? — StateMachine::Integrations::DataMapper
#to_name — StateMachine::Transition
#to_name — StateMachine::Path
#to_states — StateMachine::Path
#to_states — StateMachine::PathCollection
#to_sym? — StateMachine::NodeCollection
#transaction — StateMachine::Integrations::Sequel
#transaction — StateMachine::Integrations::DataMapper
#transaction — StateMachine::Machine
#transaction — StateMachine::Integrations::ActiveRecord
#transient? — StateMachine::Transition
#transition — StateMachine::Machine
#transition — StateMachine::StateContext
#transition — StateMachine::Event
#transition_for — StateMachine::Event
#transitions — StateMachine::MachineCollection
#transitions_for — StateMachine::EventCollection
#translate — StateMachine::Integrations::ActiveRecord
#translate — StateMachine::Integrations::MongoMapper
#translate — StateMachine::Integrations::ActiveModel
#update — StateMachine::NodeCollection
#update_index — StateMachine::NodeCollection
#update_with_transition — StateMachine::Integrations::ActiveModel::Observer
#valid_for — StateMachine::EventCollection
#value — StateMachine::NodeCollection
#value — StateMachine::State
#version — StateMachine::Integrations::Base::ClassMethods
#versions — StateMachine::Integrations::Base::ClassMethods
#walk — StateMachine::Path
#within_transaction — StateMachine::Transition
#within_transaction — StateMachine::Machine
#write — StateMachine::Integrations::Mongoid
#write — StateMachine::Machine
#write — StateMachine::Integrations::Sequel