Rails, WEBrick, refresh issue

J

Janos Sebok

[Note: parts of this message were removed to make it a legal post.]

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
 
K

Kendall Gifford

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

Janos Sebok

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

Just have to ask.


--=20
=DCdv,
Sebi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top