Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Server restart required after generate controller

#3407

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".

Reported by Sam Ruby · October 21st, 2009 @ 05:41 PM

State: resolved
Milestone: 3.0.2
Assigned to: josh josh
Importance: none

Activity

  1. josh
    josh
    • Assigned user set to josh
    • State changed from new to open
    • Milestone cleared.

    November 24th, 2009 @ 06:35 PM

  2. Sam Ruby
  3. Sam Ruby
    Sam Ruby
    • State changed from verified to open

    Apparently, it is not completely fixed, as Josh informs me that

    script/generate controller admin::posts

    ... will still require a reset if this is the first use of the namespace 'admin'

    December 2nd, 2009 @ 05:23 PM

  4. josh
    josh
    • State changed from open to resolved

    December 2nd, 2009 @ 08:11 PM

  5. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to

    October 15th, 2010 @ 11:01 PM