[typo] jabber notifications
Frederic de Villamil
neuro at 7el.net
Tue May 15 07:20:50 EDT 2007
> First problem: it didn't work at all until I manually installed
> xmpp4r. Shouldn't this come with the installation?
Yes, it should, I'll add it to gem dependencies tonight
> Second problem: in the Comment model (app/models/comment.rb), in the
> 'notify_user_via_jabber' method, there's a reference to
> 'controller.url_for'. Rails doesn't know who "controller" is. I
> removed the reference, and now Jabber notifications work (although
> without including the link to the article in question).
> Anyone know the correct way of finding the url for an article from
> within the Comment (or any other) model?
I'm aware of the notification being brocken. Will fix this tonight too.
Can you open a ticket for both of this issues please ?
Frédéric de Villamil
frederic at de-villamil.com tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com Typo : http://typosphere.org
More information about the Typo-list