#1 I am working on a rails3 gem called Yarder (https://github.com/rurounijones/yarder). The goal of this gem is to replace the rails logging system with one that is JSON based rather than string based.
#2 To this end I also recently asked this list about making the LogSubscribers subscriptions to ActiveRecord::Notifications configurable and am looking at submitting a patch request.
However for both of these I have rather run into a brick wall.
#1 Yarder works (mostly, I have not finished or refactored and there are probably bugs) but it has no tests. The reasons for this is that I cannot get my head around how to test it (and how to set up the tests in the first place ) and there aren't examples of this kind of stuff online that I can see (rails own LogSubscriber tests use a lot of support files specific to the rails gems which makes using them as a base less than obvious)
#2 For this I am just not exactly sure how to start (Both dev and test)
I have spent the last week or so looking through the rails code-base and testing setup to try and grok how to do the above but it is beyond me at the moment.
I don't suppose there is a altruistic rails expert out there who is willing to spare some time (email, skype, whatever suits you best) to help me get my head around the rails internals (mainly the boot process and what to change for #2 plus setting up the tests) and how to test #1.