[Rails] Re: model validates twice in tests, produces duplicate error

Nate Clark nate at nateclark.com
Tue Apr 4 19:09:35 GMT 2006


I've been spending all day (well, most of the day) trying to figure this 
out, I can't seem to determine how to do a "step" type of debugging 
routine. What is the best way to debug Ruby on Rails?

I have been using breakpointer and irb, but that only allows me to stop 
the execution at a certain point and then run commands manually. Is 
there a way to make a breakpoint and then step into to see what's going 
on?

For example, I'd like to step into @u.save and see what other methods 
are called before it actually saves. There's gotta be a way, right? I'm 
using Radrails mostly to develop ... but I guess the debugger doesn't 
really work yet?

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list