This list may not be the perfect choice to ask this question, but I have
difficulties posting to Rails talk yet, and my issue might not be Rails
related, so can you please take a look?
I am a newbie to rails, and I’m working from the Pickaxe book +
examples.
I seem to be unable to get my changes to the application be displayed in
my
browser without shutting down and restarting WEBrick.
I tried every single way to clear the browser cache (Firefox 3.5),
refresh,
ctrl-r, ctrl-shift-r, etc, so the issue seems not to be browser related.
Unless I restart the webserver my changes does not appear.
Specs:
WinXP Pro, Ruby 1.8.7 (Mswin32), Rails 2.3.2, WEBrick 1.3.1, SQLite
1.2.3
(all working like a charm so far)
As to my best understanding, in ‘development mode’ every change should
propagate instantly by re-reading the rails models, views controllers,
etc.
Am I missing something?
Thx,
Janos
On Fri, Jun 12, 2009 at 6:27 AM, Janos S.[email protected] wrote:
As to my best understanding, in ‘development mode’ every change should
propagate instantly by re-reading the rails models, views controllers, etc.
Am I missing something?
Are your changes limited exclusively to your models, views and
controllers? You’re not changing any routes or other files in your
“config” sub-dir? Also, you’re not adding methods to a controller for
which there IS no route defined in config/routes.rb?
Just have to ask.
On Fri, Jun 12, 2009 at 6:35 PM, Kendall G. [email protected]wrote:
Are your changes limited exclusively to your models, views and
controllers? You’re not changing any routes or other files in your
“config” sub-dir? Also, you’re not adding methods to a controller for
which there IS no route defined in config/routes.rb?
The last scenario I remember I changed ang existing view template . I
did
definitely not change any config files.
I suspect your questions refer to the rules of thumb cases that require
server restart (changing routes, config files, adding new methods)?
Anyways, I’m sure what I experience is correct behaviour, I’d just like
to
know how it works.
Thanks,
Janos