rubyonrailsin

A Ruby and Rails talk

Monday, March 29, 2010


[Rails] 404 error while testing the console

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hi,

I'm just practising ROR creating short applications.I tried to test the
console for my sample application and get a different return code from
the code its mentioned in the textbook...

here is the code

$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.

Any help would be appreciated...

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

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive