seatgeek/soulmate — pull request #42 by dagosi89 (2014-08-13 20:54:30+00:00)
Title: Add error message to ArgumentError when adding a new item to a loader and the keys 'id' and 'term' are not defined.

I think is a good practice to add this message when the `ArgumentError` is raised.

I started playing around with this gem and I got an `ArgumentError` when trying to create a simple item in the `Loader`. The only way to realize what was missing was checking part in the documentation and fully in the `add` method in the `Loader` class. I hope this message helps someone else when adding items.