{"action":"created","issue":{"url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/issues/103","repository_url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record","labels_url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/issues/103/comments","events_url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/issues/103/events","html_url":"https://github.com/collectiveidea/delayed_job_active_record/pull/103","id":62596411,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE0MDIxNTQ=","number":103,"title":"capability to change table name","user":{"login":"sakatam","id":81522,"node_id":"MDQ6VXNlcjgxNTIy","avatar_url":"https://avatars0.githubusercontent.com/u/81522?v=4","gravatar_id":"","url":"https://api.github.com/users/sakatam","html_url":"https://github.com/sakatam","followers_url":"https://api.github.com/users/sakatam/followers","following_url":"https://api.github.com/users/sakatam/following{/other_user}","gists_url":"https://api.github.com/users/sakatam/gists{/gist_id}","starred_url":"https://api.github.com/users/sakatam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakatam/subscriptions","organizations_url":"https://api.github.com/users/sakatam/orgs","repos_url":"https://api.github.com/users/sakatam/repos","events_url":"https://api.github.com/users/sakatam/events{/privacy}","received_events_url":"https://api.github.com/users/sakatam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-03-18T05:47:43Z","updated_at":"2018-08-03T15:26:25Z","closed_at":"2018-08-03T15:26:25Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/pulls/103","html_url":"https://github.com/collectiveidea/delayed_job_active_record/pull/103","diff_url":"https://github.com/collectiveidea/delayed_job_active_record/pull/103.diff","patch_url":"https://github.com/collectiveidea/delayed_job_active_record/pull/103.patch"},"body":"This is to add a capability to change the hard-coded table name. With this feature, users can configure the table name in the initializer script like:\n\n``` rb\nDelayed::Backend::ActiveRecord::Job.set_delayed_job_table_name(\"my_lazy_jobs\")\n```\n"},"comment":{"url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/issues/comments/410288653","html_url":"https://github.com/collectiveidea/delayed_job_active_record/pull/103#issuecomment-410288653","issue_url":"https://api.github.com/repos/collectiveidea/delayed_job_active_record/issues/103","id":410288653,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDI4ODY1Mw==","user":{"login":"albus522","id":7812,"node_id":"MDQ6VXNlcjc4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/7812?v=4","gravatar_id":"","url":"https://api.github.com/users/albus522","html_url":"https://github.com/albus522","followers_url":"https://api.github.com/users/albus522/followers","following_url":"https://api.github.com/users/albus522/following{/other_user}","gists_url":"https://api.github.com/users/albus522/gists{/gist_id}","starred_url":"https://api.github.com/users/albus522/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albus522/subscriptions","organizations_url":"https://api.github.com/users/albus522/orgs","repos_url":"https://api.github.com/users/albus522/repos","events_url":"https://api.github.com/users/albus522/events{/privacy}","received_events_url":"https://api.github.com/users/albus522/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T15:26:25Z","updated_at":"2018-08-03T15:26:25Z","author_association":"MEMBER","body":"This change is not needed to be able to change the table name. The method in question is only ever called once when that file is loaded. Use \r\n```ruby\r\nDelayed::Job.table_name = 'whatever_you_want'\r\n```\r\nand you are good to go. "}}
{"actor":{"display_login":"albus522"}}