{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/594","labels_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/594/comments","events_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/594/events","html_url":"https://github.com/tgriesser/bookshelf/issues/594","id":55361277,"number":594,"title":"When should I use forge()?","user":{"login":"demisx","id":4452412,"avatar_url":"https://avatars.githubusercontent.com/u/4452412?v=3","gravatar_id":"","url":"https://api.github.com/users/demisx","html_url":"https://github.com/demisx","followers_url":"https://api.github.com/users/demisx/followers","following_url":"https://api.github.com/users/demisx/following{/other_user}","gists_url":"https://api.github.com/users/demisx/gists{/gist_id}","starred_url":"https://api.github.com/users/demisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisx/subscriptions","organizations_url":"https://api.github.com/users/demisx/orgs","repos_url":"https://api.github.com/users/demisx/repos","events_url":"https://api.github.com/users/demisx/events{/privacy}","received_events_url":"https://api.github.com/users/demisx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-24T06:36:03Z","updated_at":"2015-01-24T14:04:48Z","closed_at":null,"body":"Can you guys please explain when exactly do I need to use `.forge()` on a collection or a model? So far I've done a few fetches and it seems to work without it. Just trying to make it clear in my head. Thank you. "},"comment":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/comments/71318182","html_url":"https://github.com/tgriesser/bookshelf/issues/594#issuecomment-71318182","issue_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/594","id":71318182,"user":{"login":"ricardograca","id":1457035,"avatar_url":"https://avatars.githubusercontent.com/u/1457035?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardograca","html_url":"https://github.com/ricardograca","followers_url":"https://api.github.com/users/ricardograca/followers","following_url":"https://api.github.com/users/ricardograca/following{/other_user}","gists_url":"https://api.github.com/users/ricardograca/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardograca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardograca/subscriptions","organizations_url":"https://api.github.com/users/ricardograca/orgs","repos_url":"https://api.github.com/users/ricardograca/repos","events_url":"https://api.github.com/users/ricardograca/events{/privacy}","received_events_url":"https://api.github.com/users/ricardograca/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T14:04:48Z","updated_at":"2015-01-24T14:04:48Z","body":"As I see it it's just a matter of style or personal preference.\r\n\r\nWith that said I would personally prefer a single way of doing it, since it\r\nis confusing for new users.\r\nEm 24/01/2015 11:59, \"Isaac Mayolas\" <notifications@github.com> escreveu:\r\n\r\n> From the documentation:\r\n>\r\n> A simple helper function to instantiate a new Model without needing new.\r\n>\r\n> So new Model({name: \"blah\"}).fetch() is equivalent to Model.forge({name:\r\n> \"blah\"}).fetch()\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/tgriesser/bookshelf/issues/594#issuecomment-71313655>.\r\n>"}}