Added active record validation for blog entry