vigetlabs/sow — pull request #9 by ltk (2014-01-09 04:56:40+00:00)
Title: Add more helpful MissingDependencyError message

Previously when you had a reference to a non-existant sow_record (for
instance if you had only 2 Post records defined in posts.yml and had a
reference to 'sow_record(Post, 6)' somewhere within comments.yml) an
exception was raised that did not help locate the missing dependency.
Thus ensued an unpleasant treasure hunt through all of your seed record files.

This commit adds a better error message to MissingDependencyErrors, so
if you reference 'sow_record(Post, 6)', and it doesn't exist, you get an
error saying that sow_record(Post, 6) doesn't exist.