{"action":"created","issue":{"url":"https://api.github.com/repos/customink/secondbase/issues/28","repository_url":"https://api.github.com/repos/customink/secondbase","labels_url":"https://api.github.com/repos/customink/secondbase/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/customink/secondbase/issues/28/comments","events_url":"https://api.github.com/repos/customink/secondbase/issues/28/events","html_url":"https://github.com/customink/secondbase/pull/28","id":153468892,"number":28,"title":"Allow ENV setting for SecondBase connection","user":{"login":"agrberg","id":410469,"avatar_url":"https://avatars.githubusercontent.com/u/410469?v=3","gravatar_id":"","url":"https://api.github.com/users/agrberg","html_url":"https://github.com/agrberg","followers_url":"https://api.github.com/users/agrberg/followers","following_url":"https://api.github.com/users/agrberg/following{/other_user}","gists_url":"https://api.github.com/users/agrberg/gists{/gist_id}","starred_url":"https://api.github.com/users/agrberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrberg/subscriptions","organizations_url":"https://api.github.com/users/agrberg/orgs","repos_url":"https://api.github.com/users/agrberg/repos","events_url":"https://api.github.com/users/agrberg/events{/privacy}","received_events_url":"https://api.github.com/users/agrberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-06T14:54:12Z","updated_at":"2016-05-06T14:55:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/customink/secondbase/pulls/28","html_url":"https://github.com/customink/secondbase/pull/28","diff_url":"https://github.com/customink/secondbase/pull/28.diff","patch_url":"https://github.com/customink/secondbase/pull/28.patch"},"body":"This is modeled after how ActiveRecord gives priority to a `ENV['DATABASE_URL]` connection. It allows the same flexibility of not having your production credentials in your `database.yml` file."},"comment":{"url":"https://api.github.com/repos/customink/secondbase/issues/comments/217464476","html_url":"https://github.com/customink/secondbase/pull/28#issuecomment-217464476","issue_url":"https://api.github.com/repos/customink/secondbase/issues/28","id":217464476,"user":{"login":"agrberg","id":410469,"avatar_url":"https://avatars.githubusercontent.com/u/410469?v=3","gravatar_id":"","url":"https://api.github.com/users/agrberg","html_url":"https://github.com/agrberg","followers_url":"https://api.github.com/users/agrberg/followers","following_url":"https://api.github.com/users/agrberg/following{/other_user}","gists_url":"https://api.github.com/users/agrberg/gists{/gist_id}","starred_url":"https://api.github.com/users/agrberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrberg/subscriptions","organizations_url":"https://api.github.com/users/agrberg/orgs","repos_url":"https://api.github.com/users/agrberg/repos","events_url":"https://api.github.com/users/agrberg/events{/privacy}","received_events_url":"https://api.github.com/users/agrberg/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T14:55:10Z","updated_at":"2016-05-06T14:55:10Z","body":"I'd happily add tests for this but I cannot get the tests to run locally without a number of failures out of the box. I believe I do not have the test env configured correctly but I only have time to look into it more in depth later."}}