shaper wrote:
> shaper wrote:
>> And using Firebug to look at the javascript that's returned, I get
>> this:
>>
>> map.setCenter(#,12);
>>
>> which makes it pretty clear that the GLatLng object is having to_s
>> called on it rather than the ym4r's MappingObject.to_javascript method.
>> I'm s
Actually, I was able to fix it by modifying the flickr.rb file from the
gem at line 109. replaced it with the following:
if collection
collection.collect { |photo| Photo.new(photo['id'], @api_key) }
else
return nil
end
--
Posted via http://www.ruby-forum.com/.
--
Yo
bjorn wrote:
> I'm wondering if it has to do with the flickr.rb (gem) and it not
> handling back nil (empty) arrays? (Does my being on windows affect this
> at all? There seem to be more recent gems for non-windows platforms.)
>
> Thanks for the help! I'll keep reading in search of the answer.
>
3 matches
Mail list logo