Hi
I am building XML using partials but for some (I cannot see a pattern
for when it happens) cases I get the:
No such file or directory /app/views/content_objects/news_article/xml/
partials/_show.rhtml
The corresponding rxml file /app/views/content_objects/news_article/
xml/partials/_show.rxml exists and I would like Rails to look for it
instead. For another case this works:
render :partial => "products/xml/partials/show", :locals =>
{:xml_instance => xml, :show => @product}
This finds the partial in /products/xml/partials/_show.rxml
Does anyone have any input on this? Am I doing something wrong in the
rendering? Is there a way to explicitly tell Rails which extension to
look for?
Kindest regards
Erik Lindblad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---