{"action":"opened","issue":{"url":"https://api.github.com/repos/rails/rails/issues/21307","labels_url":"https://api.github.com/repos/rails/rails/issues/21307/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/21307/comments","events_url":"https://api.github.com/repos/rails/rails/issues/21307/events","html_url":"https://github.com/rails/rails/issues/21307","id":102087660,"number":21307,"title":"create_join_table incorrectly prepends table_name_prefix to first table name before generating table name","user":{"login":"frenkel","id":121169,"avatar_url":"https://avatars.githubusercontent.com/u/121169?v=3","gravatar_id":"","url":"https://api.github.com/users/frenkel","html_url":"https://github.com/frenkel","followers_url":"https://api.github.com/users/frenkel/followers","following_url":"https://api.github.com/users/frenkel/following{/other_user}","gists_url":"https://api.github.com/users/frenkel/gists{/gist_id}","starred_url":"https://api.github.com/users/frenkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenkel/subscriptions","organizations_url":"https://api.github.com/users/frenkel/orgs","repos_url":"https://api.github.com/users/frenkel/repos","events_url":"https://api.github.com/users/frenkel/events{/privacy}","received_events_url":"https://api.github.com/users/frenkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-20T08:20:16Z","updated_at":"2015-08-20T08:20:16Z","closed_at":null,"body":"For example:\r\n\r\n    ActiveRecord::Base.table_name_prefix = 'test_'\r\n\r\n    create_join_table :actions, :scenarios\r\n\r\nThis will create a table names `scenarios_test_actions`."}}