balder icon indicating copy to clipboard operation
balder copied to clipboard

Reading Keywords from exif will break if there is a single tag in the image in 1.9

Open fsroque opened this issue 12 years ago • 1 comments

String does no longer have a to_a method, so photo.Keywords.to_a breaks for single tagged images. The solution was to use the Kernel#Array method in app/models/photo.rb:70

fsroque avatar Sep 26 '12 10:09 fsroque

photo.Keywords.split(", ") should work if I recall the format correctly ("tag1, tag2")

espen avatar Sep 26 '12 10:09 espen