Forget it. I just found that self in the do block contains @previously_changed, which holds anything I need. Hobo is (as usual) way ahead of me :)
Regards, Ronny On Thursday, July 12, 2012 11:58:30 PM UTC+2, Ronny Hanssen wrote: > > Hi, > > I have defined a transition with :param for a couple of fields that the > user may change when the transition is invoked. So far so good. I then > added a do block for the transition in order for me to send an email > about the changes. > > The problem is that I want to indicate in the mail what has changed (old > value *and* new value). Is there some way I can access the record values > as they where *before* the transition was run? > > Regards, > Ronny > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/hyjj8NSG7_oJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
