{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2267","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2267/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2267/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2267/events","html_url":"https://github.com/balderdashy/sails/issues/2267","id":44196963,"number":2267,"title":"A hook (`orm`) failed to load!","user":{"login":"nosensezzz","id":1654228,"avatar_url":"https://avatars.githubusercontent.com/u/1654228?v=3","gravatar_id":"","url":"https://api.github.com/users/nosensezzz","html_url":"https://github.com/nosensezzz","followers_url":"https://api.github.com/users/nosensezzz/followers","following_url":"https://api.github.com/users/nosensezzz/following{/other_user}","gists_url":"https://api.github.com/users/nosensezzz/gists{/gist_id}","starred_url":"https://api.github.com/users/nosensezzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosensezzz/subscriptions","organizations_url":"https://api.github.com/users/nosensezzz/orgs","repos_url":"https://api.github.com/users/nosensezzz/repos","events_url":"https://api.github.com/users/nosensezzz/events{/privacy}","received_events_url":"https://api.github.com/users/nosensezzz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-09-27T23:38:47Z","updated_at":"2015-07-31T18:42:48Z","closed_at":"2015-04-09T07:44:10Z","body":"I have sails-mongo installed on my sails.js , and I set my connection and model to mongodb, but when I run the project, it report this error.\r\n\r\nShould I need to activate mongodb before sails lift? if do , how can I start my mongodb service, I type \"mongod\" , it's not such commend."},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/126780250","html_url":"https://github.com/balderdashy/sails/issues/2267#issuecomment-126780250","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2267","id":126780250,"user":{"login":"tjwebb","id":1009114,"avatar_url":"https://avatars.githubusercontent.com/u/1009114?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwebb","html_url":"https://github.com/tjwebb","followers_url":"https://api.github.com/users/tjwebb/followers","following_url":"https://api.github.com/users/tjwebb/following{/other_user}","gists_url":"https://api.github.com/users/tjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwebb/subscriptions","organizations_url":"https://api.github.com/users/tjwebb/orgs","repos_url":"https://api.github.com/users/tjwebb/repos","events_url":"https://api.github.com/users/tjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/tjwebb/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T18:42:48Z","updated_at":"2015-07-31T18:42:48Z","body":"@theambitious thanks for writing about Sails! The docs on environment-specific configs are here: http://sailsjs.org/documentation/concepts/configuration#?environmentspecific-files-config-env\r\n\r\nIt's the framework's assumption that if you define a connection, Sails should try to connect to it, because if it's defined then Sails assumes that you want to use it for something, even if no models have that connection set."}}