{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/rom-rb/rom-rails/pulls/6","id":26743334,"html_url":"https://github.com/rom-rb/rom-rails/pull/6","diff_url":"https://github.com/rom-rb/rom-rails/pull/6.diff","patch_url":"https://github.com/rom-rb/rom-rails/pull/6.patch","issue_url":"https://api.github.com/repos/rom-rb/rom-rails/issues/6","number":6,"state":"closed","locked":false,"title":"failing spec demonstraing not working delete command","user":{"login":"morgoth","id":10766,"avatar_url":"https://avatars.githubusercontent.com/u/10766?v=3","gravatar_id":"","url":"https://api.github.com/users/morgoth","html_url":"https://github.com/morgoth","followers_url":"https://api.github.com/users/morgoth/followers","following_url":"https://api.github.com/users/morgoth/following{/other_user}","gists_url":"https://api.github.com/users/morgoth/gists{/gist_id}","starred_url":"https://api.github.com/users/morgoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgoth/subscriptions","organizations_url":"https://api.github.com/users/morgoth/orgs","repos_url":"https://api.github.com/users/morgoth/repos","events_url":"https://api.github.com/users/morgoth/events{/privacy}","received_events_url":"https://api.github.com/users/morgoth/received_events","type":"User","site_admin":false},"body":"I was following http://rom-rb.org/tutorials/rails/ tutorial and found issue when trying to implement `destroy` action in my rails app.\r\n\r\nRunning: `users.try { delete(:by_name, 'Piotr') }`\r\nthrows:\r\n```\r\nNoMethodError:\r\n  undefined method `size' for #<#<Class:0x007fd82aa522b0>:0x007fd82d3f7d68>\r\n```\r\n\r\nI don't know if this is bug in rom-rails or in rom, but definitely when fixed it would be nice to have it covered here.","created_at":"2015-01-01T14:02:09Z","updated_at":"2015-01-02T17:47:38Z","closed_at":"2015-01-02T17:47:38Z","merged_at":"2015-01-02T17:47:38Z","merge_commit_sha":"ef2fc54412023fcdb331b02fdaab4ad508e9a774","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rom-rb/rom-rails/pulls/6/commits","review_comments_url":"https://api.github.com/repos/rom-rb/rom-rails/pulls/6/comments","review_comment_url":"https://api.github.com/repos/rom-rb/rom-rails/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rom-rb/rom-rails/issues/6/comments","statuses_url":"https://api.github.com/repos/rom-rb/rom-rails/statuses/5adf937598fb4248ee4b702318bb1b8aa625c3a3","head":{"label":"morgoth:delete-command-bug","ref":"delete-command-bug","sha":"5adf937598fb4248ee4b702318bb1b8aa625c3a3","user":{"login":"morgoth","id":10766,"avatar_url":"https://avatars.githubusercontent.com/u/10766?v=3","gravatar_id":"","url":"https://api.github.com/users/morgoth","html_url":"https://github.com/morgoth","followers_url":"https://api.github.com/users/morgoth/followers","following_url":"https://api.github.com/users/morgoth/following{/other_user}","gists_url":"https://api.github.com/users/morgoth/gists{/gist_id}","starred_url":"https://api.github.com/users/morgoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgoth/subscriptions","organizations_url":"https://api.github.com/users/morgoth/orgs","repos_url":"https://api.github.com/users/morgoth/repos","events_url":"https://api.github.com/users/morgoth/events{/privacy}","received_events_url":"https://api.github.com/users/morgoth/received_events","type":"User","site_admin":false},"repo":{"id":28687439,"name":"rom-rails","full_name":"morgoth/rom-rails","owner":{"login":"morgoth","id":10766,"avatar_url":"https://avatars.githubusercontent.com/u/10766?v=3","gravatar_id":"","url":"https://api.github.com/users/morgoth","html_url":"https://github.com/morgoth","followers_url":"https://api.github.com/users/morgoth/followers","following_url":"https://api.github.com/users/morgoth/following{/other_user}","gists_url":"https://api.github.com/users/morgoth/gists{/gist_id}","starred_url":"https://api.github.com/users/morgoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgoth/subscriptions","organizations_url":"https://api.github.com/users/morgoth/orgs","repos_url":"https://api.github.com/users/morgoth/repos","events_url":"https://api.github.com/users/morgoth/events{/privacy}","received_events_url":"https://api.github.com/users/morgoth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morgoth/rom-rails","description":"Rails integration for Ruby Object Mapper","fork":true,"url":"https://api.github.com/repos/morgoth/rom-rails","forks_url":"https://api.github.com/repos/morgoth/rom-rails/forks","keys_url":"https://api.github.com/repos/morgoth/rom-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morgoth/rom-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morgoth/rom-rails/teams","hooks_url":"https://api.github.com/repos/morgoth/rom-rails/hooks","issue_events_url":"https://api.github.com/repos/morgoth/rom-rails/issues/events{/number}","events_url":"https://api.github.com/repos/morgoth/rom-rails/events","assignees_url":"https://api.github.com/repos/morgoth/rom-rails/assignees{/user}","branches_url":"https://api.github.com/repos/morgoth/rom-rails/branches{/branch}","tags_url":"https://api.github.com/repos/morgoth/rom-rails/tags","blobs_url":"https://api.github.com/repos/morgoth/rom-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morgoth/rom-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morgoth/rom-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/morgoth/rom-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morgoth/rom-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/morgoth/rom-rails/languages","stargazers_url":"https://api.github.com/repos/morgoth/rom-rails/stargazers","contributors_url":"https://api.github.com/repos/morgoth/rom-rails/contributors","subscribers_url":"https://api.github.com/repos/morgoth/rom-rails/subscribers","subscription_url":"https://api.github.com/repos/morgoth/rom-rails/subscription","commits_url":"https://api.github.com/repos/morgoth/rom-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/morgoth/rom-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/morgoth/rom-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/morgoth/rom-rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/morgoth/rom-rails/contents/{+path}","compare_url":"https://api.github.com/repos/morgoth/rom-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morgoth/rom-rails/merges","archive_url":"https://api.github.com/repos/morgoth/rom-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morgoth/rom-rails/downloads","issues_url":"https://api.github.com/repos/morgoth/rom-rails/issues{/number}","pulls_url":"https://api.github.com/repos/morgoth/rom-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/morgoth/rom-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/morgoth/rom-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morgoth/rom-rails/labels{/name}","releases_url":"https://api.github.com/repos/morgoth/rom-rails/releases{/id}","created_at":"2015-01-01T13:55:11Z","updated_at":"2015-01-01T13:55:12Z","pushed_at":"2015-01-01T15:21:58Z","git_url":"git://github.com/morgoth/rom-rails.git","ssh_url":"git@github.com:morgoth/rom-rails.git","clone_url":"https://github.com/morgoth/rom-rails.git","svn_url":"https://github.com/morgoth/rom-rails","homepage":"http://rom-rb.org","size":379,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rom-rb:master","ref":"master","sha":"506899e1375b453c81007e5c3c61676270aa2011","user":{"login":"rom-rb","id":4589832,"avatar_url":"https://avatars.githubusercontent.com/u/4589832?v=3","gravatar_id":"","url":"https://api.github.com/users/rom-rb","html_url":"https://github.com/rom-rb","followers_url":"https://api.github.com/users/rom-rb/followers","following_url":"https://api.github.com/users/rom-rb/following{/other_user}","gists_url":"https://api.github.com/users/rom-rb/gists{/gist_id}","starred_url":"https://api.github.com/users/rom-rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rom-rb/subscriptions","organizations_url":"https://api.github.com/users/rom-rb/orgs","repos_url":"https://api.github.com/users/rom-rb/repos","events_url":"https://api.github.com/users/rom-rb/events{/privacy}","received_events_url":"https://api.github.com/users/rom-rb/received_events","type":"Organization","site_admin":false},"repo":{"id":16297763,"name":"rom-rails","full_name":"rom-rb/rom-rails","owner":{"login":"rom-rb","id":4589832,"avatar_url":"https://avatars.githubusercontent.com/u/4589832?v=3","gravatar_id":"","url":"https://api.github.com/users/rom-rb","html_url":"https://github.com/rom-rb","followers_url":"https://api.github.com/users/rom-rb/followers","following_url":"https://api.github.com/users/rom-rb/following{/other_user}","gists_url":"https://api.github.com/users/rom-rb/gists{/gist_id}","starred_url":"https://api.github.com/users/rom-rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rom-rb/subscriptions","organizations_url":"https://api.github.com/users/rom-rb/orgs","repos_url":"https://api.github.com/users/rom-rb/repos","events_url":"https://api.github.com/users/rom-rb/events{/privacy}","received_events_url":"https://api.github.com/users/rom-rb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rom-rb/rom-rails","description":"Rails integration for Ruby Object Mapper","fork":false,"url":"https://api.github.com/repos/rom-rb/rom-rails","forks_url":"https://api.github.com/repos/rom-rb/rom-rails/forks","keys_url":"https://api.github.com/repos/rom-rb/rom-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rom-rb/rom-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rom-rb/rom-rails/teams","hooks_url":"https://api.github.com/repos/rom-rb/rom-rails/hooks","issue_events_url":"https://api.github.com/repos/rom-rb/rom-rails/issues/events{/number}","events_url":"https://api.github.com/repos/rom-rb/rom-rails/events","assignees_url":"https://api.github.com/repos/rom-rb/rom-rails/assignees{/user}","branches_url":"https://api.github.com/repos/rom-rb/rom-rails/branches{/branch}","tags_url":"https://api.github.com/repos/rom-rb/rom-rails/tags","blobs_url":"https://api.github.com/repos/rom-rb/rom-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rom-rb/rom-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rom-rb/rom-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rom-rb/rom-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rom-rb/rom-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rom-rb/rom-rails/languages","stargazers_url":"https://api.github.com/repos/rom-rb/rom-rails/stargazers","contributors_url":"https://api.github.com/repos/rom-rb/rom-rails/contributors","subscribers_url":"https://api.github.com/repos/rom-rb/rom-rails/subscribers","subscription_url":"https://api.github.com/repos/rom-rb/rom-rails/subscription","commits_url":"https://api.github.com/repos/rom-rb/rom-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rom-rb/rom-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rom-rb/rom-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rom-rb/rom-rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/rom-rb/rom-rails/contents/{+path}","compare_url":"https://api.github.com/repos/rom-rb/rom-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rom-rb/rom-rails/merges","archive_url":"https://api.github.com/repos/rom-rb/rom-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rom-rb/rom-rails/downloads","issues_url":"https://api.github.com/repos/rom-rb/rom-rails/issues{/number}","pulls_url":"https://api.github.com/repos/rom-rb/rom-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rom-rb/rom-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rom-rb/rom-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rom-rb/rom-rails/labels{/name}","releases_url":"https://api.github.com/repos/rom-rb/rom-rails/releases{/id}","created_at":"2014-01-28T00:29:30Z","updated_at":"2015-01-02T07:28:41Z","pushed_at":"2015-01-02T17:47:38Z","git_url":"git://github.com/rom-rb/rom-rails.git","ssh_url":"git@github.com:rom-rb/rom-rails.git","clone_url":"https://github.com/rom-rb/rom-rails.git","svn_url":"https://github.com/rom-rb/rom-rails","homepage":"http://rom-rb.org","size":379,"stargazers_count":33,"watchers_count":33,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rom-rb/rom-rails/pulls/6"},"html":{"href":"https://github.com/rom-rb/rom-rails/pull/6"},"issue":{"href":"https://api.github.com/repos/rom-rb/rom-rails/issues/6"},"comments":{"href":"https://api.github.com/repos/rom-rb/rom-rails/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/rom-rb/rom-rails/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/rom-rb/rom-rails/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rom-rb/rom-rails/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/rom-rb/rom-rails/statuses/5adf937598fb4248ee4b702318bb1b8aa625c3a3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"solnic","id":1066,"avatar_url":"https://avatars.githubusercontent.com/u/1066?v=3","gravatar_id":"","url":"https://api.github.com/users/solnic","html_url":"https://github.com/solnic","followers_url":"https://api.github.com/users/solnic/followers","following_url":"https://api.github.com/users/solnic/following{/other_user}","gists_url":"https://api.github.com/users/solnic/gists{/gist_id}","starred_url":"https://api.github.com/users/solnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solnic/subscriptions","organizations_url":"https://api.github.com/users/solnic/orgs","repos_url":"https://api.github.com/users/solnic/repos","events_url":"https://api.github.com/users/solnic/events{/privacy}","received_events_url":"https://api.github.com/users/solnic/received_events","type":"User","site_admin":false},"comments":0,"review_comments":8,"commits":2,"additions":14,"deletions":1,"changed_files":2}}