GitHub PullRequestEvent at 2014-05-28 10:18:34
Repository: dough-ruby
Actor: modsognir
Payload: {"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/5","id":16419242,"html_url":"https://github.com/moneyadviceservice/dough-ruby/pull/5","diff_url":"https://github.com/moneyadviceservice/dough-ruby/pull/5.diff","patch_url":"https://github.com/moneyadviceservice/dough-ruby/pull/5.patch","issue_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/5","number":5,"state":"open","title":"Validation Form Builder uses the form's model by default","user":{"login":"modsognir","id":103191,"avatar_url":"https://avatars.githubusercontent.com/u/103191?","gravatar_id":"e4ea03904632c02a9281718e52dc4ba6","url":"https://api.github.com/users/modsognir","html_url":"https://github.com/modsognir","followers_url":"https://api.github.com/users/modsognir/followers","following_url":"https://api.github.com/users/modsognir/following{/other_user}","gists_url":"https://api.github.com/users/modsognir/gists{/gist_id}","starred_url":"https://api.github.com/users/modsognir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modsognir/subscriptions","organizations_url":"https://api.github.com/users/modsognir/orgs","repos_url":"https://api.github.com/users/modsognir/repos","events_url":"https://api.github.com/users/modsognir/events{/privacy}","received_events_url":"https://api.github.com/users/modsognir/received_events","type":"User","site_admin":false},"body":"I've seen usage examples in nested forms such as `f.errors_for person.object, :salary`. This isn't necessary as `person.errors_for :salary` will have the exact same effect - the form builder has access to the correct object in the correct context. \r\n\r\nThis pull request defaults to using the internal object while allowing for a model to be passed in with the same syntax if necessary.","created_at":"2014-05-28T10:18:34Z","updated_at":"2014-05-28T10:18:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/5/commits","review_comments_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/5/comments","review_comment_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/comments/{number}","comments_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/5/comments","statuses_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/statuses/a4d490167fe801cecae570d18cf32e38492475cf","head":{"label":"moneyadviceservice:builder-uses-form-model","ref":"builder-uses-form-model","sha":"a4d490167fe801cecae570d18cf32e38492475cf","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?","gravatar_id":"6c3f1060f901222015e8af3abd5f707b","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":19938761,"name":"dough-ruby","full_name":"moneyadviceservice/dough-ruby","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?","gravatar_id":"6c3f1060f901222015e8af3abd5f707b","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/dough-ruby","description":"Ruby ingredients for https://github.com/moneyadviceservice/dough","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/dough-ruby","forks_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/comments/{number}","contents_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/releases{/id}","created_at":"2014-05-19T11:08:12Z","updated_at":"2014-05-28T10:18:34Z","pushed_at":"2014-05-28T10:14:14Z","git_url":"git://github.com/moneyadviceservice/dough-ruby.git","ssh_url":"git@github.com:moneyadviceservice/dough-ruby.git","clone_url":"https://github.com/moneyadviceservice/dough-ruby.git","svn_url":"https://github.com/moneyadviceservice/dough-ruby","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"moneyadviceservice:master","ref":"master","sha":"a0ac48f739ef3adfec9beabe2557ed9f65123283","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?","gravatar_id":"6c3f1060f901222015e8af3abd5f707b","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":19938761,"name":"dough-ruby","full_name":"moneyadviceservice/dough-ruby","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars.githubusercontent.com/u/2064781?","gravatar_id":"6c3f1060f901222015e8af3abd5f707b","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/dough-ruby","description":"Ruby ingredients for https://github.com/moneyadviceservice/dough","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/dough-ruby","forks_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/comments/{number}","contents_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/dough-ruby/releases{/id}","created_at":"2014-05-19T11:08:12Z","updated_at":"2014-05-28T10:18:34Z","pushed_at":"2014-05-28T10:14:14Z","git_url":"git://github.com/moneyadviceservice/dough-ruby.git","ssh_url":"git@github.com:moneyadviceservice/dough-ruby.git","clone_url":"https://github.com/moneyadviceservice/dough-ruby.git","svn_url":"https://github.com/moneyadviceservice/dough-ruby","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/5"},"html":{"href":"https://github.com/moneyadviceservice/dough-ruby/pull/5"},"issue":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/5"},"comments":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/moneyadviceservice/dough-ruby/statuses/a4d490167fe801cecae570d18cf32e38492475cf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":2}}