fix to RAILS_ENV=production rake:precomplie
add destroy to photos
something