change has_one to has_many: solving the failing test of commit 29f5d14