Hi All, While i''m trying to load a page in the browser, i''m getting the following error. No route matches "/applications/youtube/index.html" with {:method=>:get} ActionController::RoutingError (No route matches "/applications/youtube/index.html" with {:method=>:get}): /usr/lib/ruby/1.8/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:441:in `recognize'' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:436:in `call'' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch'' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call'' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in `build_middleware_stack'' /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'' /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'' /usr/lib/ruby/1.8/rack/head.rb:9:in `call'' /usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'' /usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call'' /usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:93:in `call'' /usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call'' /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'' /usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'' /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:114:in `call'' /usr/lib/ruby/1.8/action_controller/reloader.rb:34:in `run'' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:108:in `call'' /usr/lib/ruby/1.8/rack/urlmap.rb:47:in `call'' /usr/lib/ruby/1.8/rack/urlmap.rb:41:in `each'' /usr/lib/ruby/1.8/rack/urlmap.rb:41:in `call'' /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'' /usr/lib/ruby/1.8/rack/handler/webrick.rb:48:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'' /usr/lib/ruby/1.8/rack/handler/webrick.rb:14:in `run'' Rendering rescues/layout (not_found) Please help me. I''m not able to rectify the bug. Thanks, Buvana -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
please post some code here yours controllers index method and routs.rb line which contains this URL On Mon, Dec 6, 2010 at 3:35 PM, Priya Buvan <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi All, > > While i''m trying to load a page in the browser, i''m getting the > following error. > > No route matches "/applications/youtube/index.html" with {:method=>:get} > > ActionController::RoutingError (No route matches > "/applications/youtube/index.html" with {:method=>:get}): > > /usr/lib/ruby/1.8/action_controller/routing/recognition_optimisation.rb:66:in > `recognize_path'' > /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:441:in > `recognize'' > /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:436:in `call'' > /usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch'' > /usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call'' > /usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in > `build_middleware_stack'' > /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'' > /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'' > /usr/lib/ruby/1.8/rack/head.rb:9:in `call'' > /usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'' > /usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call'' > /usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:93:in > `call'' > /usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call'' > /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'' > /usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'' > /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'' > /usr/lib/ruby/1.8/action_controller/dispatcher.rb:114:in `call'' > /usr/lib/ruby/1.8/action_controller/reloader.rb:34:in `run'' > /usr/lib/ruby/1.8/action_controller/dispatcher.rb:108:in `call'' > /usr/lib/ruby/1.8/rack/urlmap.rb:47:in `call'' > /usr/lib/ruby/1.8/rack/urlmap.rb:41:in `each'' > /usr/lib/ruby/1.8/rack/urlmap.rb:41:in `call'' > /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'' > /usr/lib/ruby/1.8/rack/handler/webrick.rb:48:in `service'' > /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' > /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' > /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'' > /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'' > /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'' > /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'' > /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'' > /usr/lib/ruby/1.8/rack/handler/webrick.rb:14:in `run'' > > Rendering rescues/layout (not_found) > > > Please help me. I''m not able to rectify the bug. > > Thanks, > Buvana > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Thanks: Rajeev sharma +919013155133 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Kannav, Thank you for your support. I have mistyped url in routes, so the issue arose. Now it is solved. Thanks, Buvana Kannav R. wrote in post #966458:> please post some code here yours controllers index method and routs.rb > line which contains this URL > > On Mon, Dec 6, 2010 at 3:35 PM, Priya Buvan <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> /usr/lib/ruby/1.8/action_controller/routing/recognition_optimisation.rb:66:in >> /usr/lib/ruby/1.8/rack/head.rb:9:in `call'' >> /usr/lib/ruby/1.8/action_controller/dispatcher.rb:108:in `call'' >> /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'' >> >> To unsubscribe from this group, send email to >> >rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>>> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > Thanks: > Rajeev sharma > +919013155133-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.