{"action":"created","comment":{"url":"https://api.github.com/repos/cantino/huginn/pulls/comments/78295891","id":78295891,"diff_hunk":"@@ -115,4 +115,11 @@ def destroy\n       format.json { head :no_content }\n     end\n   end\n+\n+  private\n+\n+  def scenario_params\n+    params.require(:scenario).permit(:name, :agent_ids, :description, :public, :source_url,","path":"app/controllers/scenarios_controller.rb","position":26,"original_position":26,"commit_id":"b123dcc998962154d3586b5a22f7d67c8755bb08","original_commit_id":"b123dcc998962154d3586b5a22f7d67c8755bb08","user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"body":"Does this work in the UI?  I think `agent_ids` needs to be `agent_ids: []`?","created_at":"2016-09-11T14:12:43Z","updated_at":"2016-09-11T14:12:43Z","html_url":"https://github.com/cantino/huginn/pull/1679#discussion_r78295891","pull_request_url":"https://api.github.com/repos/cantino/huginn/pulls/1679","_links":{"self":{"href":"https://api.github.com/repos/cantino/huginn/pulls/comments/78295891"},"html":{"href":"https://github.com/cantino/huginn/pull/1679#discussion_r78295891"},"pull_request":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1679"}}},"pull_request":{"url":"https://api.github.com/repos/cantino/huginn/pulls/1679","id":84754642,"html_url":"https://github.com/cantino/huginn/pull/1679","diff_url":"https://github.com/cantino/huginn/pull/1679.diff","patch_url":"https://github.com/cantino/huginn/pull/1679.patch","issue_url":"https://api.github.com/repos/cantino/huginn/issues/1679","number":1679,"state":"open","locked":false,"title":"Use strong_parameters and drop protected_attributes","user":{"login":"dsander","id":20943,"avatar_url":"https://avatars.githubusercontent.com/u/20943?v=3","gravatar_id":"","url":"https://api.github.com/users/dsander","html_url":"https://github.com/dsander","followers_url":"https://api.github.com/users/dsander/followers","following_url":"https://api.github.com/users/dsander/following{/other_user}","gists_url":"https://api.github.com/users/dsander/gists{/gist_id}","starred_url":"https://api.github.com/users/dsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsander/subscriptions","organizations_url":"https://api.github.com/users/dsander/orgs","repos_url":"https://api.github.com/users/dsander/repos","events_url":"https://api.github.com/users/dsander/events{/privacy}","received_events_url":"https://api.github.com/users/dsander/received_events","type":"User","site_admin":false},"body":"The `protected_attributes` gem was the first real roadblock I hit while trying to update to rails5. For now the main benefit is the removal of one gem :)","created_at":"2016-09-10T12:49:59Z","updated_at":"2016-09-11T14:12:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"736f8f9f81d178998efe08415fbda424e995781d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cantino/huginn/pulls/1679/commits","review_comments_url":"https://api.github.com/repos/cantino/huginn/pulls/1679/comments","review_comment_url":"https://api.github.com/repos/cantino/huginn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/1679/comments","statuses_url":"https://api.github.com/repos/cantino/huginn/statuses/b123dcc998962154d3586b5a22f7d67c8755bb08","head":{"label":"dsander:strong-parameters","ref":"strong-parameters","sha":"b123dcc998962154d3586b5a22f7d67c8755bb08","user":{"login":"dsander","id":20943,"avatar_url":"https://avatars.githubusercontent.com/u/20943?v=3","gravatar_id":"","url":"https://api.github.com/users/dsander","html_url":"https://github.com/dsander","followers_url":"https://api.github.com/users/dsander/followers","following_url":"https://api.github.com/users/dsander/following{/other_user}","gists_url":"https://api.github.com/users/dsander/gists{/gist_id}","starred_url":"https://api.github.com/users/dsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsander/subscriptions","organizations_url":"https://api.github.com/users/dsander/orgs","repos_url":"https://api.github.com/users/dsander/repos","events_url":"https://api.github.com/users/dsander/events{/privacy}","received_events_url":"https://api.github.com/users/dsander/received_events","type":"User","site_admin":false},"repo":{"id":18878947,"name":"huginn","full_name":"dsander/huginn","owner":{"login":"dsander","id":20943,"avatar_url":"https://avatars.githubusercontent.com/u/20943?v=3","gravatar_id":"","url":"https://api.github.com/users/dsander","html_url":"https://github.com/dsander","followers_url":"https://api.github.com/users/dsander/followers","following_url":"https://api.github.com/users/dsander/following{/other_user}","gists_url":"https://api.github.com/users/dsander/gists{/gist_id}","starred_url":"https://api.github.com/users/dsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsander/subscriptions","organizations_url":"https://api.github.com/users/dsander/orgs","repos_url":"https://api.github.com/users/dsander/repos","events_url":"https://api.github.com/users/dsander/events{/privacy}","received_events_url":"https://api.github.com/users/dsander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsander/huginn","description":"Build agents that monitor and act on your behalf.  Your agents are standing by!","fork":true,"url":"https://api.github.com/repos/dsander/huginn","forks_url":"https://api.github.com/repos/dsander/huginn/forks","keys_url":"https://api.github.com/repos/dsander/huginn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsander/huginn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsander/huginn/teams","hooks_url":"https://api.github.com/repos/dsander/huginn/hooks","issue_events_url":"https://api.github.com/repos/dsander/huginn/issues/events{/number}","events_url":"https://api.github.com/repos/dsander/huginn/events","assignees_url":"https://api.github.com/repos/dsander/huginn/assignees{/user}","branches_url":"https://api.github.com/repos/dsander/huginn/branches{/branch}","tags_url":"https://api.github.com/repos/dsander/huginn/tags","blobs_url":"https://api.github.com/repos/dsander/huginn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsander/huginn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsander/huginn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsander/huginn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsander/huginn/statuses/{sha}","languages_url":"https://api.github.com/repos/dsander/huginn/languages","stargazers_url":"https://api.github.com/repos/dsander/huginn/stargazers","contributors_url":"https://api.github.com/repos/dsander/huginn/contributors","subscribers_url":"https://api.github.com/repos/dsander/huginn/subscribers","subscription_url":"https://api.github.com/repos/dsander/huginn/subscription","commits_url":"https://api.github.com/repos/dsander/huginn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsander/huginn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsander/huginn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsander/huginn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsander/huginn/contents/{+path}","compare_url":"https://api.github.com/repos/dsander/huginn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsander/huginn/merges","archive_url":"https://api.github.com/repos/dsander/huginn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsander/huginn/downloads","issues_url":"https://api.github.com/repos/dsander/huginn/issues{/number}","pulls_url":"https://api.github.com/repos/dsander/huginn/pulls{/number}","milestones_url":"https://api.github.com/repos/dsander/huginn/milestones{/number}","notifications_url":"https://api.github.com/repos/dsander/huginn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsander/huginn/labels{/name}","releases_url":"https://api.github.com/repos/dsander/huginn/releases{/id}","deployments_url":"https://api.github.com/repos/dsander/huginn/deployments","created_at":"2014-04-17T13:18:05Z","updated_at":"2016-02-27T10:08:55Z","pushed_at":"2016-09-10T16:55:22Z","git_url":"git://github.com/dsander/huginn.git","ssh_url":"git@github.com:dsander/huginn.git","clone_url":"https://github.com/dsander/huginn.git","svn_url":"https://github.com/dsander/huginn","homepage":null,"size":6700,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"cantino:master","ref":"master","sha":"755027457826b5ca68f1ce84f0df35915e3f87e5","user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"repo":{"id":8681349,"name":"huginn","full_name":"cantino/huginn","owner":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cantino/huginn","description":"Build agents that monitor and act on your behalf.  Your agents are standing by!","fork":false,"url":"https://api.github.com/repos/cantino/huginn","forks_url":"https://api.github.com/repos/cantino/huginn/forks","keys_url":"https://api.github.com/repos/cantino/huginn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cantino/huginn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cantino/huginn/teams","hooks_url":"https://api.github.com/repos/cantino/huginn/hooks","issue_events_url":"https://api.github.com/repos/cantino/huginn/issues/events{/number}","events_url":"https://api.github.com/repos/cantino/huginn/events","assignees_url":"https://api.github.com/repos/cantino/huginn/assignees{/user}","branches_url":"https://api.github.com/repos/cantino/huginn/branches{/branch}","tags_url":"https://api.github.com/repos/cantino/huginn/tags","blobs_url":"https://api.github.com/repos/cantino/huginn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cantino/huginn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cantino/huginn/git/refs{/sha}","trees_url":"https://api.github.com/repos/cantino/huginn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cantino/huginn/statuses/{sha}","languages_url":"https://api.github.com/repos/cantino/huginn/languages","stargazers_url":"https://api.github.com/repos/cantino/huginn/stargazers","contributors_url":"https://api.github.com/repos/cantino/huginn/contributors","subscribers_url":"https://api.github.com/repos/cantino/huginn/subscribers","subscription_url":"https://api.github.com/repos/cantino/huginn/subscription","commits_url":"https://api.github.com/repos/cantino/huginn/commits{/sha}","git_commits_url":"https://api.github.com/repos/cantino/huginn/git/commits{/sha}","comments_url":"https://api.github.com/repos/cantino/huginn/comments{/number}","issue_comment_url":"https://api.github.com/repos/cantino/huginn/issues/comments{/number}","contents_url":"https://api.github.com/repos/cantino/huginn/contents/{+path}","compare_url":"https://api.github.com/repos/cantino/huginn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cantino/huginn/merges","archive_url":"https://api.github.com/repos/cantino/huginn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cantino/huginn/downloads","issues_url":"https://api.github.com/repos/cantino/huginn/issues{/number}","pulls_url":"https://api.github.com/repos/cantino/huginn/pulls{/number}","milestones_url":"https://api.github.com/repos/cantino/huginn/milestones{/number}","notifications_url":"https://api.github.com/repos/cantino/huginn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cantino/huginn/labels{/name}","releases_url":"https://api.github.com/repos/cantino/huginn/releases{/id}","deployments_url":"https://api.github.com/repos/cantino/huginn/deployments","created_at":"2013-03-10T06:00:31Z","updated_at":"2016-09-11T10:49:29Z","pushed_at":"2016-09-11T14:04:12Z","git_url":"git://github.com/cantino/huginn.git","ssh_url":"git@github.com:cantino/huginn.git","clone_url":"https://github.com/cantino/huginn.git","svn_url":"https://github.com/cantino/huginn","homepage":null,"size":9449,"stargazers_count":14745,"watchers_count":14745,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1572,"mirror_url":null,"open_issues_count":236,"forks":1572,"open_issues":236,"watchers":14745,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1679"},"html":{"href":"https://github.com/cantino/huginn/pull/1679"},"issue":{"href":"https://api.github.com/repos/cantino/huginn/issues/1679"},"comments":{"href":"https://api.github.com/repos/cantino/huginn/issues/1679/comments"},"review_comments":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1679/comments"},"review_comment":{"href":"https://api.github.com/repos/cantino/huginn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1679/commits"},"statuses":{"href":"https://api.github.com/repos/cantino/huginn/statuses/b123dcc998962154d3586b5a22f7d67c8755bb08"}}}}
{"actor":{"display_login":"cantino"}}