DmitryPush wrote:
> site.my/chapter/2/4

It is my opinion that people often go overboard with the REST concepts.

As far as I'm concerned there's nothing non-RESTful about:

http://host/chapter/2/photos?page=4&per_page=10

The URL still identifies the resource, which would be the collection of 
photos (nested under the chapter identified by 2). The query string is 
just for controlling the paging. I don't see this as part of the 
resource identifier URL, so the query string is a good place for it to 
live.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to