{"action":"created","issue":{"url":"https://api.github.com/repos/VeliovGroup/ostrio-Neo4jreactivity/issues/29","labels_url":"https://api.github.com/repos/VeliovGroup/ostrio-Neo4jreactivity/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/VeliovGroup/ostrio-Neo4jreactivity/issues/29/comments","events_url":"https://api.github.com/repos/VeliovGroup/ostrio-Neo4jreactivity/issues/29/events","html_url":"https://github.com/VeliovGroup/ostrio-Neo4jreactivity/issues/29","id":67363025,"number":29,"title":"emulating cursors","user":{"login":"alexfrieden","id":1154496,"avatar_url":"https://avatars.githubusercontent.com/u/1154496?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfrieden","html_url":"https://github.com/alexfrieden","followers_url":"https://api.github.com/users/alexfrieden/followers","following_url":"https://api.github.com/users/alexfrieden/following{/other_user}","gists_url":"https://api.github.com/users/alexfrieden/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfrieden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfrieden/subscriptions","organizations_url":"https://api.github.com/users/alexfrieden/orgs","repos_url":"https://api.github.com/users/alexfrieden/repos","events_url":"https://api.github.com/users/alexfrieden/events{/privacy}","received_events_url":"https://api.github.com/users/alexfrieden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-09T13:33:25Z","updated_at":"2015-04-09T13:37:42Z","closed_at":null,"body":"So we have some code that populates on web app\r\n```\r\nTemplate.map.helpers({\r\n\r\n  bits: function() {\r\n    var myBits = Template.instance().bits.get();\r\n    console.log(myBits);\r\n    return myBits;\r\n  }\r\n});\r\nTemplate.map.created = function(){\r\n  var self = this;\r\n  console.log('map rendered.');\r\n  self.bits = new ReactiveVar(\"bits not yet processed.\");\r\n  Meteor.neo4j.call('allBits',{},function(error,data) {\r\n    if (error)\r\n      console.log(error);\r\n    else \r\n      self.bits.set(data['a']);\r\n  });\r\n};\r\n```\r\n\r\nAnd then in our html page we have:\r\n```\r\n    {{ #each bits }}\r\n      test<br/>\r\n    {{/each }}\r\n```\r\n\r\nBut we are getting the error: \r\n`Uncaught Error: {{#each}} currently only accepts arrays, cursors or falsey values.`\r\n\r\nAny thoughts on how to emulate the cursor structure?\r\n"},"comment":{"url":"https://api.github.com/repos/VeliovGroup/ostrio-Neo4jreactivity/issues/comments/91233750","html_url":"https://github.com/VeliovGroup/ostrio-Neo4jreactivity/issues/29#issuecomment-91233750","issue_url":"https://api.github.com/repos/VeliovGroup/ostrio-Neo4jreactivity/issues/29","id":91233750,"user":{"login":"dr-dimitru","id":1686778,"avatar_url":"https://avatars.githubusercontent.com/u/1686778?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-dimitru","html_url":"https://github.com/dr-dimitru","followers_url":"https://api.github.com/users/dr-dimitru/followers","following_url":"https://api.github.com/users/dr-dimitru/following{/other_user}","gists_url":"https://api.github.com/users/dr-dimitru/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-dimitru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-dimitru/subscriptions","organizations_url":"https://api.github.com/users/dr-dimitru/orgs","repos_url":"https://api.github.com/users/dr-dimitru/repos","events_url":"https://api.github.com/users/dr-dimitru/events{/privacy}","received_events_url":"https://api.github.com/users/dr-dimitru/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T13:37:42Z","updated_at":"2015-04-09T13:37:42Z","body":"Check [dev](https://github.com/VeliovGroup/ostrio-Neo4jreactivity/tree/dev) tree it allows to work with returned data as with mongo collection (To use it read about latest commits.Will be published next week).\r\n\r\nAbout your case:\r\n - Make sure Neo4j returns something\r\n - Show me your Neo4j query\r\n - Show me `console.log(error, data)`"}}