Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/state_machine/integrations/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ module Integrations #:nodoc:
# vehicle.ignite # => true
# vehicle.reload # => #<Vehicle id: 1, name: "Ford Explorer", state: "idling">
#
# *Note* that if you want a transition to update additional attributes of the record,
# either the changes need to be made in a +before_transition+ callback or you need
# to save the record manually.
#
# == Events
#
# As described in StateMachine::InstanceMethods#state_machine, event
Expand Down