On 2007-08-15, at 17:25 , James Adam wrote:
> The exact error I get is:
>
>   Missing template test/sub.html.erb in view path
>
> ...which is a bit more worrying because it's not even looking for
> hello_world.erb/rxml/rhtml/anything.
>
> Am I missing something here?

You are.

It explicitly calls render on 'test/hello_world' and expclitily asks  
for the layout at 'test/sub'.

The thing i'm testing for is that the test/sub layout is on a dir  
that's not the first on view_paths.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to