[Rails] Re: RESTful photo album

2010-03-09 Thread Ar Chron
DmitryPush wrote: Hi, all! I'm new in Rails. I've read Agile web development and now I want made my very first rails application - photo album. But I don't know how to design it RESTful. For example I have 3 chapters and 100 photos on each one and i want list only 10 photos on page.

[Rails] Re: RESTful photo album

2010-03-09 Thread Robert Walker
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=4per_page=10 The URL still identifies the resource, which would be the collection of

Re: [Rails] Re: RESTful photo album

2010-03-09 Thread Greg Donald
On Tue, Mar 9, 2010 at 3:59 PM, Robert Walker li...@ruby-forum.com wrote: As far as I'm concerned there's nothing non-RESTful about: http://host/chapter/2/photos?page=4per_page=10 I agree, but all the question marks and ampersands pretty much guarantee Google won't index it. -- Greg Donald

[Rails] Re: RESTful photo album

2010-03-09 Thread DmitryPush
Thx! Sounds good. I'll try it and later I'll post hear where it drive me to:) -- 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