refactored transfer_function association with measurements from polymorphic to Multiple Table Inheritance (according to Enterprise Rails, Ch 10)