I'm currently reading the following on metaprogramming: 
http://pragprog.com/book/ppmetr/metaprogramming-ruby

Seems to be very good. 

Wayne