added 'pry' gem
fixed 'assignments' -> 'assignment' in assignment model
migration: added references to function into assignments