I need help: No route matches "/RailsApplication3"

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)

On Wed, Apr 20, 2011 at 12:54 PM, hoboy Hoboy [email protected]
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.

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”

On Wed, Apr 20, 2011 at 1:53 PM, hoboy Hoboy [email protected]
wrote:

 To see all available options, run it without parameters.

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.

Thanks guys

On Wed, Apr 20, 2011 at 1:53 PM, hoboy Hoboy [email protected]
wrote:

 To see all available options, run it without parameters.

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.

On Wed, Apr 20, 2011 at 1:57 PM, Bryan C.
[email protected]wrote:

 Use rails generate to create your models and controllers

SQLite (the default), edit config/database.yml with your username and
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 D. with
Rails. By
just following some steps in such, a lot of things will start making
more
sense too.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs