{"comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments/16253939","html_url":"https://github.com/code-dot-org/code-dot-org/commit/9c1f863daff275d774dbcdf211233c05e69b3eaa#commitcomment-16253939","id":16253939,"user":{"login":"joshlory","id":413693,"avatar_url":"https://avatars.githubusercontent.com/u/413693?v=3","gravatar_id":"","url":"https://api.github.com/users/joshlory","html_url":"https://github.com/joshlory","followers_url":"https://api.github.com/users/joshlory/followers","following_url":"https://api.github.com/users/joshlory/following{/other_user}","gists_url":"https://api.github.com/users/joshlory/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlory/subscriptions","organizations_url":"https://api.github.com/users/joshlory/orgs","repos_url":"https://api.github.com/users/joshlory/repos","events_url":"https://api.github.com/users/joshlory/events{/privacy}","received_events_url":"https://api.github.com/users/joshlory/received_events","type":"User","site_admin":false},"position":19,"line":29,"path":"dashboard/app/models/plc/enrollment_task_assignment.rb","commit_id":"9c1f863daff275d774dbcdf211233c05e69b3eaa","created_at":"2016-02-22T22:30:19Z","updated_at":"2016-02-22T22:30:19Z","body":"I know you're not adding validation yet, but you may want to add `validates :user_course_enrollment, presence: true` for `EnrollmentModuleAssignment`.  Otherwise I think this can blow up if `:user_course_enrollment` is nil."}}