As per the bottom of this ticket:
http://rails.lighthouseapp.com/p...
Generating a path for an uncountable resource seems to be broken
when dealing with the singular routes (ones appended with _index
automatically by Rails when the resource is uncountable) -
specifically routes pointing to the 'update' and 'create'
methods.
Loading development environment (Rails 2.3.2)
>> app.podcast_series_index_path(PodcastSeries.new)
=> "/podcast_series.%23%3Cpodcastseries:0x6c8a824%3E"
The routes config is simply:
map.resources :podcast_series
Seems to me to be quite a serious bug. It's certainly blocked my
refactoring efforts.
I'd appreciate some help in identifying where the
'.%23%3Cpodcastseries:0x6c8a824%3E' is getting added in the rails
code.