Forum: Ruby on Rails Getting the friends contacts mail Id of gmail,hotmail,yahoo

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
60bb25c88eda9e783e1d22653e26f86d?d=identicon&s=25 Smarty 2k (smartee)
on 2008-11-12 11:52
hi,

Please help me!!!!!

am using ruby-1.8.6
              gem blackbook-1.0.4

output is @contacts.inspect(collection of Emails and name)

I got this error :
undefined method `name' for {:email=>"aaa@gmail.com", :name=>"aaa"}:Hash

please give me further solution..... please....

Thankyou.
This topic is locked and can not be replied to.