• Answers
  • Web
Answer 4 out of 5
 
4 helpful answers
A:

That's not it. the code you linked is just a quick hack intended  to verify which transaction method gets called by setting a trace function and printing all the data on function calls when name contains word transaction and then running some ActiveRecord transaction code. The result: it's a class method


ActiveRecord::Transactions::ClassMethods#transaction
 
Comment About This Answer (or add your own answer)

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners