{"action":"created","comment":{"url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/comments/31715168","id":31715168,"diff_hunk":"@@ -8,7 +8,9 @@ module Page::PageElements\n \n       has_many :elements, -> { order(:position) }\n       has_many :contents, :through => :elements\n-      has_and_belongs_to_many :to_be_sweeped_elements, -> { uniq }, class_name: 'Alchemy::Element', join_table: 'alchemy_elements_alchemy_pages'\n+      has_and_belongs_to_many :to_be_sweeped_elements, -> { uniq },\n+        class_name: 'Alchemy::Element',","path":"app/models/alchemy/page/page_elements.rb","position":6,"original_position":6,"commit_id":"804e9d0426456b5290740317c54d4da56c9971a9","original_commit_id":"804e9d0426456b5290740317c54d4da56c9971a9","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":"Align the parameters of a method call if they span more than one line.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-04T12:25:30Z","updated_at":"2015-06-04T12:25:30Z","html_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/788#discussion_r31715168","pull_request_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788","_links":{"self":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/comments/31715168"},"html":{"href":"https://github.com/AlchemyCMS/alchemy_cms/pull/788#discussion_r31715168"},"pull_request":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788"}}},"pull_request":{"url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788","id":36928952,"html_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/788","diff_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/788.diff","patch_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/788.patch","issue_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/788","number":788,"state":"open","locked":false,"title":"Fix issues with table_name_prefix","user":{"login":"milj","id":881755,"avatar_url":"https://avatars.githubusercontent.com/u/881755?v=3","gravatar_id":"","url":"https://api.github.com/users/milj","html_url":"https://github.com/milj","followers_url":"https://api.github.com/users/milj/followers","following_url":"https://api.github.com/users/milj/following{/other_user}","gists_url":"https://api.github.com/users/milj/gists{/gist_id}","starred_url":"https://api.github.com/users/milj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milj/subscriptions","organizations_url":"https://api.github.com/users/milj/orgs","repos_url":"https://api.github.com/users/milj/repos","events_url":"https://api.github.com/users/milj/events{/privacy}","received_events_url":"https://api.github.com/users/milj/received_events","type":"User","site_admin":false},"body":"These changes should enable the usage of a different table name prefix.\r\n'alchemy_' prefix should not be hardcoded.\r\n\r\nI've done it on 3.1-stable as this is what I'm using now but should be ported to master.\r\n","created_at":"2015-06-04T12:25:25Z","updated_at":"2015-06-04T12:25:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a672a6a2c7828ac3285b8e1d46e69361047f028","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788/commits","review_comments_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788/comments","review_comment_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/788/comments","statuses_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/statuses/804e9d0426456b5290740317c54d4da56c9971a9","head":{"label":"getkiwicom:fix-table-name-prefix-issues","ref":"fix-table-name-prefix-issues","sha":"804e9d0426456b5290740317c54d4da56c9971a9","user":{"login":"getkiwicom","id":12657318,"avatar_url":"https://avatars.githubusercontent.com/u/12657318?v=3","gravatar_id":"","url":"https://api.github.com/users/getkiwicom","html_url":"https://github.com/getkiwicom","followers_url":"https://api.github.com/users/getkiwicom/followers","following_url":"https://api.github.com/users/getkiwicom/following{/other_user}","gists_url":"https://api.github.com/users/getkiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/getkiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getkiwicom/subscriptions","organizations_url":"https://api.github.com/users/getkiwicom/orgs","repos_url":"https://api.github.com/users/getkiwicom/repos","events_url":"https://api.github.com/users/getkiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/getkiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":36861295,"name":"alchemy_cms","full_name":"getkiwicom/alchemy_cms","owner":{"login":"getkiwicom","id":12657318,"avatar_url":"https://avatars.githubusercontent.com/u/12657318?v=3","gravatar_id":"","url":"https://api.github.com/users/getkiwicom","html_url":"https://github.com/getkiwicom","followers_url":"https://api.github.com/users/getkiwicom/followers","following_url":"https://api.github.com/users/getkiwicom/following{/other_user}","gists_url":"https://api.github.com/users/getkiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/getkiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getkiwicom/subscriptions","organizations_url":"https://api.github.com/users/getkiwicom/orgs","repos_url":"https://api.github.com/users/getkiwicom/repos","events_url":"https://api.github.com/users/getkiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/getkiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getkiwicom/alchemy_cms","description":"Alchemy is a powerful, flexible and user centric Rails CMS.","fork":true,"url":"https://api.github.com/repos/getkiwicom/alchemy_cms","forks_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/forks","keys_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/teams","hooks_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/hooks","issue_events_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/issues/events{/number}","events_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/events","assignees_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/assignees{/user}","branches_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/branches{/branch}","tags_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/tags","blobs_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/statuses/{sha}","languages_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/languages","stargazers_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/stargazers","contributors_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/contributors","subscribers_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/subscribers","subscription_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/subscription","commits_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/contents/{+path}","compare_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/merges","archive_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/downloads","issues_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/issues{/number}","pulls_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/pulls{/number}","milestones_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/milestones{/number}","notifications_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/labels{/name}","releases_url":"https://api.github.com/repos/getkiwicom/alchemy_cms/releases{/id}","created_at":"2015-06-04T09:33:57Z","updated_at":"2015-06-04T09:33:59Z","pushed_at":"2015-06-04T12:22:06Z","git_url":"git://github.com/getkiwicom/alchemy_cms.git","ssh_url":"git@github.com:getkiwicom/alchemy_cms.git","clone_url":"https://github.com/getkiwicom/alchemy_cms.git","svn_url":"https://github.com/getkiwicom/alchemy_cms","homepage":"http://alchemy-cms.com","size":21566,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"AlchemyCMS:3.1-stable","ref":"3.1-stable","sha":"787bbe64d9c37c63436c4c4222d7bd96b2930cf9","user":{"login":"AlchemyCMS","id":6218554,"avatar_url":"https://avatars.githubusercontent.com/u/6218554?v=3","gravatar_id":"","url":"https://api.github.com/users/AlchemyCMS","html_url":"https://github.com/AlchemyCMS","followers_url":"https://api.github.com/users/AlchemyCMS/followers","following_url":"https://api.github.com/users/AlchemyCMS/following{/other_user}","gists_url":"https://api.github.com/users/AlchemyCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/AlchemyCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlchemyCMS/subscriptions","organizations_url":"https://api.github.com/users/AlchemyCMS/orgs","repos_url":"https://api.github.com/users/AlchemyCMS/repos","events_url":"https://api.github.com/users/AlchemyCMS/events{/privacy}","received_events_url":"https://api.github.com/users/AlchemyCMS/received_events","type":"Organization","site_admin":false},"repo":{"id":1581769,"name":"alchemy_cms","full_name":"AlchemyCMS/alchemy_cms","owner":{"login":"AlchemyCMS","id":6218554,"avatar_url":"https://avatars.githubusercontent.com/u/6218554?v=3","gravatar_id":"","url":"https://api.github.com/users/AlchemyCMS","html_url":"https://github.com/AlchemyCMS","followers_url":"https://api.github.com/users/AlchemyCMS/followers","following_url":"https://api.github.com/users/AlchemyCMS/following{/other_user}","gists_url":"https://api.github.com/users/AlchemyCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/AlchemyCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlchemyCMS/subscriptions","organizations_url":"https://api.github.com/users/AlchemyCMS/orgs","repos_url":"https://api.github.com/users/AlchemyCMS/repos","events_url":"https://api.github.com/users/AlchemyCMS/events{/privacy}","received_events_url":"https://api.github.com/users/AlchemyCMS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AlchemyCMS/alchemy_cms","description":"Alchemy is a powerful, flexible and user centric Rails CMS.","fork":false,"url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms","forks_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/forks","keys_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/teams","hooks_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/hooks","issue_events_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/events{/number}","events_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/events","assignees_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/assignees{/user}","branches_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/branches{/branch}","tags_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/tags","blobs_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/statuses/{sha}","languages_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/languages","stargazers_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/stargazers","contributors_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/contributors","subscribers_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/subscribers","subscription_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/subscription","commits_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/contents/{+path}","compare_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/merges","archive_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/downloads","issues_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues{/number}","pulls_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls{/number}","milestones_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/milestones{/number}","notifications_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/labels{/name}","releases_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/releases{/id}","created_at":"2011-04-07T10:37:01Z","updated_at":"2015-05-31T04:44:27Z","pushed_at":"2015-06-04T12:25:26Z","git_url":"git://github.com/AlchemyCMS/alchemy_cms.git","ssh_url":"git@github.com:AlchemyCMS/alchemy_cms.git","clone_url":"https://github.com/AlchemyCMS/alchemy_cms.git","svn_url":"https://github.com/AlchemyCMS/alchemy_cms","homepage":"http://alchemy-cms.com","size":21566,"stargazers_count":311,"watchers_count":311,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":16,"forks":145,"open_issues":16,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788"},"html":{"href":"https://github.com/AlchemyCMS/alchemy_cms/pull/788"},"issue":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/788"},"comments":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/788/comments"},"review_comments":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788/comments"},"review_comment":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/788/commits"},"statuses":{"href":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/statuses/804e9d0426456b5290740317c54d4da56c9971a9"}}}}