rails/rails — pull request #6226 by gnufied (2012-05-09 12:30:31+00:00)
Title: Update tranasaction state when record gets commited 

The pull request ensures that, when record gets committed to DB, transaction state gets updated from latest values. Without the patch, calling `save` from `after_commit :on => :create` callback will trigger `after_commit :on => :create` again, which I think is wrong. The current behaviour is also not historically consistent with, https://github.com/freelancing-god/after_commit .