{"action":"created","comment":{"url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/comments/31740731","id":31740731,"diff_hunk":"@@ -14,11 +14,8 @@ def new\n       end\n \n       def create\n-        if Rails.version[0].to_i < 4\n-          @post = Fuel::Post.new(params[:fuel_post])\n-        else\n-          @post = Fuel::Post.new(post_params)\n-        end\n+        @params_hash = Rails.version[0].to_i < 4 ? params[:fuel_post] : post_params","path":"app/controllers/fuel/admin/posts_controller.rb","position":9,"original_position":9,"commit_id":"5dd3c9bcc1ae3e72bc242c0ff0b4aacb2b191e19","original_commit_id":"5dd3c9bcc1ae3e72bc242c0ff0b4aacb2b191e19","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [83/80]","created_at":"2015-06-04T16:57:57Z","updated_at":"2015-06-04T16:57:57Z","html_url":"https://github.com/LaunchPadLab/fuel/pull/19#discussion_r31740731","pull_request_url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/comments/31740731"},"html":{"href":"https://github.com/LaunchPadLab/fuel/pull/19#discussion_r31740731"},"pull_request":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19","id":36955431,"html_url":"https://github.com/LaunchPadLab/fuel/pull/19","diff_url":"https://github.com/LaunchPadLab/fuel/pull/19.diff","patch_url":"https://github.com/LaunchPadLab/fuel/pull/19.patch","issue_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues/19","number":19,"state":"open","locked":false,"title":"added published at to post","user":{"login":"francirp","id":2815976,"avatar_url":"https://avatars.githubusercontent.com/u/2815976?v=3","gravatar_id":"","url":"https://api.github.com/users/francirp","html_url":"https://github.com/francirp","followers_url":"https://api.github.com/users/francirp/followers","following_url":"https://api.github.com/users/francirp/following{/other_user}","gists_url":"https://api.github.com/users/francirp/gists{/gist_id}","starred_url":"https://api.github.com/users/francirp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francirp/subscriptions","organizations_url":"https://api.github.com/users/francirp/orgs","repos_url":"https://api.github.com/users/francirp/repos","events_url":"https://api.github.com/users/francirp/events{/privacy}","received_events_url":"https://api.github.com/users/francirp/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-06-04T16:57:48Z","updated_at":"2015-06-04T16:57:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48a7859e78627f10c4e122f1aa9c763a3d2ee393","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19/commits","review_comments_url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19/comments","review_comment_url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues/19/comments","statuses_url":"https://api.github.com/repos/LaunchPadLab/fuel/statuses/5dd3c9bcc1ae3e72bc242c0ff0b4aacb2b191e19","head":{"label":"LaunchPadLab:published-at","ref":"published-at","sha":"5dd3c9bcc1ae3e72bc242c0ff0b4aacb2b191e19","user":{"login":"LaunchPadLab","id":1919131,"avatar_url":"https://avatars.githubusercontent.com/u/1919131?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchPadLab","html_url":"https://github.com/LaunchPadLab","followers_url":"https://api.github.com/users/LaunchPadLab/followers","following_url":"https://api.github.com/users/LaunchPadLab/following{/other_user}","gists_url":"https://api.github.com/users/LaunchPadLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchPadLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchPadLab/subscriptions","organizations_url":"https://api.github.com/users/LaunchPadLab/orgs","repos_url":"https://api.github.com/users/LaunchPadLab/repos","events_url":"https://api.github.com/users/LaunchPadLab/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchPadLab/received_events","type":"Organization","site_admin":false},"repo":{"id":18677525,"name":"fuel","full_name":"LaunchPadLab/fuel","owner":{"login":"LaunchPadLab","id":1919131,"avatar_url":"https://avatars.githubusercontent.com/u/1919131?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchPadLab","html_url":"https://github.com/LaunchPadLab","followers_url":"https://api.github.com/users/LaunchPadLab/followers","following_url":"https://api.github.com/users/LaunchPadLab/following{/other_user}","gists_url":"https://api.github.com/users/LaunchPadLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchPadLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchPadLab/subscriptions","organizations_url":"https://api.github.com/users/LaunchPadLab/orgs","repos_url":"https://api.github.com/users/LaunchPadLab/repos","events_url":"https://api.github.com/users/LaunchPadLab/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchPadLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LaunchPadLab/fuel","description":"","fork":false,"url":"https://api.github.com/repos/LaunchPadLab/fuel","forks_url":"https://api.github.com/repos/LaunchPadLab/fuel/forks","keys_url":"https://api.github.com/repos/LaunchPadLab/fuel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchPadLab/fuel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchPadLab/fuel/teams","hooks_url":"https://api.github.com/repos/LaunchPadLab/fuel/hooks","issue_events_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchPadLab/fuel/events","assignees_url":"https://api.github.com/repos/LaunchPadLab/fuel/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchPadLab/fuel/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchPadLab/fuel/tags","blobs_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchPadLab/fuel/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchPadLab/fuel/languages","stargazers_url":"https://api.github.com/repos/LaunchPadLab/fuel/stargazers","contributors_url":"https://api.github.com/repos/LaunchPadLab/fuel/contributors","subscribers_url":"https://api.github.com/repos/LaunchPadLab/fuel/subscribers","subscription_url":"https://api.github.com/repos/LaunchPadLab/fuel/subscription","commits_url":"https://api.github.com/repos/LaunchPadLab/fuel/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchPadLab/fuel/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaunchPadLab/fuel/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchPadLab/fuel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchPadLab/fuel/merges","archive_url":"https://api.github.com/repos/LaunchPadLab/fuel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchPadLab/fuel/downloads","issues_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchPadLab/fuel/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchPadLab/fuel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchPadLab/fuel/labels{/name}","releases_url":"https://api.github.com/repos/LaunchPadLab/fuel/releases{/id}","created_at":"2014-04-11T14:47:52Z","updated_at":"2015-04-23T14:12:24Z","pushed_at":"2015-06-04T16:57:48Z","git_url":"git://github.com/LaunchPadLab/fuel.git","ssh_url":"git@github.com:LaunchPadLab/fuel.git","clone_url":"https://github.com/LaunchPadLab/fuel.git","svn_url":"https://github.com/LaunchPadLab/fuel","homepage":null,"size":2690,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"LaunchPadLab:master","ref":"master","sha":"27089f90cad5688aed5cd65e39de9c657ed86573","user":{"login":"LaunchPadLab","id":1919131,"avatar_url":"https://avatars.githubusercontent.com/u/1919131?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchPadLab","html_url":"https://github.com/LaunchPadLab","followers_url":"https://api.github.com/users/LaunchPadLab/followers","following_url":"https://api.github.com/users/LaunchPadLab/following{/other_user}","gists_url":"https://api.github.com/users/LaunchPadLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchPadLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchPadLab/subscriptions","organizations_url":"https://api.github.com/users/LaunchPadLab/orgs","repos_url":"https://api.github.com/users/LaunchPadLab/repos","events_url":"https://api.github.com/users/LaunchPadLab/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchPadLab/received_events","type":"Organization","site_admin":false},"repo":{"id":18677525,"name":"fuel","full_name":"LaunchPadLab/fuel","owner":{"login":"LaunchPadLab","id":1919131,"avatar_url":"https://avatars.githubusercontent.com/u/1919131?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchPadLab","html_url":"https://github.com/LaunchPadLab","followers_url":"https://api.github.com/users/LaunchPadLab/followers","following_url":"https://api.github.com/users/LaunchPadLab/following{/other_user}","gists_url":"https://api.github.com/users/LaunchPadLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchPadLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchPadLab/subscriptions","organizations_url":"https://api.github.com/users/LaunchPadLab/orgs","repos_url":"https://api.github.com/users/LaunchPadLab/repos","events_url":"https://api.github.com/users/LaunchPadLab/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchPadLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LaunchPadLab/fuel","description":"","fork":false,"url":"https://api.github.com/repos/LaunchPadLab/fuel","forks_url":"https://api.github.com/repos/LaunchPadLab/fuel/forks","keys_url":"https://api.github.com/repos/LaunchPadLab/fuel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchPadLab/fuel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchPadLab/fuel/teams","hooks_url":"https://api.github.com/repos/LaunchPadLab/fuel/hooks","issue_events_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchPadLab/fuel/events","assignees_url":"https://api.github.com/repos/LaunchPadLab/fuel/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchPadLab/fuel/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchPadLab/fuel/tags","blobs_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchPadLab/fuel/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchPadLab/fuel/languages","stargazers_url":"https://api.github.com/repos/LaunchPadLab/fuel/stargazers","contributors_url":"https://api.github.com/repos/LaunchPadLab/fuel/contributors","subscribers_url":"https://api.github.com/repos/LaunchPadLab/fuel/subscribers","subscription_url":"https://api.github.com/repos/LaunchPadLab/fuel/subscription","commits_url":"https://api.github.com/repos/LaunchPadLab/fuel/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchPadLab/fuel/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchPadLab/fuel/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaunchPadLab/fuel/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchPadLab/fuel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchPadLab/fuel/merges","archive_url":"https://api.github.com/repos/LaunchPadLab/fuel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchPadLab/fuel/downloads","issues_url":"https://api.github.com/repos/LaunchPadLab/fuel/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchPadLab/fuel/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchPadLab/fuel/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchPadLab/fuel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchPadLab/fuel/labels{/name}","releases_url":"https://api.github.com/repos/LaunchPadLab/fuel/releases{/id}","created_at":"2014-04-11T14:47:52Z","updated_at":"2015-04-23T14:12:24Z","pushed_at":"2015-06-04T16:57:48Z","git_url":"git://github.com/LaunchPadLab/fuel.git","ssh_url":"git@github.com:LaunchPadLab/fuel.git","clone_url":"https://github.com/LaunchPadLab/fuel.git","svn_url":"https://github.com/LaunchPadLab/fuel","homepage":null,"size":2690,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19"},"html":{"href":"https://github.com/LaunchPadLab/fuel/pull/19"},"issue":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/issues/19"},"comments":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/LaunchPadLab/fuel/statuses/5dd3c9bcc1ae3e72bc242c0ff0b4aacb2b191e19"}}}}