{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/guides/pulls/comments/41564940","id":41564940,"diff_hunk":"@@ -19,8 +19,15 @@ Rails\n * Use `def self.method`, not the `scope :method` DSL.\n * Use the default `render 'partial'` syntax over `render partial: 'partial'`.\n * Use `link_to` for GET requests, and `button_to` for other HTTP verbs.\n+* If you break up an argument list for a macro,\n+  keep the first argument on the same line as the macro,","path":"style/rails/README.md","position":5,"original_position":5,"commit_id":"348ee31e4cae09deeee1ac9454c1ee3d615c5d59","original_commit_id":"348ee31e4cae09deeee1ac9454c1ee3d615c5d59","user":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"body":"So all the new examples are great, but I'd add another with multiple non-hash options together on one line.","created_at":"2015-10-08T20:33:33Z","updated_at":"2015-10-08T20:33:33Z","html_url":"https://github.com/thoughtbot/guides/pull/361#discussion_r41564940","pull_request_url":"https://api.github.com/repos/thoughtbot/guides/pulls/361","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/guides/pulls/comments/41564940"},"html":{"href":"https://github.com/thoughtbot/guides/pull/361#discussion_r41564940"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/guides/pulls/361"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/guides/pulls/361","id":47194929,"html_url":"https://github.com/thoughtbot/guides/pull/361","diff_url":"https://github.com/thoughtbot/guides/pull/361.diff","patch_url":"https://github.com/thoughtbot/guides/pull/361.patch","issue_url":"https://api.github.com/repos/thoughtbot/guides/issues/361","number":361,"state":"open","locked":false,"title":"Adjust line-wrapping rules for Rails macros","user":{"login":"iwz","id":141314,"avatar_url":"https://avatars.githubusercontent.com/u/141314?v=3","gravatar_id":"","url":"https://api.github.com/users/iwz","html_url":"https://github.com/iwz","followers_url":"https://api.github.com/users/iwz/followers","following_url":"https://api.github.com/users/iwz/following{/other_user}","gists_url":"https://api.github.com/users/iwz/gists{/gist_id}","starred_url":"https://api.github.com/users/iwz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwz/subscriptions","organizations_url":"https://api.github.com/users/iwz/orgs","repos_url":"https://api.github.com/users/iwz/repos","events_url":"https://api.github.com/users/iwz/events{/privacy}","received_events_url":"https://api.github.com/users/iwz/received_events","type":"User","site_admin":false},"body":"See slack conversation:\nhttps://thoughtbot.slack.com/archives/ruby/p1444250120000353\n\nThis adds a new rule for Rails that overrides the default line break\nrule in the main README.\n\nThis aims to make it easier to scan lists of macros and find the one\nyou're looking for without having to look at the following line if it's\nwrapped.\n\nSee the new examples.","created_at":"2015-10-08T19:22:50Z","updated_at":"2015-10-08T20:33:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c6769aba156071537a0fe6b98e10604d4bdf07e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/guides/pulls/361/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/guides/pulls/361/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/guides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/guides/issues/361/comments","statuses_url":"https://api.github.com/repos/thoughtbot/guides/statuses/348ee31e4cae09deeee1ac9454c1ee3d615c5d59","head":{"label":"thoughtbot:rails-macro-wrapping","ref":"rails-macro-wrapping","sha":"348ee31e4cae09deeee1ac9454c1ee3d615c5d59","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":5200099,"name":"guides","full_name":"thoughtbot/guides","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/guides","description":"A guide for programming in style.","fork":false,"url":"https://api.github.com/repos/thoughtbot/guides","forks_url":"https://api.github.com/repos/thoughtbot/guides/forks","keys_url":"https://api.github.com/repos/thoughtbot/guides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/guides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/guides/teams","hooks_url":"https://api.github.com/repos/thoughtbot/guides/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/guides/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/guides/events","assignees_url":"https://api.github.com/repos/thoughtbot/guides/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/guides/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/guides/tags","blobs_url":"https://api.github.com/repos/thoughtbot/guides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/guides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/guides/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/guides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/guides/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/guides/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/guides/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/guides/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/guides/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/guides/subscription","commits_url":"https://api.github.com/repos/thoughtbot/guides/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/guides/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/guides/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/guides/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/guides/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/guides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/guides/merges","archive_url":"https://api.github.com/repos/thoughtbot/guides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/guides/downloads","issues_url":"https://api.github.com/repos/thoughtbot/guides/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/guides/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/guides/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/guides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/guides/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/guides/releases{/id}","created_at":"2012-07-27T03:15:44Z","updated_at":"2015-10-08T17:17:49Z","pushed_at":"2015-10-08T19:22:50Z","git_url":"git://github.com/thoughtbot/guides.git","ssh_url":"git@github.com:thoughtbot/guides.git","clone_url":"https://github.com/thoughtbot/guides.git","svn_url":"https://github.com/thoughtbot/guides","homepage":"https://robots.thoughtbot.com","size":4156,"stargazers_count":4488,"watchers_count":4488,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":680,"mirror_url":null,"open_issues_count":14,"forks":680,"open_issues":14,"watchers":4488,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"1e116b6b517efbf647341e3dedb19370d0f15671","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":5200099,"name":"guides","full_name":"thoughtbot/guides","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/guides","description":"A guide for programming in style.","fork":false,"url":"https://api.github.com/repos/thoughtbot/guides","forks_url":"https://api.github.com/repos/thoughtbot/guides/forks","keys_url":"https://api.github.com/repos/thoughtbot/guides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/guides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/guides/teams","hooks_url":"https://api.github.com/repos/thoughtbot/guides/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/guides/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/guides/events","assignees_url":"https://api.github.com/repos/thoughtbot/guides/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/guides/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/guides/tags","blobs_url":"https://api.github.com/repos/thoughtbot/guides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/guides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/guides/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/guides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/guides/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/guides/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/guides/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/guides/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/guides/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/guides/subscription","commits_url":"https://api.github.com/repos/thoughtbot/guides/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/guides/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/guides/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/guides/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/guides/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/guides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/guides/merges","archive_url":"https://api.github.com/repos/thoughtbot/guides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/guides/downloads","issues_url":"https://api.github.com/repos/thoughtbot/guides/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/guides/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/guides/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/guides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/guides/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/guides/releases{/id}","created_at":"2012-07-27T03:15:44Z","updated_at":"2015-10-08T17:17:49Z","pushed_at":"2015-10-08T19:22:50Z","git_url":"git://github.com/thoughtbot/guides.git","ssh_url":"git@github.com:thoughtbot/guides.git","clone_url":"https://github.com/thoughtbot/guides.git","svn_url":"https://github.com/thoughtbot/guides","homepage":"https://robots.thoughtbot.com","size":4156,"stargazers_count":4488,"watchers_count":4488,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":680,"mirror_url":null,"open_issues_count":14,"forks":680,"open_issues":14,"watchers":4488,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/guides/pulls/361"},"html":{"href":"https://github.com/thoughtbot/guides/pull/361"},"issue":{"href":"https://api.github.com/repos/thoughtbot/guides/issues/361"},"comments":{"href":"https://api.github.com/repos/thoughtbot/guides/issues/361/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/guides/pulls/361/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/guides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/guides/pulls/361/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/guides/statuses/348ee31e4cae09deeee1ac9454c1ee3d615c5d59"}}}}