{"action":"closed","number":52,"pull_request":{"url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/52","id":56996062,"html_url":"https://github.com/zorab47/activeadmin-sortable-tree/pull/52","diff_url":"https://github.com/zorab47/activeadmin-sortable-tree/pull/52.diff","patch_url":"https://github.com/zorab47/activeadmin-sortable-tree/pull/52.patch","issue_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues/52","number":52,"state":"closed","locked":false,"title":"Rails5 fix: convert params to Hash before using them","user":{"login":"jtomaszewski","id":1862580,"avatar_url":"https://avatars.githubusercontent.com/u/1862580?v=3","gravatar_id":"","url":"https://api.github.com/users/jtomaszewski","html_url":"https://github.com/jtomaszewski","followers_url":"https://api.github.com/users/jtomaszewski/followers","following_url":"https://api.github.com/users/jtomaszewski/following{/other_user}","gists_url":"https://api.github.com/users/jtomaszewski/gists{/gist_id}","starred_url":"https://api.github.com/users/jtomaszewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtomaszewski/subscriptions","organizations_url":"https://api.github.com/users/jtomaszewski/orgs","repos_url":"https://api.github.com/users/jtomaszewski/repos","events_url":"https://api.github.com/users/jtomaszewski/events{/privacy}","received_events_url":"https://api.github.com/users/jtomaszewski/received_events","type":"User","site_admin":false},"body":"Fixes following error which is sometimes returned in rails 5:\r\n\r\n```\r\nNoMethodError: undefined method `inject' for #<ActionController::Parameters:0x007f89a2faac70>\r\nDid you mean? inspect\r\n1. File \"/socialtravel/releases/20160123175638/vendor/bundle/ruby/2.3.0/gems/active_admin-sortable_tree-0.2.1/lib/active_admin/sortable_tree/controller_actions.rb\" line 27 in block in sortable\r\n2. File \"/socialtravel/releases/20160123175638/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.beta1/lib/action_controller/metal/basic_implicit_render.rb\" line 4 in send_action\r\n...\r\n```","created_at":"2016-01-24T05:54:31Z","updated_at":"2016-01-26T04:07:39Z","closed_at":"2016-01-26T04:07:38Z","merged_at":"2016-01-26T04:07:38Z","merge_commit_sha":"ccc54d1fd0f944e101fe5654f792153639a25dfe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/52/commits","review_comments_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/52/comments","review_comment_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues/52/comments","statuses_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/statuses/a203b40eba4c8d34487aa2c18fc8c7fd45efc1a0","head":{"label":"jtomaszewski:rails5","ref":"rails5","sha":"a203b40eba4c8d34487aa2c18fc8c7fd45efc1a0","user":{"login":"jtomaszewski","id":1862580,"avatar_url":"https://avatars.githubusercontent.com/u/1862580?v=3","gravatar_id":"","url":"https://api.github.com/users/jtomaszewski","html_url":"https://github.com/jtomaszewski","followers_url":"https://api.github.com/users/jtomaszewski/followers","following_url":"https://api.github.com/users/jtomaszewski/following{/other_user}","gists_url":"https://api.github.com/users/jtomaszewski/gists{/gist_id}","starred_url":"https://api.github.com/users/jtomaszewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtomaszewski/subscriptions","organizations_url":"https://api.github.com/users/jtomaszewski/orgs","repos_url":"https://api.github.com/users/jtomaszewski/repos","events_url":"https://api.github.com/users/jtomaszewski/events{/privacy}","received_events_url":"https://api.github.com/users/jtomaszewski/received_events","type":"User","site_admin":false},"repo":{"id":50274280,"name":"activeadmin-sortable-tree","full_name":"jtomaszewski/activeadmin-sortable-tree","owner":{"login":"jtomaszewski","id":1862580,"avatar_url":"https://avatars.githubusercontent.com/u/1862580?v=3","gravatar_id":"","url":"https://api.github.com/users/jtomaszewski","html_url":"https://github.com/jtomaszewski","followers_url":"https://api.github.com/users/jtomaszewski/followers","following_url":"https://api.github.com/users/jtomaszewski/following{/other_user}","gists_url":"https://api.github.com/users/jtomaszewski/gists{/gist_id}","starred_url":"https://api.github.com/users/jtomaszewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtomaszewski/subscriptions","organizations_url":"https://api.github.com/users/jtomaszewski/orgs","repos_url":"https://api.github.com/users/jtomaszewski/repos","events_url":"https://api.github.com/users/jtomaszewski/events{/privacy}","received_events_url":"https://api.github.com/users/jtomaszewski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jtomaszewski/activeadmin-sortable-tree","description":"Show ActiveAdmin index as a nested tree with drag'n'drop","fork":true,"url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree","forks_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/forks","keys_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/teams","hooks_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/hooks","issue_events_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/issues/events{/number}","events_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/events","assignees_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/assignees{/user}","branches_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/branches{/branch}","tags_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/tags","blobs_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/languages","stargazers_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/stargazers","contributors_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/contributors","subscribers_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/subscribers","subscription_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/subscription","commits_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/contents/{+path}","compare_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/merges","archive_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/downloads","issues_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/issues{/number}","pulls_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/labels{/name}","releases_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/releases{/id}","deployments_url":"https://api.github.com/repos/jtomaszewski/activeadmin-sortable-tree/deployments","created_at":"2016-01-24T05:50:38Z","updated_at":"2016-01-24T05:50:39Z","pushed_at":"2016-01-24T05:54:03Z","git_url":"git://github.com/jtomaszewski/activeadmin-sortable-tree.git","ssh_url":"git@github.com:jtomaszewski/activeadmin-sortable-tree.git","clone_url":"https://github.com/jtomaszewski/activeadmin-sortable-tree.git","svn_url":"https://github.com/jtomaszewski/activeadmin-sortable-tree","homepage":"","size":233,"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":"zorab47:master","ref":"master","sha":"0cd0ab51dbd4e274677a0cddec527d863fb1892f","user":{"login":"zorab47","id":25094,"avatar_url":"https://avatars.githubusercontent.com/u/25094?v=3","gravatar_id":"","url":"https://api.github.com/users/zorab47","html_url":"https://github.com/zorab47","followers_url":"https://api.github.com/users/zorab47/followers","following_url":"https://api.github.com/users/zorab47/following{/other_user}","gists_url":"https://api.github.com/users/zorab47/gists{/gist_id}","starred_url":"https://api.github.com/users/zorab47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zorab47/subscriptions","organizations_url":"https://api.github.com/users/zorab47/orgs","repos_url":"https://api.github.com/users/zorab47/repos","events_url":"https://api.github.com/users/zorab47/events{/privacy}","received_events_url":"https://api.github.com/users/zorab47/received_events","type":"User","site_admin":false},"repo":{"id":7261435,"name":"activeadmin-sortable-tree","full_name":"zorab47/activeadmin-sortable-tree","owner":{"login":"zorab47","id":25094,"avatar_url":"https://avatars.githubusercontent.com/u/25094?v=3","gravatar_id":"","url":"https://api.github.com/users/zorab47","html_url":"https://github.com/zorab47","followers_url":"https://api.github.com/users/zorab47/followers","following_url":"https://api.github.com/users/zorab47/following{/other_user}","gists_url":"https://api.github.com/users/zorab47/gists{/gist_id}","starred_url":"https://api.github.com/users/zorab47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zorab47/subscriptions","organizations_url":"https://api.github.com/users/zorab47/orgs","repos_url":"https://api.github.com/users/zorab47/repos","events_url":"https://api.github.com/users/zorab47/events{/privacy}","received_events_url":"https://api.github.com/users/zorab47/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zorab47/activeadmin-sortable-tree","description":"Show ActiveAdmin index as a nested tree with drag'n'drop","fork":false,"url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree","forks_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/forks","keys_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/teams","hooks_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/hooks","issue_events_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues/events{/number}","events_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/events","assignees_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/assignees{/user}","branches_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/branches{/branch}","tags_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/tags","blobs_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/languages","stargazers_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/stargazers","contributors_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/contributors","subscribers_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/subscribers","subscription_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/subscription","commits_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/contents/{+path}","compare_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/merges","archive_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/downloads","issues_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues{/number}","pulls_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/labels{/name}","releases_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/releases{/id}","deployments_url":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/deployments","created_at":"2012-12-20T17:23:19Z","updated_at":"2016-01-25T19:05:51Z","pushed_at":"2016-01-26T04:07:39Z","git_url":"git://github.com/zorab47/activeadmin-sortable-tree.git","ssh_url":"git@github.com:zorab47/activeadmin-sortable-tree.git","clone_url":"https://github.com/zorab47/activeadmin-sortable-tree.git","svn_url":"https://github.com/zorab47/activeadmin-sortable-tree","homepage":"","size":269,"stargazers_count":84,"watchers_count":84,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":8,"forks":73,"open_issues":8,"watchers":84,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/52"},"html":{"href":"https://github.com/zorab47/activeadmin-sortable-tree/pull/52"},"issue":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues/52"},"comments":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/zorab47/activeadmin-sortable-tree/statuses/a203b40eba4c8d34487aa2c18fc8c7fd45efc1a0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"zorab47","id":25094,"avatar_url":"https://avatars.githubusercontent.com/u/25094?v=3","gravatar_id":"","url":"https://api.github.com/users/zorab47","html_url":"https://github.com/zorab47","followers_url":"https://api.github.com/users/zorab47/followers","following_url":"https://api.github.com/users/zorab47/following{/other_user}","gists_url":"https://api.github.com/users/zorab47/gists{/gist_id}","starred_url":"https://api.github.com/users/zorab47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zorab47/subscriptions","organizations_url":"https://api.github.com/users/zorab47/orgs","repos_url":"https://api.github.com/users/zorab47/repos","events_url":"https://api.github.com/users/zorab47/events{/privacy}","received_events_url":"https://api.github.com/users/zorab47/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}