what is the difference between class transaction definition(method) &
instance transaction definition(method) in Active Record ?
On Mar 10, 5:37 am, Pokkai D. [email protected]
wrote:
what is the difference between class transaction definition(method) &
instance transaction definition(method) in Active Record ?
Sometimes the easiest thing to do is to just look at the rails source.
The instance method transaction looks like
def transaction(&block)
self.class.transaction(&block)
end
In other words there is no difference.
Fred