We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
In your AASM section in the class:
event :do_something do transitions from: :state_a, to: :state_b after do |my_arg| call_something(my_arg) end end
To pass this argument simply use the bang syntax as normal, and add the argument.
my_object.do_something!(123)