{"action":"opened","number":6166,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/6166","id":31909340,"html_url":"https://github.com/cakephp/cakephp/pull/6166","diff_url":"https://github.com/cakephp/cakephp/pull/6166.diff","patch_url":"https://github.com/cakephp/cakephp/pull/6166.patch","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/6166","number":6166,"state":"open","locked":false,"title":"Fix database setup instructions","user":{"login":"burriko","id":64014,"avatar_url":"https://avatars.githubusercontent.com/u/64014?v=3","gravatar_id":"","url":"https://api.github.com/users/burriko","html_url":"https://github.com/burriko","followers_url":"https://api.github.com/users/burriko/followers","following_url":"https://api.github.com/users/burriko/following{/other_user}","gists_url":"https://api.github.com/users/burriko/gists{/gist_id}","starred_url":"https://api.github.com/users/burriko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burriko/subscriptions","organizations_url":"https://api.github.com/users/burriko/orgs","repos_url":"https://api.github.com/users/burriko/repos","events_url":"https://api.github.com/users/burriko/events{/privacy}","received_events_url":"https://api.github.com/users/burriko/received_events","type":"User","site_admin":false},"body":"When trying to use the 3.0 ORM outside of CakePHP I ran into problems when following the instructions provided in the README. This fixes those instructions.\r\n\r\nconfig() seems to be the correct method to use, not create() which doesn't exist. Also had to add 'className' and change 'login' to 'username'.","created_at":"2015-03-25T10:29:11Z","updated_at":"2015-03-25T10:29:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cakephp/cakephp/pulls/6166/commits","review_comments_url":"https://api.github.com/repos/cakephp/cakephp/pulls/6166/comments","review_comment_url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/6166/comments","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/9392ee264d137077bee45cd262b2d50e79debd80","head":{"label":"burriko:burriko-patch-1","ref":"burriko-patch-1","sha":"9392ee264d137077bee45cd262b2d50e79debd80","user":{"login":"burriko","id":64014,"avatar_url":"https://avatars.githubusercontent.com/u/64014?v=3","gravatar_id":"","url":"https://api.github.com/users/burriko","html_url":"https://github.com/burriko","followers_url":"https://api.github.com/users/burriko/followers","following_url":"https://api.github.com/users/burriko/following{/other_user}","gists_url":"https://api.github.com/users/burriko/gists{/gist_id}","starred_url":"https://api.github.com/users/burriko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burriko/subscriptions","organizations_url":"https://api.github.com/users/burriko/orgs","repos_url":"https://api.github.com/users/burriko/repos","events_url":"https://api.github.com/users/burriko/events{/privacy}","received_events_url":"https://api.github.com/users/burriko/received_events","type":"User","site_admin":false},"repo":{"id":32857442,"name":"cakephp","full_name":"burriko/cakephp","owner":{"login":"burriko","id":64014,"avatar_url":"https://avatars.githubusercontent.com/u/64014?v=3","gravatar_id":"","url":"https://api.github.com/users/burriko","html_url":"https://github.com/burriko","followers_url":"https://api.github.com/users/burriko/followers","following_url":"https://api.github.com/users/burriko/following{/other_user}","gists_url":"https://api.github.com/users/burriko/gists{/gist_id}","starred_url":"https://api.github.com/users/burriko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burriko/subscriptions","organizations_url":"https://api.github.com/users/burriko/orgs","repos_url":"https://api.github.com/users/burriko/repos","events_url":"https://api.github.com/users/burriko/events{/privacy}","received_events_url":"https://api.github.com/users/burriko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/burriko/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":true,"url":"https://api.github.com/repos/burriko/cakephp","forks_url":"https://api.github.com/repos/burriko/cakephp/forks","keys_url":"https://api.github.com/repos/burriko/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burriko/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burriko/cakephp/teams","hooks_url":"https://api.github.com/repos/burriko/cakephp/hooks","issue_events_url":"https://api.github.com/repos/burriko/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/burriko/cakephp/events","assignees_url":"https://api.github.com/repos/burriko/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/burriko/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/burriko/cakephp/tags","blobs_url":"https://api.github.com/repos/burriko/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burriko/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burriko/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/burriko/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burriko/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/burriko/cakephp/languages","stargazers_url":"https://api.github.com/repos/burriko/cakephp/stargazers","contributors_url":"https://api.github.com/repos/burriko/cakephp/contributors","subscribers_url":"https://api.github.com/repos/burriko/cakephp/subscribers","subscription_url":"https://api.github.com/repos/burriko/cakephp/subscription","commits_url":"https://api.github.com/repos/burriko/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/burriko/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/burriko/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/burriko/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/burriko/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/burriko/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burriko/cakephp/merges","archive_url":"https://api.github.com/repos/burriko/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burriko/cakephp/downloads","issues_url":"https://api.github.com/repos/burriko/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/burriko/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/burriko/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/burriko/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burriko/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/burriko/cakephp/releases{/id}","created_at":"2015-03-25T10:20:38Z","updated_at":"2015-03-25T10:20:45Z","pushed_at":"2015-03-25T10:28:03Z","git_url":"git://github.com/burriko/cakephp.git","ssh_url":"git@github.com:burriko/cakephp.git","clone_url":"https://github.com/burriko/cakephp.git","svn_url":"https://github.com/burriko/cakephp","homepage":"http://cakephp.org","size":158215,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cakephp:master","ref":"master","sha":"421b7ee8dd992b17db5ca4dd950148d97b0b92a4","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":656494,"name":"cakephp","full_name":"cakephp/cakephp","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":false,"url":"https://api.github.com/repos/cakephp/cakephp","forks_url":"https://api.github.com/repos/cakephp/cakephp/forks","keys_url":"https://api.github.com/repos/cakephp/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/cakephp/teams","hooks_url":"https://api.github.com/repos/cakephp/cakephp/hooks","issue_events_url":"https://api.github.com/repos/cakephp/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/cakephp/events","assignees_url":"https://api.github.com/repos/cakephp/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/cakephp/tags","blobs_url":"https://api.github.com/repos/cakephp/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/cakephp/languages","stargazers_url":"https://api.github.com/repos/cakephp/cakephp/stargazers","contributors_url":"https://api.github.com/repos/cakephp/cakephp/contributors","subscribers_url":"https://api.github.com/repos/cakephp/cakephp/subscribers","subscription_url":"https://api.github.com/repos/cakephp/cakephp/subscription","commits_url":"https://api.github.com/repos/cakephp/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/cakephp/merges","archive_url":"https://api.github.com/repos/cakephp/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/cakephp/downloads","issues_url":"https://api.github.com/repos/cakephp/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/cakephp/releases{/id}","created_at":"2010-05-08T14:38:22Z","updated_at":"2015-03-25T10:19:28Z","pushed_at":"2015-03-25T08:40:27Z","git_url":"git://github.com/cakephp/cakephp.git","ssh_url":"git@github.com:cakephp/cakephp.git","clone_url":"https://github.com/cakephp/cakephp.git","svn_url":"https://github.com/cakephp/cakephp","homepage":"http://cakephp.org","size":158215,"stargazers_count":5608,"watchers_count":5608,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2517,"mirror_url":null,"open_issues_count":130,"forks":2517,"open_issues":130,"watchers":5608,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/6166"},"html":{"href":"https://github.com/cakephp/cakephp/pull/6166"},"issue":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/6166"},"comments":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/6166/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/6166/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/6166/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/cakephp/statuses/9392ee264d137077bee45cd262b2d50e79debd80"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}