Re: [Rails] Re: render problem in builder template

2009-11-19 Thread Darian Shimy
Ray, Good find, I didn't know that. Darian Shimy -- http://www.darianshimy.com http://twitter.com/dshimy On Thu, Nov 19, 2009 at 7:48 PM, Ray wrote: > Hi Darian, > > It turned out that in "app/views/some_path/sample.atom.builder", > render :partial => 'foo/bar' will looking for a template na

[Rails] Re: render problem in builder template

2009-11-19 Thread Ray
Hi Darian, It turned out that in "app/views/some_path/sample.atom.builder", render :partial => 'foo/bar' will looking for a template named "foo/ _bar.atom.erb"( with file extension ".atom"), since such template do not exists, the MissingTemplate exception was raised. So the solution should be: cr