Monday, October 4, 2010

[Rails] polymorphic_url with map.resource rails 2.3

In a rails 2.3 app when i do a polymorphic_url with a model that is
mapped with map.resource instead of map.resources I am getting a funky
url

"http://test.host/first_aider.%23%3Cfirstaider:0xb6f12578%3E"

where I want
http://test.host/first_aider

is there a valid way to do this

cheers

Stephen

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate