create spec file for photos
add validation specs
add validation and attachment to photo model
fix typo in photo model
alter validation for content_type
fix syntax error
delete spec file for photo
fix merge conflicts