I'm trying to better understand ActiveResource in Rails 3.
I have this Object that extends ActiveResource::Base, and when I use the
collection_path, and pass an argument to it, the returned URL has that
argument as params in the URL instead of creating the URL like in the
For example. The docs say
Post.collection_path #=> /posts.xml
Comment.collection_path(:post_id => 5) #=> /posts/5/comments.xml
Here is what I'm getting
Post.collection_path => /posts.xml
Comment.collection_path(:post_id => 5) #=> /comments.xml?post_id=5
I'm using Rails 3.0.1.