flyerhzm/simple_cacheable — pull request #23 by ScotterC (2013-07-19 19:29:16+00:00)
Title: Callback bug

What was happening here is the Image model would raise an error when trying to expire the associations it had if the image wasn't currently associated with anything. This would in turn break all further after_commit callbacks. The solution is to check whether the reverse_association exists before calling any further methods on it.