{"action":"created","comment":{"url":"https://api.github.com/repos/eLobato/foreman/pulls/comments/41266557","id":41266557,"diff_hunk":"@@ -3,7 +3,7 @@ class UserMailNotification < ActiveRecord::Base\n   belongs_to :mail_notification\n   include AccessibleAttributes\n \n-  validates :user_id, :presence => true\n+  #validates :user_id, :presence => true","path":"app/models/user_mail_notification.rb","position":5,"original_position":5,"commit_id":"926b8b5ef5277f4295d52c07474e26b069564aef","original_commit_id":"926b8b5ef5277f4295d52c07474e26b069564aef","user":{"login":"eLobato","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/eLobato","html_url":"https://github.com/eLobato","followers_url":"https://api.github.com/users/eLobato/followers","following_url":"https://api.github.com/users/eLobato/following{/other_user}","gists_url":"https://api.github.com/users/eLobato/gists{/gist_id}","starred_url":"https://api.github.com/users/eLobato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLobato/subscriptions","organizations_url":"https://api.github.com/users/eLobato/orgs","repos_url":"https://api.github.com/users/eLobato/repos","events_url":"https://api.github.com/users/eLobato/events{/privacy}","received_events_url":"https://api.github.com/users/eLobato/received_events","type":"User","site_admin":false},"body":"Same here, no need to remove the validation, just remove the \"_id\"","created_at":"2015-10-06T13:58:13Z","updated_at":"2015-10-06T13:58:13Z","html_url":"https://github.com/eLobato/foreman/pull/12#discussion_r41266557","pull_request_url":"https://api.github.com/repos/eLobato/foreman/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/eLobato/foreman/pulls/comments/41266557"},"html":{"href":"https://github.com/eLobato/foreman/pull/12#discussion_r41266557"},"pull_request":{"href":"https://api.github.com/repos/eLobato/foreman/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/eLobato/foreman/pulls/12","id":46905224,"html_url":"https://github.com/eLobato/foreman/pull/12","diff_url":"https://github.com/eLobato/foreman/pull/12.diff","patch_url":"https://github.com/eLobato/foreman/pull/12.patch","issue_url":"https://api.github.com/repos/eLobato/foreman/issues/12","number":12,"state":"open","locked":false,"title":"many tests passing - rails4","user":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-06T13:52:55Z","updated_at":"2015-10-06T13:58:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b74eb6590cb223ac43513c4a4a2a81303210881","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eLobato/foreman/pulls/12/commits","review_comments_url":"https://api.github.com/repos/eLobato/foreman/pulls/12/comments","review_comment_url":"https://api.github.com/repos/eLobato/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eLobato/foreman/issues/12/comments","statuses_url":"https://api.github.com/repos/eLobato/foreman/statuses/926b8b5ef5277f4295d52c07474e26b069564aef","head":{"label":"unorthodoxgeek:rails4_from_scratch","ref":"rails4_from_scratch","sha":"926b8b5ef5277f4295d52c07474e26b069564aef","user":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"repo":{"id":27370503,"name":"foreman","full_name":"unorthodoxgeek/foreman","owner":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unorthodoxgeek/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/unorthodoxgeek/foreman","forks_url":"https://api.github.com/repos/unorthodoxgeek/foreman/forks","keys_url":"https://api.github.com/repos/unorthodoxgeek/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unorthodoxgeek/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unorthodoxgeek/foreman/teams","hooks_url":"https://api.github.com/repos/unorthodoxgeek/foreman/hooks","issue_events_url":"https://api.github.com/repos/unorthodoxgeek/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/unorthodoxgeek/foreman/events","assignees_url":"https://api.github.com/repos/unorthodoxgeek/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/unorthodoxgeek/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/unorthodoxgeek/foreman/tags","blobs_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unorthodoxgeek/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/unorthodoxgeek/foreman/languages","stargazers_url":"https://api.github.com/repos/unorthodoxgeek/foreman/stargazers","contributors_url":"https://api.github.com/repos/unorthodoxgeek/foreman/contributors","subscribers_url":"https://api.github.com/repos/unorthodoxgeek/foreman/subscribers","subscription_url":"https://api.github.com/repos/unorthodoxgeek/foreman/subscription","commits_url":"https://api.github.com/repos/unorthodoxgeek/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/unorthodoxgeek/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/unorthodoxgeek/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/unorthodoxgeek/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/unorthodoxgeek/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unorthodoxgeek/foreman/merges","archive_url":"https://api.github.com/repos/unorthodoxgeek/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unorthodoxgeek/foreman/downloads","issues_url":"https://api.github.com/repos/unorthodoxgeek/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/unorthodoxgeek/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/unorthodoxgeek/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/unorthodoxgeek/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unorthodoxgeek/foreman/labels{/name}","releases_url":"https://api.github.com/repos/unorthodoxgeek/foreman/releases{/id}","created_at":"2014-12-01T08:46:29Z","updated_at":"2015-02-22T13:59:01Z","pushed_at":"2015-10-06T13:52:19Z","git_url":"git://github.com/unorthodoxgeek/foreman.git","ssh_url":"git@github.com:unorthodoxgeek/foreman.git","clone_url":"https://github.com/unorthodoxgeek/foreman.git","svn_url":"https://github.com/unorthodoxgeek/foreman","homepage":"http://theforeman.org","size":33570,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"eLobato:rails4_from_scratch","ref":"rails4_from_scratch","sha":"1cd02a531bd359d9df918b8da3d1a59876c1fde7","user":{"login":"eLobato","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/eLobato","html_url":"https://github.com/eLobato","followers_url":"https://api.github.com/users/eLobato/followers","following_url":"https://api.github.com/users/eLobato/following{/other_user}","gists_url":"https://api.github.com/users/eLobato/gists{/gist_id}","starred_url":"https://api.github.com/users/eLobato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLobato/subscriptions","organizations_url":"https://api.github.com/users/eLobato/orgs","repos_url":"https://api.github.com/users/eLobato/repos","events_url":"https://api.github.com/users/eLobato/events{/privacy}","received_events_url":"https://api.github.com/users/eLobato/received_events","type":"User","site_admin":false},"repo":{"id":5842097,"name":"foreman","full_name":"eLobato/foreman","owner":{"login":"eLobato","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/eLobato","html_url":"https://github.com/eLobato","followers_url":"https://api.github.com/users/eLobato/followers","following_url":"https://api.github.com/users/eLobato/following{/other_user}","gists_url":"https://api.github.com/users/eLobato/gists{/gist_id}","starred_url":"https://api.github.com/users/eLobato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLobato/subscriptions","organizations_url":"https://api.github.com/users/eLobato/orgs","repos_url":"https://api.github.com/users/eLobato/repos","events_url":"https://api.github.com/users/eLobato/events{/privacy}","received_events_url":"https://api.github.com/users/eLobato/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eLobato/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/eLobato/foreman","forks_url":"https://api.github.com/repos/eLobato/foreman/forks","keys_url":"https://api.github.com/repos/eLobato/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eLobato/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eLobato/foreman/teams","hooks_url":"https://api.github.com/repos/eLobato/foreman/hooks","issue_events_url":"https://api.github.com/repos/eLobato/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/eLobato/foreman/events","assignees_url":"https://api.github.com/repos/eLobato/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/eLobato/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/eLobato/foreman/tags","blobs_url":"https://api.github.com/repos/eLobato/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eLobato/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eLobato/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/eLobato/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eLobato/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/eLobato/foreman/languages","stargazers_url":"https://api.github.com/repos/eLobato/foreman/stargazers","contributors_url":"https://api.github.com/repos/eLobato/foreman/contributors","subscribers_url":"https://api.github.com/repos/eLobato/foreman/subscribers","subscription_url":"https://api.github.com/repos/eLobato/foreman/subscription","commits_url":"https://api.github.com/repos/eLobato/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/eLobato/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/eLobato/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/eLobato/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/eLobato/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/eLobato/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eLobato/foreman/merges","archive_url":"https://api.github.com/repos/eLobato/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eLobato/foreman/downloads","issues_url":"https://api.github.com/repos/eLobato/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/eLobato/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/eLobato/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/eLobato/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eLobato/foreman/labels{/name}","releases_url":"https://api.github.com/repos/eLobato/foreman/releases{/id}","created_at":"2012-09-17T14:23:49Z","updated_at":"2015-05-06T16:17:15Z","pushed_at":"2015-10-06T13:52:56Z","git_url":"git://github.com/eLobato/foreman.git","ssh_url":"git@github.com:eLobato/foreman.git","clone_url":"https://github.com/eLobato/foreman.git","svn_url":"https://github.com/eLobato/foreman","homepage":"http://theforeman.org","size":34184,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/eLobato/foreman/pulls/12"},"html":{"href":"https://github.com/eLobato/foreman/pull/12"},"issue":{"href":"https://api.github.com/repos/eLobato/foreman/issues/12"},"comments":{"href":"https://api.github.com/repos/eLobato/foreman/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/eLobato/foreman/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/eLobato/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eLobato/foreman/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/eLobato/foreman/statuses/926b8b5ef5277f4295d52c07474e26b069564aef"}}}}