Naming problem with singular nested resource

25 views
Skip to first unread message

Jan De Poorter

unread,
Feb 23, 2010, 3:50:23 AM2/23/10
to Ruby on Rails: Core
Hi all,

While reworking my application from Rails 2.3 to 3.0beta I found a
small bug in route naming. When nesting singular routes it doesn't
prefix the nested resource with the first resource in naming. I did
some debugging and came up with a patch:

https://rails.lighthouseapp.com/projects/8994/tickets/3911-naming-problem-in-nested-singular-resource#ticket-3911-2

regards,
Jan De Poorter

Reply all
Reply to author
Forward
0 new messages