here is my collection
Ques_Coll.insert({question: quest,owner:u_name,comments:[]});
After user enters comment, collection will be updated like this
Ques_Coll.update({_id:this._id},{$push:{comments:{uname:"xxx",cmt_text:"xxx"}}});
Until this working fine
Now, i want to iterate through all the comments and want to display them
how to do it?
this is how i tried and not working
{{#each all_comments.comments}}
<li>{{uname}}</li>
<li>{{cmt_text}}</li>
{{/each}}
this is my template //i think my problem lies in this returning value
all_comments:function()
{
return Ques_Coll.find( {_id:this._id},{fields: {'comments': 1}})
}