Hi all, hi John,

We have a web application, working in a production environment under ruby 
1.8.7 and rails 3.0, that use ruote.

I am trying to update it from Ruote 2.2.0 to 2.3.0.

In a storage participant, the #consume method of Ruote::StorageParticipant 
was re-defined to execute a pre-action (send an email to users who have to 
process the workitem).

module Arts
  module Participants
    class Inbox < Ruote::StorageParticipant
      # Wraps the parent consume method to emit email notifications.
      def consume(workitem)
        MailDigest.task_notification(workitem)
        super(workitem)
      end
    end
  end
end

However in my tests I notice that the overloaded method is not called any 
more.

Is there a better way to do it?

Best regards,
Claudio

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to