Pieter Hugo wrote: > hi Guys > > I'm doing changes to a model, and testing the changes interactively in > the console. After saving a change to the model I use 'reload!' in the > console. It seems that the objects that I were working with still exist > in the console, but in some weird state and I cant really work with > them. So I have to reinstantiate the objects again with a Object.find... > > This is a pain - is there a better way to do this?
Yes. Don't rely so much on interactive testing; use RSpec and Autotest instead. > > Thanks! > > Pieter Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

