in your browser
try
http://localhost/search/title.xml
--
Posted via http://www.ruby-forum.com/.
I had much the same error implementing xml builder for the first time
today also. I ended up mapping a route specifically for it like so:
map.connect '/people/export.xml', :controller => 'people', :action =>
'export', :format => 'xml'
It didn't work like any tutorial I found said it should work but bodging
it like this seems to work for now.
> And also I want to pass in something after title like /search/title/
> dogs or something like that...
I think you could do this by modifying the above route.
HTH
Matt