Possible to reload a model in script/console(irb)?

I often use script/console to interact with models.

It would be nice if script/console acted like WEBrick when it comes to
reloading classes that get updated. Anyway to do this?

Short of this, is there a way to tell script/console to reload a class
manually? My current solution is to exit and restart script/console.

-Kelly

Hi,

I wish to know if it is possible to update more than
one “

” with a single call of ajax?

I try the example in agile web development with rails,
but can’t make it work.

does some one know how to do this???

thanks you very much

Saiho


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

The most useful rails trick ever:

Dispatcher.reset_application!

a true lifesaver…

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)

On Feb 14, 2006, at 1:00 PM, Mikkel B. wrote:

The most useful rails trick ever:

Dispatcher.reset_application!

a true lifesaver…

Wow!

Great tip!

I wouldn’t have asked, because I’d assume it was too audacious
to imply that such a thing might be possible!

I’m sure glad the OP asked… :slight_smile:


– Tom M.

Dude… you already posted this, and got replies. Then, you sent a
“test”
message to the list. WTF ?
Get a GMail account, archive Rails posts, and be happy :slight_smile: