{"action":"closed","issue":{"url":"https://api.github.com/repos/jhollinger/otr-activerecord/issues/4","repository_url":"https://api.github.com/repos/jhollinger/otr-activerecord","labels_url":"https://api.github.com/repos/jhollinger/otr-activerecord/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jhollinger/otr-activerecord/issues/4/comments","events_url":"https://api.github.com/repos/jhollinger/otr-activerecord/issues/4/events","html_url":"https://github.com/jhollinger/otr-activerecord/issues/4","id":173446663,"number":4,"title":"Some default rails tasks iterate over all databases","user":{"login":"atomless","id":28726,"avatar_url":"https://avatars.githubusercontent.com/u/28726?v=3","gravatar_id":"","url":"https://api.github.com/users/atomless","html_url":"https://github.com/atomless","followers_url":"https://api.github.com/users/atomless/followers","following_url":"https://api.github.com/users/atomless/following{/other_user}","gists_url":"https://api.github.com/users/atomless/gists{/gist_id}","starred_url":"https://api.github.com/users/atomless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomless/subscriptions","organizations_url":"https://api.github.com/users/atomless/orgs","repos_url":"https://api.github.com/users/atomless/repos","events_url":"https://api.github.com/users/atomless/events{/privacy}","received_events_url":"https://api.github.com/users/atomless/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T12:54:59Z","updated_at":"2016-08-26T15:44:26Z","closed_at":"2016-08-26T15:44:25Z","body":"Tasks such as `db:create` `db:schema:load` and `db:reset` appear to disregard the RAILS_ENV setting and iterate over all the non protected (so not production or admin) databases listed in your config. I find this highly undesirable. Is there any way to prevent this other than doing `Rake::Task['db:schema:load'].clear` and then writing my own implementation?"}}
{"actor":{"display_login":"atomless"}}