Matt wrote:
> Hmmm,
> 
> when I do that I get a:
> Routing Error
> No route matches "/search/title.xml" with {:method=>:get}

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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to