View My Scores bug fix #270
View My Scores bug fix #270

Any record can be found by its primary key in the database if you
know what type of object you are looking for. Any time you have
an id passed in as a parameter, you can use the top level class
name which corresponds to the primary key in the database.

In this instance, the code was looking for an AssignmentQuestionnaire
object, and the id was available, so using the code
self.assignment_questionnaire.find_by... throws a NoMethodError
because the 'find' method is a class method of each model, not
an instance method called on a specific object.

mhhassan/expertiza,arpitashekhar/expertiza,joshio1/expertiza,kira0992/expertiza,rmmaily/expertiza,arpitashekhar/expertiza,akshayjain114/expertiza,expertiza/expertiza,michaelamoran/expertiza,akshayjain114/expertiza,kira0992/expertiza,mhhassan/expertiza,rmmaily/expertiza,joshio1/expertiza,expertiza/expertiza,sid5788/expertiza,akshayjain114/expertiza,sid5788/expertiza,arpitashekhar/expertiza,ApertureScienceInnovators/expertiza,michaelamoran/expertiza,urmilparikh95/expertiza,akshayjain114/expertiza,urmilparikh95/expertiza,kira0992/expertiza,michaelamoran/expertiza,rmmaily/expertiza,joshio1/expertiza,redsock88/expertiza,ApertureScienceInnovators/expertiza,arpitashekhar/expertiza,sid5788/expertiza,sid5788/expertiza,redsock88/expertiza,ApertureScienceInnovators/expertiza,urmilparikh95/expertiza,KunmiaoYang/expertiza,expertiza/expertiza,urmilparikh95/expertiza,expertiza/expertiza,michaelamoran/expertiza,mhhassan/expertiza,joshio1/expertiza,KunmiaoYang/expertiza,redsock88/expertiza,KunmiaoYang/expertiza,redsock88/expertiza,KunmiaoYang/expertiza,kira0992/expertiza,ApertureScienceInnovators/expertiza,mhhassan/expertiza,rmmaily/expertiza