For the latest stable and today's trunk I find object_path(an_object)
mysteriously doesn't work in a template now.
<% for instance in @collection %>
<%= link_to
instance.name, object_path(instance) %>
<% end %>
I know it worked with the last stable release, since it worked when I
checked in yesterday. I can still call named_route_path(instance) and
have a path generated correctly.
Not sure what I need to do differently with the newer version?
The template is loaded by a FoosController that inherits from
BarsController which calls the resource_controller class method. I
have route_name, object_name, and model_name defined in FoosController
accordingly.
Thanks.