adding active record examples