initial import
updates for activerecord 4.1
a version that works