This project is archived and is in readonly mode.
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
-
josh November 24th, 2009 @ 06:35 PM
- Assigned user set to josh
- State changed from new to open
- Milestone cleared.
-
Sam Ruby December 2nd, 2009 @ 12:31 PM
- State changed from open to verified
-
Sam Ruby December 2nd, 2009 @ 05:23 PM
- 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'
-
josh December 2nd, 2009 @ 08:11 PM
- State changed from open to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Referenced by
- 3469 uninitialized constant Rack::Mount::Const on Ruby 1.9.2 (AWDwR3, section 12.1) Even in development mode, a server restart is normally re...