私はRubyにかなり慣れていません。私はこのようなものをまとめています:
in_msg.updateComments.map{|c| c.each} do |comment|
in_msg.updateComments
ハッシュです。
しかし、私はエラーが発生します:
SyntaxError: /Users/alexgenadinik/projects/cmply/cmply-app/app/models/linked_in_update.rb:65: syntax error, unexpected kDO, expecting kEND
in_msg.updateComments.map{|c| c.each} do |comment|
これを正しく行う方法はありますか?
データは次のようになります。
"updateComments"=>{"values"=>[{"comment"=>"Sweet", "person"=>{"siteStandardProfileRequest"=>{"url"=>"http://www.linkedin.com/profile?viewProfile=&key=23676551&authToken=FHXz&authType=name&trk=api*a140290*s148640*"},