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.
How should look request for such resource?
(controller:chapter, action: chapter_id=2, page=4)
If its good then how to send to controller 2 parameters ?
Or maybe you can explain me how it can be done right way?
And now I also want know in general how to process request like
I know if it just site.my/say/hello - then ‘say’ - it’s controller
and’ hello’ - it’s action, but what when ‘to’ and ‘homer’?
How exactly tell my rails application whet I want say hello to Homer?
Thanks in advance!
PS sorry for so many stupid questions but I don’t have any one next to
me who about Rails((