toddobryan / schoolbox

Everything a school needs in one easy package. (Eventually.)
0 stars 0 forks source link

we need to scrutinize every occurrence of .eq(...) in the database query system #36

Open toddobryan opened 10 years ago

toddobryan commented 10 years ago

Checking if two DB objects are eq to each other is not safe. We should add a variable and check that the ids are equal, just to be sure nothing weird happens.

Justin00892 commented 10 years ago

Files that contain .eq(...) and need to be fixed.

(Justin) app/controllers/

app/models/

modules/courses

(Justin) modules/users

(Justin) test/models

Please tell me when an instance has been looked at so I can update this list