search for: remove_leav

Displaying 1 result from an estimated 1 matches for "remove_leav".

Did you mean: remove_leaves
2006 Mar 30
2
Transactions with different types of model object
...nt, a person and a tree : account=Account.find(... person=Person.find(... tree=Tree.find(... How do i start a transaction over the three of them. As far as i am aware doing it like this only covers the account objects : Account.transaction do account.withdraw(20) person.add_money(200) tree.remove_leaves(23) end Any ideas?? Thanks, Chris -- Posted via http://www.ruby-forum.com/.