reference pull req #102.  

new fork from master, re-apply diff.
support for classes that multiple extends against ActiveRecord::Base