Hi,
I can't explain this very well at the moment, but just to get the ball
rolling: resources_controller's named route helpers don't seem to play
nicely with the optional route formats in Edge Rails (cf
http://github.com/rails/rails/commit/fef6c32).
Something in the resources_path etc voodoo isn't working right. If
there's a current resource, e.g. if resource_path returns '/posts/
123', then resources_path now returns '/posts.123' instead of the
expected '/posts'. I guess it's inadvertently supplying the :format
parameter, presumably positionally.
The code in define_resource_named_route_helper_method_for_name_prefix
makes my eyes go a bit crossed -- any ideas for a simple way to fix
this up?
Cheers,
-Tom