Hi Kenneth and all, It seems that ActiveRecord, when used in a non-rails app, doesn't manage the db connection pool automatically. (http:// coderrr.wordpress.com/2009/05/05/activerecords-with_connection-is-now- useful/)
Nando and me did also some tests and wrote about the results in openwferu user list (http://www.mail-archive.com/openwferu- [email protected]/msg01322.html) Sorry, I could not find the link to the original post in google groups app. :( Hope this can help... Best regards. Gonzalo. On Aug 26, 5:10 pm, Kenneth Kalmer <[email protected]> wrote: > On Wed, Aug 26, 2009 at 4:41 PM, John Mettraux <[email protected]>wrote: > > > > > > > On Mon, Aug 24, 2009 at 4:05 PM, Kenneth Kalmer<[email protected]> > > wrote: > > > On Mon, Aug 24, 2009 at 2:36 AM, John Mettraux <[email protected]> > > > wrote: > > > >> On Mon, Aug 24, 2009 at 4:49 AM, Kenneth Kalmer< > > [email protected]> > > >> wrote: > > >> > Hi everyone > > > >> > I took as much time as I could over the weekend to mirror John's > > >> > ruote-dm > > >> > [1] project in a new ruote-activerecord [2] project. > > > Hi Kenneth, > > > I've just noticed you went on with ruote-activerecord. It's excellent, > > keep up the good work ! I'm learning a lot [about ActiveRecord and > > Rspec] by reading your code. > > Thanks, it is progressing a lot slower than I wanted to, but so is life... > Glad you're enjoying it ! > > > There is a small thing that bothers me. What do you think of switching > > from "WorkItem" to "Workitem". I use "Workitem" in ruote 2.0 (and > > ruote-dm). What about following in ruote-activerecord ? > > Workitem ftw, I dunno why I did WorkItem in the first place. Will apply some > 'rpl' to the code to get this normalized. > > BTW, I've just pushed a "ticket" branch for ruote-dm. It's the new > > > name of the 'lock' thing I showed you yesterday. 'ticket' is a better > > name, it's not really a lock. > > >http://github.com/jmettraux/ruote-dm/blob/663de25ee361bb1b632dd3d6c48... > > >http://github.com/jmettraux/ruote-dm/blob/663de25ee361bb1b632dd3d6c48... > > > Maybe that could find its way into ruote-activerecord as well. I still > > have to adapt the 'concurrence' expression to use it though. Maybe I > > could do the "port" by myself with you as the reviewer/committer. I > > still have to prove it works for ruote-dm / concurrence, hence the > > branch. > > Ideally I would like to have these two projects mirror each other in > functionality, making switching easy. I've kept the "public methods" the > same for this reason. I'll watch this branch progress a little but, and play > some devil's advocate for you first :) > > > And well done with your presentation : > >http://www.opensourcery.co.za/2009/08/25/ruote-in-20-minutes-video/! > > Thanks ! > > Best > > -- > Kenneth Kalmer > [email protected]http://opensourcery.co.za > @kennethkalmer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
