RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: bigfive
I just used straight ejs instead of eco. It means the template looks more like:
//index.jst.ejs <h2>Entries</h2> <ul> <% for(i=0; i<entries.length; i++){ %> <li><%= entries.models[i].get('name'); %></li> <% } %> </ul>
It now works for me. But no nice coffee script templates.
p.s. I'm trying this on a windows machine.
It looks to be a known issue: https://github.com/sstephenson/eco/issues/29 I'm looking into alternatives to eco on windows
I'm having the same issue. Did you manage to fix it?
I just used straight ejs instead of eco.
It means the template looks more like:
It now works for me. But no nice coffee script templates.
p.s. I'm trying this on a windows machine.
It looks to be a known issue: https://github.com/sstephenson/eco/issues/29
I'm looking into alternatives to eco on windows
I'm having the same issue.
Did you manage to fix it?