Hi,
is there a way to skip a step in a transaction ?
Something like a “skip_step” alias
step :step1
step :step2
def step1
skip_step if condition
...
end
def step2
...
end
or better :
step :step1, only: [:is_condition]
step :step2
def is_condition
true === @condition
end