add exists attribute common to all active record classes