Using workflow is amazing! it defines states and new methods as "can_submit?" and so "submit!"
there is a way to verify an action and so execute it?
def do(name)
canDoIt = eval "self.can_" + name + "?"
canDoIt ? eval "self." + name + "!" : "Sorry...cant do that action..."
end
how could be done? thanks!