pseudo_relations appear only if has_many is defined
Merge pull request #1 from bartlomiejdanek/master

fix for pseudo_relations