required active record