I have create a little app on netbeans 7. This is my first RoR app. when I run it I get the following error. Started GET "/RailsApplication3" for 127.0.0.1 at Wed Apr 20 18:33:54 +0200 2011 ActionController::RoutingError (No route matches "/RailsApplication3"): Rendered /var/lib/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) -- 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.
On Wed, Apr 20, 2011 at 12:54 PM, hoboy Hoboy <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I have create a little app on netbeans 7. > This is my first RoR app. > > when I run it I get the following error. > Started GET "/RailsApplication3" for 127.0.0.1 at Wed Apr 20 18:33:54 > +0200 2011 > > ActionController::RoutingError (No route matches "/RailsApplication3"): >try pointing to http://localhost:3000 and report back what you get. You should not put your app name in the url. Also urls can be case sensitive.> > > Rendered > > /var/lib/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb > within rescues/layout (0.8ms) > > -- > 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. > >-- 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.
http://localhost.3000/ Welcome aboard You’re riding Ruby on Rails! About your application’s environment Getting started Here’s how to get rolling: 1. Use rails generate to create your models and controllers To see all available options, run it without parameters. 2. Set up a default route and remove or rename this file Routes are set up in config/routes.rb. 3. Create your database Run rake db:migrate to create your database. If you''re not using SQLite (the default), edit config/database.yml with your username and password. when I point to http://localhost:3000/RailsApplication3 Routing Error No route matches "/RailsApplication3" -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
David Kahn
2011-Apr-20 18:56 UTC
Re: Re: I need help: No route matches "/RailsApplication3"
On Wed, Apr 20, 2011 at 1:53 PM, hoboy Hoboy <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> http://localhost.3000/ > Welcome aboard > You’re riding Ruby on Rails! > About your application’s environment > Getting started > Here’s how to get rolling: > > 1. > Use rails generate to create your models and controllers > > To see all available options, run it without parameters. > 2. > Set up a default route and remove or rename this file > > Routes are set up in config/routes.rb. > 3. > Create your database > > Run rake db:migrate to create your database. If you''re not using > SQLite (the default), edit config/database.yml with your username and > password. > > when I point to http://localhost:3000/RailsApplication3 > > > Routing Error > > No route matches "/RailsApplication3"right.... because unless you have a controller called RailsApplication3 you will *never* get there! So, if this is a new app and you have not done anything else, you need to generate a controller or maybe better a scaffold.> > -- > 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. > >-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bryan Crossland
2011-Apr-20 18:57 UTC
Re: Re: I need help: No route matches "/RailsApplication3"
On Wed, Apr 20, 2011 at 1:53 PM, hoboy Hoboy <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> http://localhost.3000/ > Welcome aboard > You’re riding Ruby on Rails! > About your application’s environment > Getting started > Here’s how to get rolling: > > 1. > Use rails generate to create your models and controllers > > To see all available options, run it without parameters. > 2. > Set up a default route and remove or rename this file > > Routes are set up in config/routes.rb. > 3. > Create your database > > Run rake db:migrate to create your database. If you''re not using > SQLite (the default), edit config/database.yml with your username and > password. > > when I point to http://localhost:3000/RailsApplication3 > > > Routing Error > > No route matches "/RailsApplication3" > >I think you will find this guide helpful in understanding your routing questions. http://guides.rubyonrails.org/routing.html B. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
David Kahn
2011-Apr-20 19:11 UTC
Re: Re: I need help: No route matches "/RailsApplication3"
On Wed, Apr 20, 2011 at 1:57 PM, Bryan Crossland <bacrossland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> On Wed, Apr 20, 2011 at 1:53 PM, hoboy Hoboy <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> http://localhost.3000/ >> Welcome aboard >> You’re riding Ruby on Rails! >> About your application’s environment >> Getting started >> Here’s how to get rolling: >> >> 1. >> Use rails generate to create your models and controllers >> >> To see all available options, run it without parameters. >> 2. >> Set up a default route and remove or rename this file >> >> Routes are set up in config/routes.rb. >> 3. >> Create your database >> >> Run rake db:migrate to create your database. If you''re not using >> SQLite (the default), edit config/database.yml with your username and >> password. >> >> when I point to http://localhost:3000/RailsApplication3 >> >> >> Routing Error >> >> No route matches "/RailsApplication3" >> >> > I think you will find this guide helpful in understanding your routing > questions. > > http://guides.rubyonrails.org/routing.html >Right, also until you get comfortable I would highly recommend working through a good book or tutorial such as Agile Web Development with Rails. By just following some steps in such, a lot of things will start making more sense too.> > B. > > -- > 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. >-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks guys -- 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.