fixed relationship syntax error and ran rake db:migrate