added processed scope to photos.rb