smart active record