but if i don't restart the server, it will say for localhost:3000/bar
Routing Error
No route matches "/bar" with {:method=>:get}
is it true that we need to restart the server or is there a fast way
instead? thanks.
You need to restart the server when you add controllers. If you are
just changing them then you don't.
oh i just tried Rails 1.2.6 on my macbook. seems like here, we don't
need to restart server. maybe we only need to restart when it is Rails
2.0 and above? thanks.
Maybe. 1.2.6 was a long time ago. If this is a new project you should drop that quick and get 2.3.x... a lot has changed since 1.2.6.