GitHub PullRequestReviewCommentEvent at 2014-05-09 13:27:38
Repository: Coolsoft-14
Actor: AhmedElassuty
Payload: {"comment":{"url":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/comments/12474920","id":12474920,"diff_hunk":"@@ -0,0 +1,17 @@\n+class Assignment < ActiveRecord::Base\n+\n+\t#Validations\n+\n+\t#Relations\n+\tbelongs_to :course\n+\tbelongs_to :owner, polymorphic: true\n+\n+\thas_many :grades, dependent: :destroy","path":"tutor/app/models/assignment.rb","position":9,"original_position":9,"commit_id":"933abf5a158d62d2f8d519c0bffa2abd133929f4","original_commit_id":"933abf5a158d62d2f8d519c0bffa2abd133929f4","user":{"login":"AhmedElassuty","id":4674035,"avatar_url":"https://avatars.githubusercontent.com/u/4674035?","gravatar_id":"940be63d68f23136679e76ce30df8889","url":"https://api.github.com/users/AhmedElassuty","html_url":"https://github.com/AhmedElassuty","followers_url":"https://api.github.com/users/AhmedElassuty/followers","following_url":"https://api.github.com/users/AhmedElassuty/following{/other_user}","gists_url":"https://api.github.com/users/AhmedElassuty/gists{/gist_id}","starred_url":"https://api.github.com/users/AhmedElassuty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AhmedElassuty/subscriptions","organizations_url":"https://api.github.com/users/AhmedElassuty/orgs","repos_url":"https://api.github.com/users/AhmedElassuty/repos","events_url":"https://api.github.com/users/AhmedElassuty/events{/privacy}","received_events_url":"https://api.github.com/users/AhmedElassuty/received_events","type":"User","site_admin":false},"body":"Are you sure that this relation should be here or it should be in the AssignmentProblem as it depends on if we gonna trigger the grade of the student in the assignment as whole or in each problem separate. ? @ahmed93 ","created_at":"2014-05-09T13:27:38Z","updated_at":"2014-05-09T13:27:38Z","html_url":"https://github.com/alaashafaee/Coolsoft-14/pull/453#discussion_r12474920","pull_request_url":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/453","_links":{"self":{"href":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/comments/12474920"},"html":{"href":"https://github.com/alaashafaee/Coolsoft-14/pull/453#discussion_r12474920"},"pull_request":{"href":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/453"}}}}