In my database, I have a project object with an hours property, which is just an array of length 6 with opening and closing times. The project hours are being loaded correctly (I've outputted it to handlebars). But when I try to loop through the project.hours array via Handlebars' each, I get TypeError: this.get is not a function.
{{project.hours}} <!-- this prints the array to the page, so I know it's right -->
{{#each project.hours}}
{{this}} <!-- this throws an error -->
{{/each}}
Any ideas as to why this won't work?
Also, it's worth mentioning that the hours array looks like:
[{open: 8, close: 21},
{open: 8, close: 21},
{open: 8, close: 21},
{open: 8, close: 21},
{open: 8, close: 21},
{open: 8, close: 21},
{open: 8, close: 21}]
UPDATE
Here is the raw output of {{project}}
{ _id: 5748640ceadbd4d82a00000c, number: 11924, owner: 574118154f1c5e682800000c, title: 'New Project', description: 'This should be where we test editing.', hours: { '0': { close: '23', open: '17' }, '1': { close: '23', open: '17' }, '2': { close: '23', open: '17' }, '3': { close: '23', open: '17' }, '4': { close: '23', open: '17' }, '5': { close: '23', open: '17' }, '6': { close: '23', open: '17' } } }