Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [96b20e685f8b09b731a77906e40f68cdd97c7b5f] by Scott Jacobsen

Revision 96b20e685f8b09b731a77906e40f68cdd97c7b5f, committed by Scott Jacobsen · November 18th, 2015 @ 02:39 PM

Clarify docs around the after_commit callback

It appears after_commit callbacks only fire when using the bang methods. I understand the non-bang methods do not save the model, but I expected the callbacks to fire when the model is actually saved.

item.approve
item.save!

But this does fire the callback:

item.approve!

https://github.com/aasm/aasm/commit/96b20e685f8b09b731a77906e40f68c...

1 changed file

  • M README.md