fix additional attributes for AR
fix custom fields for mongoid adapter