On Wed, Mar 30, 2011 at 06:28:27PM -0700, Pedro Teixeira wrote:
>
> Just starting to use ruote, and it seems great. Just want to confirm:
> the active-record storage [1] is outdated, right?
>
> [1] https://github.com/enricob/ruote-activerecord

Hello Pedro,

welcome to ruote's mailing list.

Yes, unfortunately, it's outdated.

> I'd would like to have ruote share the same connection with
> ActiveRecord for transactions. I guess the sequel project could be
> adapted to re-use a current AR connection, does it sound like a bad
> idea?
> 
> I'll start using the sequel separately, perhaps I'll have no issue
> with having to rollback manually.

It could work. It sounds like an idea to explore.

Another idea would be to use ruote-sequel (or ruote-dm) for normal ruote 
operations and an active-record model for workitems. Somehow a rails 
application interacts mostly with ruote via the engine's launch/cancel methods 
and the engine.storage_participant methods (for workitems). You could bypass 
the storage_participant and use the active-record model for workitems (to query 
for workitems)... Ah wait, you'd still need the reply method to use 
active-record and not sequel... Not so straightforward.

Maybe we need a ruote-activerecord for ruote > 2.2.x


Sorry for the lack of a clear answer. Best regards,

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
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