blog with active record associations and validations