acts_as_traceable - Can you finish it?
This is the metaprogramming challenge that I mentioned last
night at the ATLRUG meeting.
See source code with sample output here:
http://gist.github.com/32234
I hope to find time before Christmas to study http://notahat.com/
not_a_mock to see if the solution is there.
When this gets figured out I'll be happy to give a short
presentation on this and the applicability of metaprogramming.
Cheers!
- Lex Sheehan

Ruby, Rails and Corporate Perception
E-mail to friends
Print
RSS
Post Comments
Add Your Comment!
Log in to leave a comment or Create an accountl e x writes:
Thank you all for your insights.
David - that was just what I had hoped for :-)
ATLRUG rocks!
I'll be happy to present these findings... and the metaprogramming bit on the 14th... if that's okay with ya'll.
daviddollar writes:
http://github.com/ddollar/acts_as_traceable
jordi writes:
Cool, I added a snipped based on the code Brandon linked to, so now it has support for multiple classes being traced.
brandon writes:
A pattern to allow multiple trace functions:
http://codeidol.com/other/rubyckbk/Testing,-Debugging,-Optimizing,-and-Documenting/Running-Multiple-Analysis-Tools-at-Once/
jordi writes:
I know it's not quite what you are asking for, but this does (I believe) the same thing:
http://gist.github.com/34810
» Comments RSS