This project is archived and is in readonly mode.

#3407 ✓resolved
Sam Ruby

Server restart required after generate controller

Reported by Sam Ruby | October 21st, 2009 @ 05:41 PM | in 3.0.2

Using development mode, the scenario is as follows:

ruby $GIT/rails/railties/bin/rails demo1 demo
cd demo
ln -s $GIT/rails vendor/rails

Now in one window:

rubys script/server

Wait for server to completely start, and wait several seconds more.

Now in a separate window, run:

ruby script/generate controller say hello

Wait several seconds, and go into your browser, and visit: http://localhost:3000/say/hello

What you will get is a message that no route matches. Restart your server, and instead you will get a "Find me in app/views/say/hello.html.erb".

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket

Referenced by