Kelly Felkins
2006-Feb-14 20:21 UTC
[Rails] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060214/d7cc511b/attachment.html
Hi, I wish to know if it is possible to update more than one "<div>" 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 http://mail.yahoo.com
Mikkel Bruun
2006-Feb-14 21:00 UTC
[Rails] possible to reload a model in script/console(irb)?
The most useful rails trick ever: Dispatcher.reset_application! a true lifesaver... Mikkel Bruun www.strongside.dk - Football Portal(DK) nflfeed.helenius.org - Football News(DK) ting.minline.dk - Buy Old Stuff!(DK) -- Posted with http://DevLists.com. Sign up and save your time!
Tom Mornini
2006-Feb-14 21:09 UTC
[Rails] possible to reload a model in script/console(irb)?
On Feb 14, 2006, at 1:00 PM, Mikkel Bruun 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... :-) -- -- Tom Mornini
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 :) On 2/14/06, Saiho Yuen <sayoyo@yahoo.com> wrote:> > Hi, > > I wish to know if it is possible to update more than > one "<div>" 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 > http://mail.yahoo.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060214/6c6e3049/attachment.html