<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>In my company, we're using a [Redmine](http://www.redmine.org/). And I thought it would be more useful if I could receive some activities(Like creating/updating Issue) via GTalk. Thus I created acts_as_notifiable.

NOTE: 
* I added this plugin to directory:  
&lt;http://agilewebdevelopment.com/plugins/acts_as_notifiable&gt;
* Japanse entry about this plugin: &lt;http://blog.s21g.com/articles/415&gt;

###Repository
&lt;http://svn.s21g.com/public/rails/plugins/acts_as_notifiable/&gt;

###To work with Redmine
0. Install XMPP4R: &lt;http://xmpp4r.rubyforge.org/&gt;
shell&gt;&gt;
$sudo gem install xmpp4r
&lt;&lt;--

1. Install plugin
2. Create file: #{RAILS_ROOT}/config/acts_as_notifiable.yml
rails&gt;&gt;
#{RAILS_ROOT}/config/acts_as_notifiable.yml
to:
  recipients: you@gmail.com me@gmail.com
from:
  id: your_notify_account@gmail.com
  password: pass
  connect: talk.google.com
&lt;&lt;--
3. Add acts_as_notifiable to the Model class
rails&gt;&gt;
class Issue
  acts_as_notifiable :message =&gt; Proc.new {|o| &quot;[#{o.project.name}:#{o.class.name}##{o.id}]#{o.status.name}:#{o.subject}\n #{o.journals.last.notes unless o.journals.blank?}&quot;}
&lt;&lt;--
4. restart server

**NOTE: Don't forget to add your_notify_account@gmail.com to your IM client!**

</body>
  <cached-tag-list>plugin redmine acts_as_notifiable</cached-tag-list>
  <comments-count type="integer">0</comments-count>
  <created-at type="datetime">2008-03-05T16:54:38+00:00</created-at>
  <daily-archive-id type="integer">464</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">414</id>
  <monthly-archive-id type="integer">49</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink>/articles/414</permalink>
  <published-at type="datetime">2008-03-05T16:58:00+00:00</published-at>
  <secret>d88afde9-e163-4e59-b727-a48e06a7a815</secret>
  <title>acts_as_notifiable: Rails plugin to send a notification via Jabber</title>
  <updated-at type="datetime">2008-10-22T20:09:13+00:00</updated-at>
  <user-id type="integer">13</user-id>
</article>
