views:

46

answers:

0

As title, I am talking about the alter-ego gem (http://alter-ego.rubyforge.org). I need to determine if I am going to execute my validation depending on the transition called. The best alternative I have now is add a callback to transition, but that's rather clumsy as I have to do it on every transition.