[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] New User Hooks Details



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