{"action":"created","issue":{"url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/issues/1","repository_url":"https://api.github.com/repos/fp-team-maniac/maniac-chess","labels_url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/issues/1/comments","events_url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/issues/1/events","html_url":"https://github.com/fp-team-maniac/maniac-chess/pull/1","id":147013719,"number":1,"title":"Updated DB config to pull prod info from the environment for security","user":{"login":"obulkin","id":16826367,"avatar_url":"https://avatars.githubusercontent.com/u/16826367?v=3","gravatar_id":"","url":"https://api.github.com/users/obulkin","html_url":"https://github.com/obulkin","followers_url":"https://api.github.com/users/obulkin/followers","following_url":"https://api.github.com/users/obulkin/following{/other_user}","gists_url":"https://api.github.com/users/obulkin/gists{/gist_id}","starred_url":"https://api.github.com/users/obulkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obulkin/subscriptions","organizations_url":"https://api.github.com/users/obulkin/orgs","repos_url":"https://api.github.com/users/obulkin/repos","events_url":"https://api.github.com/users/obulkin/events{/privacy}","received_events_url":"https://api.github.com/users/obulkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T19:15:25Z","updated_at":"2016-04-09T15:51:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/pulls/1","html_url":"https://github.com/fp-team-maniac/maniac-chess/pull/1","diff_url":"https://github.com/fp-team-maniac/maniac-chess/pull/1.diff","patch_url":"https://github.com/fp-team-maniac/maniac-chess/pull/1.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/issues/comments/207810044","html_url":"https://github.com/fp-team-maniac/maniac-chess/pull/1#issuecomment-207810044","issue_url":"https://api.github.com/repos/fp-team-maniac/maniac-chess/issues/1","id":207810044,"user":{"login":"kenortiz","id":15789501,"avatar_url":"https://avatars.githubusercontent.com/u/15789501?v=3","gravatar_id":"","url":"https://api.github.com/users/kenortiz","html_url":"https://github.com/kenortiz","followers_url":"https://api.github.com/users/kenortiz/followers","following_url":"https://api.github.com/users/kenortiz/following{/other_user}","gists_url":"https://api.github.com/users/kenortiz/gists{/gist_id}","starred_url":"https://api.github.com/users/kenortiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenortiz/subscriptions","organizations_url":"https://api.github.com/users/kenortiz/orgs","repos_url":"https://api.github.com/users/kenortiz/repos","events_url":"https://api.github.com/users/kenortiz/events{/privacy}","received_events_url":"https://api.github.com/users/kenortiz/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T15:51:48Z","updated_at":"2016-04-09T15:51:48Z","body":"This looks good to me. I like how you refactored the database.yml. I wasn't sure why you used an environment variable for production at first but after researching it, it makes sense now. Just in case anyone else is curious, I found these articles helpful:\r\n[](https://devcenter.heroku.com/articles/rails-database-connection-behavior)\r\n[](http://guides.rubyonrails.org/configuring.html#configuring-a-database)"}}