ActionView::Template::Error (no such file to load -- eco
How do I get Rails 3.1 to package my Eco templates?
Add the following line to your Gemfile:
How do I find and render my Eco templates in my CoffeeScript?
Let's assume you want your embedded template to live in:
can be rendered in your CoffeeScript using:
For a full working example of Eco templates with Rails and Spine, check out Alex MacCaw's infinite scrolling screencast and source.
Update (12/14/2011): Slides from my presentation on Eco at URUG are now online: http://backbonecoffeescript.com/eco-coffeescript-templates