{"action":"opened","number":161,"pull_request":{"url":"https://api.github.com/repos/octobercms/library/pulls/161","id":54936191,"html_url":"https://github.com/octobercms/library/pull/161","diff_url":"https://github.com/octobercms/library/pull/161.diff","patch_url":"https://github.com/octobercms/library/pull/161.patch","issue_url":"https://api.github.com/repos/octobercms/library/issues/161","number":161,"state":"open","locked":false,"title":"Fix following split of attribute and relation values in L5.1","user":{"login":"jwilson8767","id":10873576,"avatar_url":"https://avatars.githubusercontent.com/u/10873576?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilson8767","html_url":"https://github.com/jwilson8767","followers_url":"https://api.github.com/users/jwilson8767/followers","following_url":"https://api.github.com/users/jwilson8767/following{/other_user}","gists_url":"https://api.github.com/users/jwilson8767/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilson8767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilson8767/subscriptions","organizations_url":"https://api.github.com/users/jwilson8767/orgs","repos_url":"https://api.github.com/users/jwilson8767/repos","events_url":"https://api.github.com/users/jwilson8767/events{/privacy}","received_events_url":"https://api.github.com/users/jwilson8767/received_events","type":"User","site_admin":false},"body":"See [54f984ec6e104de63e27c21cd629e353fdb00aa3](https://github.com/laravel/framework/commit/54f984ec6e104de63e27c21cd629e353fdb00aa3) for why this change is necessary.\r\n\r\nThis fixes: \r\n ` [BadMethodCallException]  Call to undefined method October\\Rain\\Database\\QueryBuilder::permissions()` and `[BadMethodCallException] Call to undefined method October\\Rain\\Database\\QueryBuilder::send_invite()` on `artisan october:up`\r\n\r\nIt also fixes various issues where classes attempted to use `$model->someAttribute` before the model was saved.","created_at":"2016-01-04T00:38:33Z","updated_at":"2016-01-04T00:38:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"701e2bb01bd98febb06022aca98ff0678c443e2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/octobercms/library/pulls/161/commits","review_comments_url":"https://api.github.com/repos/octobercms/library/pulls/161/comments","review_comment_url":"https://api.github.com/repos/octobercms/library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octobercms/library/issues/161/comments","statuses_url":"https://api.github.com/repos/octobercms/library/statuses/63b6be8844e7b8b1e908c04984fcea436c5b0b89","head":{"label":"jwilson8767:patch-1","ref":"patch-1","sha":"63b6be8844e7b8b1e908c04984fcea436c5b0b89","user":{"login":"jwilson8767","id":10873576,"avatar_url":"https://avatars.githubusercontent.com/u/10873576?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilson8767","html_url":"https://github.com/jwilson8767","followers_url":"https://api.github.com/users/jwilson8767/followers","following_url":"https://api.github.com/users/jwilson8767/following{/other_user}","gists_url":"https://api.github.com/users/jwilson8767/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilson8767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilson8767/subscriptions","organizations_url":"https://api.github.com/users/jwilson8767/orgs","repos_url":"https://api.github.com/users/jwilson8767/repos","events_url":"https://api.github.com/users/jwilson8767/events{/privacy}","received_events_url":"https://api.github.com/users/jwilson8767/received_events","type":"User","site_admin":false},"repo":{"id":45728926,"name":"library","full_name":"jwilson8767/library","owner":{"login":"jwilson8767","id":10873576,"avatar_url":"https://avatars.githubusercontent.com/u/10873576?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilson8767","html_url":"https://github.com/jwilson8767","followers_url":"https://api.github.com/users/jwilson8767/followers","following_url":"https://api.github.com/users/jwilson8767/following{/other_user}","gists_url":"https://api.github.com/users/jwilson8767/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilson8767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilson8767/subscriptions","organizations_url":"https://api.github.com/users/jwilson8767/orgs","repos_url":"https://api.github.com/users/jwilson8767/repos","events_url":"https://api.github.com/users/jwilson8767/events{/privacy}","received_events_url":"https://api.github.com/users/jwilson8767/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwilson8767/library","description":"October Rain Library","fork":true,"url":"https://api.github.com/repos/jwilson8767/library","forks_url":"https://api.github.com/repos/jwilson8767/library/forks","keys_url":"https://api.github.com/repos/jwilson8767/library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwilson8767/library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwilson8767/library/teams","hooks_url":"https://api.github.com/repos/jwilson8767/library/hooks","issue_events_url":"https://api.github.com/repos/jwilson8767/library/issues/events{/number}","events_url":"https://api.github.com/repos/jwilson8767/library/events","assignees_url":"https://api.github.com/repos/jwilson8767/library/assignees{/user}","branches_url":"https://api.github.com/repos/jwilson8767/library/branches{/branch}","tags_url":"https://api.github.com/repos/jwilson8767/library/tags","blobs_url":"https://api.github.com/repos/jwilson8767/library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwilson8767/library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwilson8767/library/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwilson8767/library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwilson8767/library/statuses/{sha}","languages_url":"https://api.github.com/repos/jwilson8767/library/languages","stargazers_url":"https://api.github.com/repos/jwilson8767/library/stargazers","contributors_url":"https://api.github.com/repos/jwilson8767/library/contributors","subscribers_url":"https://api.github.com/repos/jwilson8767/library/subscribers","subscription_url":"https://api.github.com/repos/jwilson8767/library/subscription","commits_url":"https://api.github.com/repos/jwilson8767/library/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwilson8767/library/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwilson8767/library/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwilson8767/library/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwilson8767/library/contents/{+path}","compare_url":"https://api.github.com/repos/jwilson8767/library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwilson8767/library/merges","archive_url":"https://api.github.com/repos/jwilson8767/library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwilson8767/library/downloads","issues_url":"https://api.github.com/repos/jwilson8767/library/issues{/number}","pulls_url":"https://api.github.com/repos/jwilson8767/library/pulls{/number}","milestones_url":"https://api.github.com/repos/jwilson8767/library/milestones{/number}","notifications_url":"https://api.github.com/repos/jwilson8767/library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwilson8767/library/labels{/name}","releases_url":"https://api.github.com/repos/jwilson8767/library/releases{/id}","created_at":"2015-11-07T08:41:07Z","updated_at":"2015-11-07T08:41:08Z","pushed_at":"2016-01-04T00:38:19Z","git_url":"git://github.com/jwilson8767/library.git","ssh_url":"git@github.com:jwilson8767/library.git","clone_url":"https://github.com/jwilson8767/library.git","svn_url":"https://github.com/jwilson8767/library","homepage":null,"size":1309,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"octobercms:stable","ref":"stable","sha":"a019479bd8fc30811f04d9390222db330bd0d62b","user":{"login":"octobercms","id":5554805,"avatar_url":"https://avatars.githubusercontent.com/u/5554805?v=3","gravatar_id":"","url":"https://api.github.com/users/octobercms","html_url":"https://github.com/octobercms","followers_url":"https://api.github.com/users/octobercms/followers","following_url":"https://api.github.com/users/octobercms/following{/other_user}","gists_url":"https://api.github.com/users/octobercms/gists{/gist_id}","starred_url":"https://api.github.com/users/octobercms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobercms/subscriptions","organizations_url":"https://api.github.com/users/octobercms/orgs","repos_url":"https://api.github.com/users/octobercms/repos","events_url":"https://api.github.com/users/octobercms/events{/privacy}","received_events_url":"https://api.github.com/users/octobercms/received_events","type":"Organization","site_admin":false},"repo":{"id":15426394,"name":"library","full_name":"octobercms/library","owner":{"login":"octobercms","id":5554805,"avatar_url":"https://avatars.githubusercontent.com/u/5554805?v=3","gravatar_id":"","url":"https://api.github.com/users/octobercms","html_url":"https://github.com/octobercms","followers_url":"https://api.github.com/users/octobercms/followers","following_url":"https://api.github.com/users/octobercms/following{/other_user}","gists_url":"https://api.github.com/users/octobercms/gists{/gist_id}","starred_url":"https://api.github.com/users/octobercms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobercms/subscriptions","organizations_url":"https://api.github.com/users/octobercms/orgs","repos_url":"https://api.github.com/users/octobercms/repos","events_url":"https://api.github.com/users/octobercms/events{/privacy}","received_events_url":"https://api.github.com/users/octobercms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octobercms/library","description":"October Rain Library","fork":false,"url":"https://api.github.com/repos/octobercms/library","forks_url":"https://api.github.com/repos/octobercms/library/forks","keys_url":"https://api.github.com/repos/octobercms/library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octobercms/library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octobercms/library/teams","hooks_url":"https://api.github.com/repos/octobercms/library/hooks","issue_events_url":"https://api.github.com/repos/octobercms/library/issues/events{/number}","events_url":"https://api.github.com/repos/octobercms/library/events","assignees_url":"https://api.github.com/repos/octobercms/library/assignees{/user}","branches_url":"https://api.github.com/repos/octobercms/library/branches{/branch}","tags_url":"https://api.github.com/repos/octobercms/library/tags","blobs_url":"https://api.github.com/repos/octobercms/library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octobercms/library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octobercms/library/git/refs{/sha}","trees_url":"https://api.github.com/repos/octobercms/library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octobercms/library/statuses/{sha}","languages_url":"https://api.github.com/repos/octobercms/library/languages","stargazers_url":"https://api.github.com/repos/octobercms/library/stargazers","contributors_url":"https://api.github.com/repos/octobercms/library/contributors","subscribers_url":"https://api.github.com/repos/octobercms/library/subscribers","subscription_url":"https://api.github.com/repos/octobercms/library/subscription","commits_url":"https://api.github.com/repos/octobercms/library/commits{/sha}","git_commits_url":"https://api.github.com/repos/octobercms/library/git/commits{/sha}","comments_url":"https://api.github.com/repos/octobercms/library/comments{/number}","issue_comment_url":"https://api.github.com/repos/octobercms/library/issues/comments{/number}","contents_url":"https://api.github.com/repos/octobercms/library/contents/{+path}","compare_url":"https://api.github.com/repos/octobercms/library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octobercms/library/merges","archive_url":"https://api.github.com/repos/octobercms/library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octobercms/library/downloads","issues_url":"https://api.github.com/repos/octobercms/library/issues{/number}","pulls_url":"https://api.github.com/repos/octobercms/library/pulls{/number}","milestones_url":"https://api.github.com/repos/octobercms/library/milestones{/number}","notifications_url":"https://api.github.com/repos/octobercms/library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octobercms/library/labels{/name}","releases_url":"https://api.github.com/repos/octobercms/library/releases{/id}","created_at":"2013-12-24T23:02:25Z","updated_at":"2015-12-22T09:50:48Z","pushed_at":"2016-01-04T00:38:33Z","git_url":"git://github.com/octobercms/library.git","ssh_url":"git@github.com:octobercms/library.git","clone_url":"https://github.com/octobercms/library.git","svn_url":"https://github.com/octobercms/library","homepage":null,"size":1360,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":13,"forks":60,"open_issues":13,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octobercms/library/pulls/161"},"html":{"href":"https://github.com/octobercms/library/pull/161"},"issue":{"href":"https://api.github.com/repos/octobercms/library/issues/161"},"comments":{"href":"https://api.github.com/repos/octobercms/library/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/octobercms/library/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/octobercms/library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octobercms/library/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/octobercms/library/statuses/63b6be8844e7b8b1e908c04984fcea436c5b0b89"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}