Re: Hatred towards Nested Polymorphic Paths

Michael Koziarski
2007-07-09T02:05:14Z

> Agree. some_model/1/other_model/2 is a lame way to refer to join_model/1.

Putting polymorphism aside, what about:

posts/1/comments/34

Which then lets me do

@post = user.posts.find(params[:post_id])
@comment = @post.comments.find(params[:id])

Does that suck?


--
Cheers

Koz