Hmmm,
when I do that I get a:
Routing Error
No route matches "/search/title.xml" with {:method=>:get}
And also I want to pass in something after title like /search/title/
dogs or something like that...
On Oct 16, 6:09 am, Sniper Abandon <[EMAIL PROTECTED]>
wrote:
> Matt wrote:
> > Hello,
>
> > I am building my first rails 2 app and using xml builder for the first
> > time. After digging around I some builder tutorials, yay :-) But I
> > have quickly run into a problem. When I name my file
> > title.xml.builder I get this error:
>
> > Template is missing
>
> > Missing template search/title.html.erb in view path /home/matt/aws/app/
> > views
>
> > and when I name my file title.rxml I get no output. If I have the
> > file named .html.erb I do get the output that is in the file. I have
> > require 'builder' in my controller. I am using apache with passanger,
> > and I am running in development environment. Just wondering if anyone
> > has some input?
>
> > Thanks
> > Matt
>
> in your browser
> tryhttp://localhost/search/title.xml
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---