{"comment":{"created_at":"2011-10-27T03:13:18Z","body":"Create should be working yes, it would create a collection item and then save to database as how we specify before. \r\nHmm for the moment you can only create a collection with a key, otherwise it would be complicated to refer to it even if a default random key is created. I guess collection create without key would be useful only if you want to create and save to the data base without thinking in access it by key. Or do you have a different use case?","updated_at":"2011-10-27T03:13:18Z","url":"https://api.github.com/repos/cayasso/oomvc/issues/comments/2539249","id":2539249,"user":{"gravatar_id":"2b7a125030f3d8b887bf5b061a8eb5f2","avatar_url":"https://secure.gravatar.com/avatar/2b7a125030f3d8b887bf5b061a8eb5f2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/cayasso","id":42518,"login":"cayasso"}},"action":"created","issue":{"number":12,"created_at":"2011-10-27T00:41:07Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"If I do:\r\n\r\n    space.lines.create(key, data, callback);\r\n\r\nwill that attempt to save the data to the database and, if successful, create a new space.lines(key) object?\r\n\r\nAlso, what happens if I don't specify a key, such as:\r\n\r\n    space.lines.create(key, data, callback);\r\n\r\nThere are definitely times when I might want to simply create and save an object without a key.  Can I do that?","comments":1,"title":"Does create() still work with collections?","updated_at":"2011-10-27T03:13:18Z","url":"https://api.github.com/repos/cayasso/oomvc/issues/12","id":2063460,"assignee":null,"milestone":null,"closed_at":"2011-10-27T03:13:18Z","user":{"gravatar_id":"9c877363185e5f88c09aa28140c1a770","avatar_url":"https://secure.gravatar.com/avatar/9c877363185e5f88c09aa28140c1a770?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/noctivityinc","id":78850,"login":"noctivityinc"},"html_url":"https://github.com/cayasso/oomvc/issues/12","labels":[],"state":"closed"},"legacy":{"issue_id":2063460,"comment_id":2539249}}