fix has_one => has_many => has_many name generation
Merge pull request #232 from basvanwesting/fix_name_generation

fix "has_one => has_many => has_many" name generation