From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.240.136 with SMTP id la8cs65853icb; Thu, 3 Feb 2011 17:31:39 -0800 (PST) Received: by 10.236.111.33 with SMTP id v21mr23001846yhg.64.1296783099061; Thu, 03 Feb 2011 17:31:39 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id f19si225461vcs.44.2011.02.03.17.31.38; Thu, 03 Feb 2011 17:31:39 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 94B4E19783C7; Thu, 3 Feb 2011 20:31:38 -0500 (EST) Received: from mail.antono.info (antono.info [50.16.202.84]) by rubyforge.org (Postfix) with ESMTP id 1C20E1858356 for ; Thu, 3 Feb 2011 20:28:55 -0500 (EST) Received: from [192.168.1.10] (unknown [178.126.138.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.antono.info (Postfix) with ESMTPSA id 1062C60926 for ; Fri, 4 Feb 2011 01:27:29 +0000 (UTC) From: Antono Vasiljev To: sup-talk@rubyforge.org In-Reply-To: References: <1296746458-sup-2021@plc.intranet.plecavalier.com> Organization: Red Brigade Date: Fri, 04 Feb 2011 03:28:47 +0200 Message-ID: <1296782927.5402.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 Subject: Re: [sup-talk] New User Hooks Details X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: self@antono.info List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org On Thu, 2011-02-03 at 23:48 +0000, Hamish D wrote: > debug "list address is #{message.list_address.inspect}, type is > #{message.list_address.class.to_s}" > > and then see it in the log (while using sup, press ";" and scroll down > to the log buffer). > > I think that message.list_address is actually of class Person, so you > would want to use message.list_address.email for your case. I've > updated the wiki to correct that - I think I may have written the > wrong information into the wiki to start with :/ so sorry for the > mistake. Oh. Spent some hours debugging this issue. And list_address.to_s gives list address so it was kinda magic that list != list :) -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk