{"action":"created","issue":{"url":"https://api.github.com/repos/wkotzan-avant/production_sampler/issues/1","labels_url":"https://api.github.com/repos/wkotzan-avant/production_sampler/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wkotzan-avant/production_sampler/issues/1/comments","events_url":"https://api.github.com/repos/wkotzan-avant/production_sampler/issues/1/events","html_url":"https://github.com/wkotzan-avant/production_sampler/pull/1","id":128466252,"number":1,"title":"Add sql insert statement output","user":{"login":"wkotzan-avant","id":13108774,"avatar_url":"https://avatars.githubusercontent.com/u/13108774?v=3","gravatar_id":"","url":"https://api.github.com/users/wkotzan-avant","html_url":"https://github.com/wkotzan-avant","followers_url":"https://api.github.com/users/wkotzan-avant/followers","following_url":"https://api.github.com/users/wkotzan-avant/following{/other_user}","gists_url":"https://api.github.com/users/wkotzan-avant/gists{/gist_id}","starred_url":"https://api.github.com/users/wkotzan-avant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkotzan-avant/subscriptions","organizations_url":"https://api.github.com/users/wkotzan-avant/orgs","repos_url":"https://api.github.com/users/wkotzan-avant/repos","events_url":"https://api.github.com/users/wkotzan-avant/events{/privacy}","received_events_url":"https://api.github.com/users/wkotzan-avant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-25T05:23:41Z","updated_at":"2016-01-25T15:47:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wkotzan-avant/production_sampler/pulls/1","html_url":"https://github.com/wkotzan-avant/production_sampler/pull/1","diff_url":"https://github.com/wkotzan-avant/production_sampler/pull/1.diff","patch_url":"https://github.com/wkotzan-avant/production_sampler/pull/1.patch"},"body":"@MissingHandle @bintlopez @robb-broome @cngraf @dvanderbeek @ferdy89\r\n\r\nEnhancements to the Production Sampler gem. It could be used to pull data from a production environment as SQL INSERT statements that could be used to load the data into another DB, such as a development or test environment. I'm using it to better replicate the bug that I am currently working to fix, since it could not be replicated in a simple test.\r\n\r\nIf you're unfamiliar, Production Sampler is currently used in the credit line interactor system as a means of pulling all required data about the credit line into an in-memory data source. This is a much more efficient approach than relying on the ActiveRecord models, which would query the database many times for a single business logic transaction.\r\n\r\nI'd like to do some major refactoring of Production Sampler. All of the code resides in a single file. The concerns should actually be separated into modules. But I'll worry about that later as I am trying to fry bigger fish for now."},"comment":{"url":"https://api.github.com/repos/wkotzan-avant/production_sampler/issues/comments/174549452","html_url":"https://github.com/wkotzan-avant/production_sampler/pull/1#issuecomment-174549452","issue_url":"https://api.github.com/repos/wkotzan-avant/production_sampler/issues/1","id":174549452,"user":{"login":"Ferdy89","id":1112217,"avatar_url":"https://avatars.githubusercontent.com/u/1112217?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferdy89","html_url":"https://github.com/Ferdy89","followers_url":"https://api.github.com/users/Ferdy89/followers","following_url":"https://api.github.com/users/Ferdy89/following{/other_user}","gists_url":"https://api.github.com/users/Ferdy89/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferdy89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferdy89/subscriptions","organizations_url":"https://api.github.com/users/Ferdy89/orgs","repos_url":"https://api.github.com/users/Ferdy89/repos","events_url":"https://api.github.com/users/Ferdy89/events{/privacy}","received_events_url":"https://api.github.com/users/Ferdy89/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T15:47:43Z","updated_at":"2016-01-25T15:47:43Z","body":"Nice idea for a gem, @wkotzan-avant. Very ambitious, but definitely useful!"}}