Demonstration of active record principles