>
> $script console
> Loading dev.........
> >>app.get "/slides"
> => 200
> >> app.request.path_parameters
> =>{action"=>"index, "controller"=>"slides"}
> >>app.get "/slides/1"
> 404
>
> where I'm supposed to get 200 in the last line of above code.
>

It would be more normal that the second url would be "/slide/1".  If that
doesn't fix it post your routes.rb file.

RESTful routes are /slides (as you want a list of all the SLIDES available)
and /slide/:id if you want a SLIDE in particular.

Cheers,


Andy

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to