make relation check more railsy... yes, that's a word