johtso/backbone-nested — pull request #1 by johtso (2013-07-29 11:22:12+00:00)
Title: Check for existence of relations property

If we don't do this, and `.relations` is not defined, then `_.has` will throw a `"Cannot convert undefined or null to object"` exception.