register ActiveRecordExtension