Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fsroque opened this issue Sep 26, 2012 · 1 comment
Labels

Comments

@fsroque
Copy link

fsroque commented Sep 26, 2012

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

@espen
Copy link
Owner

espen commented Sep 26, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants