Hello Ryan,
> I have a rails app that I'd like to debug or log, but I want to
> determine what is going on in an adapter (db_adapter.rb).
>
> Is this possible? And, if so, how?
>
> I've tried breakpointer, and it says Executing ... but then nothing
> happens. I also tried it with an IRB console open at the same time..
> still nothing.
If your problem is ActiveRecord specific, what I would do is
writing a standalone script that requires AR, establish db connection,
create a model and do some manipulations, then debug the script
with ruby-debug for instance.
http://rubyforge.org/projects/ruby-debug/
(I've just realized rubyforge's design just changed ! It was very recent
or what ?)
-- Jean-François
--
À la renverse.
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---