I have been playing around with flickr.rb for the photos section of my website, and it's been going well except for one hitch. Whenever I try to grab the photos from my flickr acount by tag, and there is only one photo associated with that tag, I get a "Can't convert String to Int" exception. The code is as follows: @photo_test = @user.tag('tag_with_one_photo') When I query with a tag for which there is only one photo, I get the exception. Otherwise, it works just fine. The exceptions are happening on line 103 of flickr.rb, so I think this may be a bug. If anyone knows anything about this or can help me out I would greatly appreciate it.
on 2007-04-11 04:45