Object Level Transactions

Object level transactions have been deprecated in Rails 2, but you can use a plugin to restore its functionality:

http://ryandaigle.com/articles/2007/3/20/what-s-new-in-edge-rails-object-transactions-are-out

Best regards

Peter De Berdt

Peter De Berdt wrote:

I don’t know what site you are using, but I can’t find it in the official rails api docs at:

http://api.rubyonrails.com/classes/ActiveRecord/Transactions/ClassMethods.html

It does come up at

http://www.railsapi.org/ActiveRecord::Transactions::ClassMethods

which means that unofficial rails api hasn’t been updated to the latest version.

You should only rely on well generated api docs on your local computer and the official docs at api.rubyonrails.com (local docs install is still best, especially if you’re on edge)

Best regards

Peter De Berdt

Peter De Berdt wrote:

:slight_smile:

It must have slipped under the radar, I guess (it happens when it’s on a summary page). It would be nice if you could submit a patch for it so it doesn’t persist in later versions.

Best regards

Peter De Berdt

Peter De Berdt wrote: