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
Mon, 22 May 2006 12:16:00 GMT
Well, the first highly experimental release of Action Messenger experienced a small amount of success, and a couple of people spotted some bugs which have been fixed in version 0.1.1.
So now that everything works for small apps, how does it grow? I do want to integrate into Typo, and the default deployment for Typo uses FastCGI. Whereas each FastCGI process is relatively long-lived, there are multiple instances, and they can’t all be logged in at once [with the same resource.]
Read more...
Tags actionmessenger, jabber, rails, ruby, software | no comments
Posted by Trejkaz
Mon, 08 May 2006 13:24:00 GMT
Want to send instant messages from your Ruby on Rails app with the minimum amount of code and the maximum amount of testability?
Then say hello to… Action Messenger
Read more...
Tags actionmessenger, jabber, rails, ruby, software | no comments