iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Mar-11 10:20 UTC
a beginner, i also encounter an issue about route.
the same issue talk here: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/7080b9fd6ea71d4e/b798ef5d12b86bc1?lnk=gst&q=Routing+Error#b798ef5d12b86bc1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i have also encountered an error=> Routing Error No route matches "/say/hello" with {:method=>:get} and i checked the routes.rb under my application, the routes.rb show the correct map : map.connect '':controller/:action/:id'' map.connect '':controller/:action/:id.:format'' anyone can help me, thanks --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Z Meinlschmidt
2009-Mar-11 11:10 UTC
Re: a beginner, i also encounter an issue about route.
iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> the same issue talk here: > > http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/7080b9fd6ea71d4e/b798ef5d12b86bc1?lnk=gst&q=Routing+Error#b798ef5d12b86bc1 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > i have also encountered an error=> > Routing Error > No route matches "/say/hello" with {:method=>:get} > > and i checked the routes.rb under my application, the routes.rb show > the correct map : > > map.connect '':controller/:action/:id'' > map.connect '':controller/:action/:id.:format'' > > anyone can help me, thanks >can you post a part from your log? what''s the name of controler? tom -- ==============================================================================Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz ============================================================================== --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Mar-11 13:45 UTC
Re: a beginner, i also encounter an issue about route.
On Mar 11, 7:10 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote:> iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > the same issue talk here: > > >http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > i have also encountered an error=> > > Routing Error > > No route matches "/say/hello" with {:method=>:get} > > > and i checked the routes.rb under my application, the routes.rb show > > the correct map : > > > map.connect '':controller/:action/:id'' > > map.connect '':controller/:action/:id.:format'' > > > anyone can help me, thanks > > can you post a part from your log? > what''s the name of controler? > > tom > -- > ==============================================================================> Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz > ==============================================================================~~~~~~~~~~~~~~~~~~~~~ my controller name is Say, and action is hello, you mean that i can find more information from my log file, right? ~alex zhou ~~~~~~~~~~~~~~~~~~~~~~~` --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Mar-11 16:19 UTC
Re: a beginner, i also encounter an issue about route.
On Mar 11, 9:45 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mar 11, 7:10 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: > > > > > iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > the same issue talk here: > > > >http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > i have also encountered an error=> > > > Routing Error > > > No route matches "/say/hello" with {:method=>:get} > > > > and i checked the routes.rb under my application, the routes.rb show > > > the correct map : > > > > map.connect '':controller/:action/:id'' > > > map.connect '':controller/:action/:id.:format'' > > > > anyone can help me, thanks > > > can you post a part from your log? > > what''s the name of controler? > > > tom > > -- > > ==============================================================================> > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > >www.meinlschmidt.comwww.maxwellrender.czwww.lightgems.cz > > ==============================================================================> > ~~~~~~~~~~~~~~~~~~~~~ > my controller name is Say, and action is hello, you mean that i can > find more information from my log file, right? > > ~alex zhou > ~~~~~~~~~~~~~~~~~~~~~~~`help, help~~~ --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
sumanth krishna
2009-Mar-11 16:31 UTC
Re: a beginner, i also encounter an issue about route.
Hi, few quick words: Unless you specifically mention anything in the routes, you need not bother about this file. What I mean is, you can trigger that action either directly pointing to the action a) http://localhost:3000/say/hello or by giving a nick name in the routes b) map.connect ''/hello'', :controller => ''say'', :action => ''hello'' Usually, the (a)works, else copy paste the (b) in your routes file it would work. On Mar 11, 6:19 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mar 11, 9:45 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > On Mar 11, 7:10 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: > > > > iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > the same issue talk here: > > > > >http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > i have also encountered an error=> > > > > Routing Error > > > > No route matches "/say/hello" with {:method=>:get} > > > > > and i checked the routes.rb under my application, the routes.rb show > > > > the correct map : > > > > > map.connect '':controller/:action/:id'' > > > > map.connect '':controller/:action/:id.:format'' > > > > > anyone can help me, thanks > > > > can you post a part from your log? > > > what''s the name of controler? > > > > tom > > > -- > > > =========================================================================== ===> > > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > > >www.meinlschmidt.comwww.maxwellrender.czwww.lightgems.cz > > > =========================================================================== ===> > > ~~~~~~~~~~~~~~~~~~~~~ > > my controller name is Say, and action is hello, you mean that i can > > find more information from my log file, right? > > > ~alex zhou > > ~~~~~~~~~~~~~~~~~~~~~~~` > > help, help~~~--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---
iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Mar-11 16:37 UTC
Re: a beginner, i also encounter an issue about route.
sumanth and tom, i have got this talk: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/2b046253df1748af/f16363694a762882#f16363694a762882 thanks for your support, sumanth, i got your meaning now, tomorrow i will try it in the office PC. ~alex zhou ---------- Forwarded message ---------- From: sumanth krishna <tosumanthkris...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Date: Mar 12, 12:31 am Subject: a beginner, i also encounter an issue about route. To: Ruby on Rails: Talk Hi, few quick words: Unless you specifically mention anything in the routes, you need not bother about this file. What I mean is, you can trigger that action either directly pointing to the action a)http://localhost:3000/say/hello or by giving a nick name in the routes b) map.connect ''/hello'', :controller => ''say'', :action => ''hello'' Usually, the (a)works, else copy paste the (b) in your routes file it would work. On Mar 11, 6:19 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mar 11, 9:45 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote:> > On Mar 11, 7:10 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote:> > > iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > the same issue talk here:> > > >http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > i have also encountered an error=> > > > > Routing Error > > > > No route matches "/say/hello" with {:method=>:get}> > > > and i checked the routes.rb under my application, the routes.rb show > > > > the correct map :> > > > map.connect '':controller/:action/:id'' > > > > map.connect '':controller/:action/:id.:format''> > > > anyone can help me, thanks> > > can you post a part from your log? > > > what''s the name of controler?> > > tom > > > -- > > > =========================================================================== ===> > > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache> > >www.meinlschmidt.comwww.maxwellrender.czwww.lightgems.cz > > > =========================================================================== === > > ~~~~~~~~~~~~~~~~~~~~~ > > my controller name is Say, and action is hello, you mean that i can > > find more information from my log file, right?> > ~alex zhou > > ~~~~~~~~~~~~~~~~~~~~~~~`> help, help~~~--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Mar-12 02:22 UTC
Re: a beginner, i also encounter an issue about route.
already solved the route issue, now i encounter this issue MissingSourceFile in SayController#hello no such file to load -- sqlite3 RAILS_ROOT: C:/rails/demo This error occurred while loading the following files: sqlite3 i guess the reason is about sqlite3 configure, but i checked the file named database.yml : # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 timeout: 5000 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: adapter: sqlite3 database: db/test.sqlite3 pool: 5 timeout: 5000 production: adapter: sqlite3 database: db/production.sqlite3 pool: 5 timeout: 5000 I think i already configure the sqlite3, need I start it, right? ~alex zhou On Mar 12, 12:37 am, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> sumanth and tom, i have got this talk: > > http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > thanks for your support, sumanth, i got your meaning now, tomorrow i > will try it in the office PC. > > ~alex zhou > > ---------- Forwarded message ---------- > From: sumanth krishna <tosumanthkris...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Date: Mar 12, 12:31 am > Subject: a beginner, i also encounter an issue about route. > To: Ruby on Rails: Talk > > Hi, > few quick words: > > Unless you specifically mention anything in the routes, you need not > bother about this file. > > What I mean is, you can trigger that action either directly pointing > to the action > a)http://localhost:3000/say/hello > or by giving a nick name in the routes > b) map.connect ''/hello'', :controller => ''say'', :action => ''hello'' > > Usually, the (a)works, else copy paste the (b) in your routes file it > would work. > > On Mar 11, 6:19 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > On Mar 11, 9:45 pm, "iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > > > > On Mar 11, 7:10 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: > > > > > iamzhouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > > the same issue talk here: > > > > > >http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/... > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > i have also encountered an error=> > > > > > Routing Error > > > > > No route matches "/say/hello" with {:method=>:get} > > > > > > and i checked the routes.rb under my application, the routes.rb show > > > > > the correct map : > > > > > > map.connect '':controller/:action/:id'' > > > > > map.connect '':controller/:action/:id.:format'' > > > > > > anyone can help me, thanks > > > > > can you post a part from your log? > > > > what''s the name of controler? > > > > > tom > > > > -- > > > > =========================================================================== ===> > > > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > > > >www.meinlschmidt.comwww.maxwellrender.czwww.lightgems.cz > > > > =========================================================================== ===> > > > ~~~~~~~~~~~~~~~~~~~~~ > > > my controller name is Say, and action is hello, you mean that i can > > > find more information from my log file, right? > > > > ~alex zhou > > > ~~~~~~~~~~~~~~~~~~~~~~~` > > > help, help~~~--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---
Freddy Andersen
2009-Mar-12 02:53 UTC
Re: a beginner, i also encounter an issue about route.
Is it installed? gem install sqlite3-ruby --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Mar-12 03:51 UTC
Re: a beginner, i also encounter an issue about route.
i already installed sqlite3 using this command ''gem install sqlite3- ruby'' ~alex zhou On Mar 12, 10:53 am, Freddy Andersen <fre...-RCI/mp9mI1I6GGFevw1D/A@public.gmane.org> wrote:> Is it installed? > > gem install sqlite3-ruby--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---
Sumanth Krishna
2009-Mar-12 05:52 UTC
Re: a beginner, i also encounter an issue about route.
To me that yaml looks like the default file: 1. Are you using the db in this app? 2. Did u create the databases & tables as mentioned in the yaml? 3. If u r not using db, then you can clear/comment whole off the file. this should work :) On Thu, Mar 12, 2009 at 5:51 AM, iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org < iamzhouyang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > i already installed sqlite3 using this command ''gem install sqlite3- > ruby'' > > ~alex zhou > > On Mar 12, 10:53 am, Freddy Andersen <fre...-RCI/mp9mI1I6GGFevw1D/A@public.gmane.org> wrote: > > Is it installed? > > > > gem install sqlite3-ruby > > >-- -- Thanks & Regards, Sumanth Krishna. A +358 40 3276564 Blogs: TwinclingCommunity: http://sumanthtechsavvy.blogspot.com/ http://www.twincling.org/node/227 http://yourway2health.blogspot.com/ http://www.osef.twincling.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---