所以我已经使用这个相同的代码块大约 9 个月了,当生成新的潜在客户时,它突然停止将电话号码保存到 Highrise ......知道事情的发展方向吗?我从不抛出错误,并愉快地保存了除了电话号码之外的所有联系人。
# create a contact Highrise from supplied information
@person = Highrise::Person.new(first_name: @lead.first_name.humanize,
last_name: @lead.last_name.humanize,
background: "automatically created by LSAL app",
contact_data: { email_addresses: [ { address: @lead.email, location: "Home" } ],
phones: [ { number: @lead.phone, location: "Mobile" } ] } )
@person.save # save contact