Posted by Trejkaz
Fri, 23 Mar 2007 09:04:00 GMT
Today’s new version of Action Messenger makes things slightly easier to read when sending messages:
def prod(user)
recipient user.jid
subject 'Prod'
body 'You told me to give you a prod when I updated...'
end
You can send to multiple recipients too, just add them like this:
def spam
recipients User.find_all.map { |u| u.jid }
subject 'Buy chunky bacon'
body 'Do I have a deal for you!'
end
These changes have been in trunk for some time, however someone recently made me aware that the documentation doesn’t describe basic things like where the config file should be. This has been properly documented now, and hence the new version being pushed out.
Tags actionmessenger, jabber, rails, ruby, software | no comments
Posted by Trejkaz
Wed, 21 Mar 2007 05:45:00 GMT
I guess I haven’t posted since the Wii post back in December. That’s because the Wii is so good that I’ve been too busy playing games on it to make any weblog posts.
…
…
That was a lie.
What really happened was a certain kind of earth-shattering event after which I wasn’t in the mood to post anything on any sites for a month or so. I swore to myself I wouldn’t post anything about it (as I really dislike drama) and it felt wrong to post anything else in that time.
Anyway after one month straight, non-posting became a kind of anti-habit.
In a way it’s a shame to break that streak with such a content-less post as this, but I really have nothing else to say except that I might be posting again when I can think of something coherent.
Tags meta | no comments