Here's what I have:
这就是我所拥有的:
def existing_photos
@existing_photos = Array.new
event.photos.each do |ep|
@existing_photos << URI.unescape(ep.dropbox_path.split('/').last) rescue []
end
@existing_photos
end
def existing_Here's what I have:
这就是我所拥有的:
def existing_photos
@existing_photos = Array.new
event.photos.each do |ep|
@existing_photos << URI.unescape(ep.dropbox_path.split('/').last) rescue []
end
@existing_photos
end
def existing_