From lists-jared at nc.rr.com Wed Jan 3 09:41:02 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 3 Jan 2007 09:41:02 -0500 Subject: [raleigh.rb] Desktop software in Rails? In-Reply-To: <2b27183e0612252031o7e5bcd42o8e4cb2802d26849f@mail.gmail.com> References: <88499CFC-5D92-4839-8015-0D1C714BC981@geoffdavis.net> <2b27183e0612252031o7e5bcd42o8e4cb2802d26849f@mail.gmail.com> Message-ID: <621E988E-FCF9-4DC0-9DDF-BB9EDCAD405E@nc.rr.com> I'm sure I'm using the wrong term, but what's out there in Rails that would look like http://www.protopage.com or http://www.netvibes.com ? I'm not even sure where to start looking... Thanks all, Jared http://JaredRichardson.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070103/c8f9de36/attachment.html From geoff at geoffdavis.net Wed Jan 3 09:49:08 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Wed, 3 Jan 2007 09:49:08 -0500 Subject: [raleigh.rb] Desktop software in Rails? In-Reply-To: <621E988E-FCF9-4DC0-9DDF-BB9EDCAD405E@nc.rr.com> References: <88499CFC-5D92-4839-8015-0D1C714BC981@geoffdavis.net> <2b27183e0612252031o7e5bcd42o8e4cb2802d26849f@mail.gmail.com> <621E988E-FCF9-4DC0-9DDF-BB9EDCAD405E@nc.rr.com> Message-ID: <773FA927-AAF4-4368-9479-975C1F9A5D3B@geoffdavis.net> Back in the 90's I heard those kinds of things called "portlets". I'd guess that a content management system (try Radiant) would be the place to start. Perhaps there are portlet add-ons for Radiant? On Jan 3, 2007, at 9:41 AM, Jared Richardson wrote: > I'm sure I'm using the wrong term, but what's out there in Rails > that would look like http://www.protopage.com or http:// > www.netvibes.com ? > > I'm not even sure where to start looking... > > Thanks all, > > Jared > http://JaredRichardson.net > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070103/c6502ad9/attachment.html From charlesmbowman at gmail.com Wed Jan 3 10:08:01 2007 From: charlesmbowman at gmail.com (Charlie Bowman) Date: Wed, 3 Jan 2007 10:08:01 -0500 Subject: [raleigh.rb] Desktop software in Rails? In-Reply-To: <773FA927-AAF4-4368-9479-975C1F9A5D3B@geoffdavis.net> References: <88499CFC-5D92-4839-8015-0D1C714BC981@geoffdavis.net> <2b27183e0612252031o7e5bcd42o8e4cb2802d26849f@mail.gmail.com> <621E988E-FCF9-4DC0-9DDF-BB9EDCAD405E@nc.rr.com> <773FA927-AAF4-4368-9479-975C1F9A5D3B@geoffdavis.net> Message-ID: <298c4d2a0701030708u4918ddffl6b749d91d47b18c9@mail.gmail.com> My advice would be to look on Sourceforge or Rubyforge for this. There's probably something there that will point you in the right direction. On 1/3/07, Geoff Davis wrote: > > Back in the 90's I heard those kinds of things called "portlets". I'd > guess that a content management system (try Radiant) would be the place to > start. Perhaps there are portlet add-ons for Radiant? > > On Jan 3, 2007, at 9:41 AM, Jared Richardson wrote: > > I'm sure I'm using the wrong term, but what's out there in Rails that > would look like http://www.protopage.com or http://www.netvibes.com ? > > I'm not even sure where to start looking... > > Thanks all, > > Jared > http://JaredRichardson.net > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070103/cce0d818/attachment.html From lists-jared at nc.rr.com Wed Jan 3 10:32:42 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 3 Jan 2007 10:32:42 -0500 Subject: [raleigh.rb] Desktop software in Rails? In-Reply-To: <298c4d2a0701030708u4918ddffl6b749d91d47b18c9@mail.gmail.com> References: <88499CFC-5D92-4839-8015-0D1C714BC981@geoffdavis.net> <2b27183e0612252031o7e5bcd42o8e4cb2802d26849f@mail.gmail.com> <621E988E-FCF9-4DC0-9DDF-BB9EDCAD405E@nc.rr.com> <773FA927-AAF4-4368-9479-975C1F9A5D3B@geoffdavis.net> <298c4d2a0701030708u4918ddffl6b749d91d47b18c9@mail.gmail.com> Message-ID: Cool... I can see Geoff's response because Charlie quoted him, but I still haven't seen Geoff's mail. :) Geoff, this is different than a portlet. Portlets require a portal to run in and that's a specific engine. Charlie, I haven't found anything yet, but I suspect it's because I'm not using the correct terms for my searches. Any hints? btw, a co-worker is on the Yahoo toolkit. It might give us enough to finish out our own implementation. Jared http://JaredRichardson.net On Jan 3, 2007, at 10:08 AM, Charlie Bowman wrote: > My advice would be to look on Sourceforge or Rubyforge for this. > There's probably something there that will point you in the right > direction. > > On 1/3/07, Geoff Davis wrote: > Back in the 90's I heard those kinds of things called "portlets". > I'd guess that a content management system (try Radiant) would be > the place to start. Perhaps there are portlet add-ons for Radiant? > > On Jan 3, 2007, at 9:41 AM, Jared Richardson wrote: > >> I'm sure I'm using the wrong term, but what's out there in Rails >> that would look like http://www.protopage.com or http:// >> www.netvibes.com ? >> >> I'm not even sure where to start looking... >> >> Thanks all, >> >> Jared >> http://JaredRichardson.net >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070103/c762d761/attachment-0001.html From rob at muhlestein.net Thu Jan 4 18:49:10 2007 From: rob at muhlestein.net (Rob Muhlestein) Date: Thu, 04 Jan 2007 18:49:10 -0500 Subject: [raleigh.rb] Desktop software in Rails? In-Reply-To: References: <88499CFC-5D92-4839-8015-0D1C714BC981@geoffdavis.net> <2b27183e0612252031o7e5bcd42o8e4cb2802d26849f@mail.gmail.com> <621E988E-FCF9-4DC0-9DDF-BB9EDCAD405E@nc.rr.com> <773FA927-AAF4-4368-9479-975C1F9A5D3B@geoffdavis.net> <298c4d2a0701030708u4918ddffl6b749d91d47b18c9@mail.gmail.com> Message-ID: <1167954550.13391.74.camel@dads> > btw, a co-worker is on the Yahoo toolkit. It might give us enough to > finish out our own implementation. Perhaps more appropriate to the webdev meetups, wouldn't it be nice to see a summary of the Google web toolkit v.s. the Yahoo toolkit? Maybe already been done. -- Rob Muhlestein http://rob.muhlestein.net From blake at near-time.com Fri Jan 5 14:05:51 2007 From: blake at near-time.com (Blake Watters) Date: Fri, 5 Jan 2007 14:05:51 -0500 Subject: [raleigh.rb] recruiting strategies for start-ups? Message-ID: <2DE05DF8-E237-4A93-8DC8-28F8F7147C5D@near-time.com> How is everyone out there handling recruiting for your various ventures? At Near-Time, we've traditionally been working personal relationships and recommendations from trusted people, but we're hitting the outer limits of those circles. We're hesitant to post job descriptions openly and deal with a huge flood of faceless resumes. Has anybody found a middle ground? Cheers, Blake From fatcatt316 at yahoo.com Fri Jan 5 14:42:58 2007 From: fatcatt316 at yahoo.com (Joe Peck) Date: Fri, 5 Jan 2007 11:42:58 -0800 (PST) Subject: [raleigh.rb] recruiting strategies for start-ups? In-Reply-To: <2DE05DF8-E237-4A93-8DC8-28F8F7147C5D@near-time.com> Message-ID: <20070105194258.39266.qmail@web61224.mail.yahoo.com> You could hold a small presentation at State, it'd be a good chance to meet some engineers face-to-face. If you provide pizza, I guarantee you'd get a packed house. Blake Watters wrote: How is everyone out there handling recruiting for your various ventures? At Near-Time, we've traditionally been working personal relationships and recommendations from trusted people, but we're hitting the outer limits of those circles. We're hesitant to post job descriptions openly and deal with a huge flood of faceless resumes. Has anybody found a middle ground? Cheers, Blake _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070105/d8e5b8f7/attachment.html From z at zworkbench.com Fri Jan 5 15:08:33 2007 From: z at zworkbench.com (Chris Garrett) Date: Fri, 5 Jan 2007 20:08:33 +0000 Subject: [raleigh.rb] recruiting strategies for start-ups? In-Reply-To: <20070105194258.39266.qmail@web61224.mail.yahoo.com> References: <2DE05DF8-E237-4A93-8DC8-28F8F7147C5D@near-time.com> <20070105194258.39266.qmail@web61224.mail.yahoo.com> Message-ID: <82883b650701051208g30ea4fa6w111f5615c922035c@mail.gmail.com> Along those lines, look into local co-op programs. I worked at a startup a few years ago that actively recruited co-ops from State. It's a good source of relatively inexpensive labor, and you can get some very motivated, bright people who want real experience. You have the training ramp, but it's often much less than you'd expect. The trick is to give them real challenges, and they will rise to it. Best of all, a co-op is a great trial period for both parties. Regards, Chris On 1/5/07, Joe Peck wrote: > > You could hold a small presentation at State, it'd be a good chance to > meet some engineers face-to-face. If you provide pizza, I guarantee you'd > get a packed house. > > *Blake Watters * wrote: > > How is everyone out there handling recruiting for your various > ventures? At Near-Time, we've traditionally been working personal > relationships and recommendations from trusted people, but we're > hitting the outer limits of those circles. We're hesitant to post job > descriptions openly and deal with a huge flood of faceless resumes. > Has anybody found a middle ground? > > Cheers, > Blake > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070105/f9ef09ef/attachment.html From pkristoff at acm.org Fri Jan 5 15:10:31 2007 From: pkristoff at acm.org (pkristoff at acm.org) Date: Fri, 5 Jan 2007 15:10:31 -0500 Subject: [raleigh.rb] recruiting strategies for start-ups? In-Reply-To: <2DE05DF8-E237-4A93-8DC8-28F8F7147C5D@near-time.com> Message-ID: <007e01c73105$8d81f3d0$1602a8c0@PaulsLaptopII> Blake, You might trying making an announcement at the Ruby meetup night. Paul Kristoff 214-598-9610 PKristoff at acm.org www.PaulKristoff.com -----Original Message----- From: raleigh-rb-members-bounces at rubyforge.org [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Blake Watters Sent: Friday, January 05, 2007 2:06 PM To: The mailing list of raleigh.rb Subject: [raleigh.rb] recruiting strategies for start-ups? How is everyone out there handling recruiting for your various ventures? At Near-Time, we've traditionally been working personal relationships and recommendations from trusted people, but we're hitting the outer limits of those circles. We're hesitant to post job descriptions openly and deal with a huge flood of faceless resumes. Has anybody found a middle ground? Cheers, Blake _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.1/611 - Release Date: 12/31/2006 12:47 PM From rob at muhlestein.net Fri Jan 5 17:32:57 2007 From: rob at muhlestein.net (Rob Muhlestein) Date: Fri, 05 Jan 2007 17:32:57 -0500 Subject: [raleigh.rb] recruiting strategies for start-ups? In-Reply-To: <82883b650701051208g30ea4fa6w111f5615c922035c@mail.gmail.com> References: <2DE05DF8-E237-4A93-8DC8-28F8F7147C5D@near-time.com> <20070105194258.39266.qmail@web61224.mail.yahoo.com> <82883b650701051208g30ea4fa6w111f5615c922035c@mail.gmail.com> Message-ID: <1168036377.13391.94.camel@dads> On Fri, 2007-01-05 at 20:08 +0000, Chris Garrett wrote: > Along those lines, look into local co-op programs. I worked at a > startup a few years ago that actively recruited co-ops from State. > It's a good source of relatively inexpensive labor, and you can get > some very motivated, bright people who want real experience. I wonder if the stagnating, but motivated, corporate, experienced group is also a source of hidden potential. If you'll excuse a personal example, I find myself learning Ruby and other new tech 'on the side' doing open source or personal projects. Recently, however, I tried something new. I approached a relatively small company, (which I happen to know a little about from friends that work there), about doing a no-cost-no-deadline experimental ruby project for much the same reasons a co-op would be willing to work inexpensively, to gain experience without direct risk to the customer. This allows the customer to experiment with Ruby and let's me make that on-the-side off-time not only educational, but possibly worth a little money. I'll let you know how it goes. -- Rob Muhlestein http://rob.muhlestein.net From ryan.daigle at gmail.com Fri Jan 5 20:16:19 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Fri, 5 Jan 2007 20:16:19 -0500 Subject: [raleigh.rb] geek shirt Message-ID: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> For the truly geeky amongst us... http://tinyurl.com/yza6a7 -Ryan From tj at stank.us Fri Jan 5 20:39:46 2007 From: tj at stank.us (TJ Stankus) Date: Fri, 5 Jan 2007 20:39:46 -0500 Subject: [raleigh.rb] geek shirt In-Reply-To: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> References: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> Message-ID: Now that is funny. -TJ On 1/5/07, Ryan Daigle wrote: > For the truly geeky amongst us... > > http://tinyurl.com/yza6a7 > > -Ryan > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- TJ Stankus http://tjstankus.com/ From minter at lunenburg.org Sat Jan 6 08:41:35 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Sat, 6 Jan 2007 08:41:35 -0500 Subject: [raleigh.rb] geek shirt In-Reply-To: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> References: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> Message-ID: <75C3081A-2C3D-4514-97BA-CF06F7775918@lunenburg.org> On Jan 5, 2007, at 8:16 PM, Ryan Daigle wrote: > For the truly geeky amongst us... > > http://tinyurl.com/yza6a7 "I don't care who yew are, that's funny ra'thar." --Wade From rob at muhlestein.net Sat Jan 6 12:15:26 2007 From: rob at muhlestein.net (Rob Muhlestein) Date: Sat, 06 Jan 2007 12:15:26 -0500 Subject: [raleigh.rb] geek shirt In-Reply-To: References: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> Message-ID: <1168103727.13391.99.camel@dads> On Fri, 2007-01-05 at 20:39 -0500, TJ Stankus wrote: > Now that is funny. > > -TJ > > On 1/5/07, Ryan Daigle wrote: > > For the truly geeky amongst us... > > > > http://tinyurl.com/yza6a7 It is, but would be even more so if webrick, the server I see most commonly answering on that port, weren't vulnerable to a novice but very effective DoS attack: http://robmuhlestein.blogspot.com/2006/12/webrick-security-flaw.html I need to get a patch submitted for that--especially now that matz has added maxlen to gets/readline/etc. Anyone happen to know who is heading up the webrick source commits? I have the tree and am on core list, but don't see anyone stepping up to webrick. I still wanna shirt though. -- Rob Muhlestein http://rob.muhlestein.net From tj at stank.us Sat Jan 6 13:22:31 2007 From: tj at stank.us (TJ Stankus) Date: Sat, 6 Jan 2007 13:22:31 -0500 Subject: [raleigh.rb] geek shirt In-Reply-To: <1168103727.13391.99.camel@dads> References: <01147C32-5390-4BB1-8C25-5F2F91EF29AE@gmail.com> <1168103727.13391.99.camel@dads> Message-ID: mongrel runs on :3000 by default too. I recommend it over webrick for development. -TJ On 1/6/07, Rob Muhlestein wrote: > On Fri, 2007-01-05 at 20:39 -0500, TJ Stankus wrote: > > Now that is funny. > > > > -TJ > > > > On 1/5/07, Ryan Daigle wrote: > > > For the truly geeky amongst us... > > > > > > http://tinyurl.com/yza6a7 > > It is, but would be even more so if webrick, the server I see most > commonly answering on that port, weren't vulnerable to a novice but very > effective DoS attack: > > http://robmuhlestein.blogspot.com/2006/12/webrick-security-flaw.html > > I need to get a patch submitted for that--especially now that matz has > added maxlen to gets/readline/etc. Anyone happen to know who is heading > up the webrick source commits? I have the tree and am on core list, but > don't see anyone stepping up to webrick. > > I still wanna shirt though. > -- > Rob Muhlestein > http://rob.muhlestein.net > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- TJ Stankus http://tjstankus.com/ From DLanouette at computer.org Sun Jan 7 22:56:27 2007 From: DLanouette at computer.org (David Lanouette) Date: Sun, 7 Jan 2007 22:56:27 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: References: Message-ID: Does anybody have any recommendations for local hosting providers? Initially we just want svn, trac and email. But eventually, we hope to host production sites (high bandwidth, lot's of concurrent users, sla's...) We'd like to find a company we can grow with and not have to switch later when we go "live". Any thoughts? Thanks in advance. ______________________________ - David Lanouette - DLanouette at Computer.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070107/74174f84/attachment.html From pelargir at gmail.com Mon Jan 8 00:13:12 2007 From: pelargir at gmail.com (Matthew) Date: Mon, 8 Jan 2007 00:13:12 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: References: Message-ID: David, I haven't had experience with any local hosting providers, but I've been on TextDrive for over a year now and haven't have any complaints. Fair warning, though... most of the Rails developers I know have had varying levels of trouble with them. I suppose I just got lucky. I've heard wonderful things about Slicehost. I'm on their waiting list, though, so can't share my own experiences quite yet, but I'm planning on deploying Teascript (www.teascript.com) there when I go live later this year, assuming there are no show-stoppers once my account actually gets activated. I suppose it would be nice to have a local hosting provider to ease the proverbial lighting of fires under the proverbial rear ends if something goes wrong. Non-local services have always worked for me, though. Matthew On 1/7/07, David Lanouette wrote: > > Does anybody have any recommendations for local hosting providers? > > Initially we just want svn, trac and email. But eventually, we hope to > host production sites (high bandwidth, lot's of concurrent users, sla's...) > We'd like to find a company we can grow with and not have to switch later > when we go "live". > > Any thoughts? > > Thanks in advance. > > > ______________________________ > - David Lanouette > - DLanouette at Computer.org > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070108/3e585983/attachment.html From geoff at geoffdavis.net Mon Jan 8 08:47:06 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 8 Jan 2007 08:47:06 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: References: Message-ID: <9D37F5A8-34CE-4E13-A8C5-8A9AD24F1C76@geoffdavis.net> I've been pretty happy with server4you.net On Jan 7, 2007, at 10:56 PM, David Lanouette wrote: > Does anybody have any recommendations for local hosting providers? > > Initially we just want svn, trac and email. But eventually, we > hope to host production sites (high bandwidth, lot's of concurrent > users, sla's...) We'd like to find a company we can grow with and > not have to switch later when we go "live". > > Any thoughts? > > Thanks in advance. > > > ______________________________ > - David Lanouette > - DLanouette at Computer.org > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070108/e1dd6cea/attachment.html From geoff at geoffdavis.net Mon Jan 8 08:57:40 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 8 Jan 2007 08:57:40 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: <9D37F5A8-34CE-4E13-A8C5-8A9AD24F1C76@geoffdavis.net> References: <9D37F5A8-34CE-4E13-A8C5-8A9AD24F1C76@geoffdavis.net> Message-ID: <6AD095FD-4BD8-45C3-AEC5-D519ACAB6ABE@geoffdavis.net> Oh, whoops - they are not local. But their tech support has always been responsive -- the only time they haven't responded within an hour was when my server crashed on Christmas eve. On Jan 8, 2007, at 8:47 AM, Geoff Davis wrote: > I've been pretty happy with server4you.net > > On Jan 7, 2007, at 10:56 PM, David Lanouette wrote: > >> Does anybody have any recommendations for local hosting providers? >> >> Initially we just want svn, trac and email. But eventually, we >> hope to host production sites (high bandwidth, lot's of concurrent >> users, sla's...) We'd like to find a company we can grow with and >> not have to switch later when we go "live". >> >> Any thoughts? >> >> Thanks in advance. >> >> >> ______________________________ >> - David Lanouette >> - DLanouette at Computer.org >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070108/9e8958a0/attachment.html From chris at coderhythm.com Mon Jan 8 10:04:26 2007 From: chris at coderhythm.com (Chris O'Meara) Date: Mon, 8 Jan 2007 10:04:26 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: References: Message-ID: I like SliceHost. They're not local though. On Jan 7, 2007, at 10:56 PM, David Lanouette wrote: > Does anybody have any recommendations for local hosting providers? > > Initially we just want svn, trac and email. But eventually, we > hope to host production sites (high bandwidth, lot's of concurrent > users, sla's...) We'd like to find a company we can grow with and > not have to switch later when we go "live". > > Any thoughts? > > Thanks in advance. > > > ______________________________ > - David Lanouette > - DLanouette at Computer.org > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From geoff at geoffdavis.net Mon Jan 8 10:26:40 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 8 Jan 2007 10:26:40 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup Message-ID: <110BE5E8-93FC-4D28-BB9B-06737DE8E5FD@geoffdavis.net> I've got an object with a has_and_belongs_to_many association. I just discovered that when I delete my object, the related entries in the join table are not deleted. So for example, I have class Foo << ActiveRecord::Base has_and_belongs_to_many :bar The join table bars_foos has entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 foo_id: 2, bar_id: 2 foo_id: 2, bar_id: 3 ... When I delete the Foo object with id 1, I'm still left with the entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 in the join table. Do I just need to add some kind of before_delete or after_delete method? Or is there some option to has_and_belongs_to_many that I'm missing? From pkristoff at acm.org Mon Jan 8 10:33:41 2007 From: pkristoff at acm.org (pkristoff at acm.org) Date: Mon, 8 Jan 2007 10:33:41 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: <110BE5E8-93FC-4D28-BB9B-06737DE8E5FD@geoffdavis.net> Message-ID: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> Geoff, Try adding "has_and_belongs_to_many :bar, :dependent => true". I know it works for has_many. Paul Kristoff 214-598-9610 PKristoff at acm.org www.PaulKristoff.com -----Original Message----- From: raleigh-rb-members-bounces at rubyforge.org [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Geoff Davis Sent: Monday, January 08, 2007 10:27 AM To: The mailing list of raleigh.rb Subject: [raleigh.rb] has_and_belongs_to_many cleanup I've got an object with a has_and_belongs_to_many association. I just discovered that when I delete my object, the related entries in the join table are not deleted. So for example, I have class Foo << ActiveRecord::Base has_and_belongs_to_many :bar The join table bars_foos has entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 foo_id: 2, bar_id: 2 foo_id: 2, bar_id: 3 ... When I delete the Foo object with id 1, I'm still left with the entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 in the join table. Do I just need to add some kind of before_delete or after_delete method? Or is there some option to has_and_belongs_to_many that I'm missing? _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: 1/7/2007 6:29 PM From ryan.daigle at gmail.com Mon Jan 8 10:34:34 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Mon, 8 Jan 2007 10:34:34 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: <110BE5E8-93FC-4D28-BB9B-06737DE8E5FD@geoffdavis.net> References: <110BE5E8-93FC-4D28-BB9B-06737DE8E5FD@geoffdavis.net> Message-ID: How are you deleting the Foo object? If you're calling foo.delete then that will only delete the row in the foo table, not any association tables. If you're doing foo.destroy, however, that should work as it will clean up all associations for you... -Ryan On Jan 8, 2007, at 10:26 AM, Geoff Davis wrote: I've got an object with a has_and_belongs_to_many association. I just discovered that when I delete my object, the related entries in the join table are not deleted. So for example, I have class Foo << ActiveRecord::Base has_and_belongs_to_many :bar The join table bars_foos has entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 foo_id: 2, bar_id: 2 foo_id: 2, bar_id: 3 ... When I delete the Foo object with id 1, I'm still left with the entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 in the join table. Do I just need to add some kind of before_delete or after_delete method? Or is there some option to has_and_belongs_to_many that I'm missing? _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From rdaigle at alterthought.com Mon Jan 8 10:36:40 2007 From: rdaigle at alterthought.com (Ryan Daigle) Date: Mon, 8 Jan 2007 10:36:40 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> Message-ID: The API docs don't show :dependent as an option for habtm though it's worth a try.. http://api.rubyonrails.com/classes/ActiveRecord/Associations/ ClassMethods.html#M000533 -Ryan On Jan 8, 2007, at 10:33 AM, wrote: Geoff, Try adding "has_and_belongs_to_many :bar, :dependent => true". I know it works for has_many. Paul Kristoff 214-598-9610 PKristoff at acm.org www.PaulKristoff.com -----Original Message----- From: raleigh-rb-members-bounces at rubyforge.org [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Geoff Davis Sent: Monday, January 08, 2007 10:27 AM To: The mailing list of raleigh.rb Subject: [raleigh.rb] has_and_belongs_to_many cleanup I've got an object with a has_and_belongs_to_many association. I just discovered that when I delete my object, the related entries in the join table are not deleted. So for example, I have class Foo << ActiveRecord::Base has_and_belongs_to_many :bar The join table bars_foos has entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 foo_id: 2, bar_id: 2 foo_id: 2, bar_id: 3 ... When I delete the Foo object with id 1, I'm still left with the entries foo_id: 1, bar_id: 1 foo_id: 1, bar_id: 2 in the join table. Do I just need to add some kind of before_delete or after_delete method? Or is there some option to has_and_belongs_to_many that I'm missing? _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: 1/7/2007 6:29 PM _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From tj at stank.us Mon Jan 8 10:41:49 2007 From: tj at stank.us (TJ Stankus) Date: Mon, 8 Jan 2007 10:41:49 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: References: Message-ID: I've been happy with Slicehost thus far, but the question I think you need to ask yourself first is whether you want managed hosting or not. That will be significantly more expensive, but if you're talking SLAs and horizontal hardware growth potential, going with a company that can scale that way from the outset may save you some hassle. -TJ On 1/7/07, David Lanouette wrote: > Does anybody have any recommendations for local hosting providers? > > Initially we just want svn, trac and email. But eventually, we hope to host > production sites (high bandwidth, lot's of concurrent users, sla's...) We'd > like to find a company we can grow with and not have to switch later when we > go "live". > > Any thoughts? > > Thanks in advance. > > > ______________________________ > - David Lanouette > - DLanouette at Computer.org > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > From geoff at geoffdavis.net Mon Jan 8 10:45:15 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 8 Jan 2007 10:45:15 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> Message-ID: Yeah, I didn't see a :dependent option in the API. D'oh -- you're right, I'm calling delete instead of destroy. On Jan 8, 2007, at 10:36 AM, Ryan Daigle wrote: > The API docs don't show :dependent as an option for habtm though it's > worth a try.. > > http://api.rubyonrails.com/classes/ActiveRecord/Associations/ > ClassMethods.html#M000533 > > -Ryan > > On Jan 8, 2007, at 10:33 AM, wrote: > > Geoff, > > Try adding "has_and_belongs_to_many :bar, :dependent => true". I > know it > works for has_many. > > Paul Kristoff > 214-598-9610 > PKristoff at acm.org > www.PaulKristoff.com > > -----Original Message----- > From: raleigh-rb-members-bounces at rubyforge.org > [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Geoff > Davis > Sent: Monday, January 08, 2007 10:27 AM > To: The mailing list of raleigh.rb > Subject: [raleigh.rb] has_and_belongs_to_many cleanup > > I've got an object with a has_and_belongs_to_many association. I > just discovered that when I delete my object, the related entries in > the join table are not deleted. > > So for example, I have > > class Foo << ActiveRecord::Base > has_and_belongs_to_many :bar > > The join table bars_foos has entries > > foo_id: 1, bar_id: 1 > foo_id: 1, bar_id: 2 > foo_id: 2, bar_id: 2 > foo_id: 2, bar_id: 3 > ... > > When I delete the Foo object with id 1, I'm still left with the > entries > > foo_id: 1, bar_id: 1 > foo_id: 1, bar_id: 2 > > in the join table. Do I just need to add some kind of before_delete > or after_delete method? Or is there some option to > has_and_belongs_to_many that I'm missing? > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: > 1/7/2007 > 6:29 PM > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From ryan.daigle at gmail.com Mon Jan 8 10:55:26 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Mon, 8 Jan 2007 10:55:26 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> Message-ID: <830926FF-D674-4E92-B5CA-B5286AC55F9E@gmail.com> shame shame... On Jan 8, 2007, at 10:45 AM, Geoff Davis wrote: Yeah, I didn't see a :dependent option in the API. D'oh -- you're right, I'm calling delete instead of destroy. On Jan 8, 2007, at 10:36 AM, Ryan Daigle wrote: > The API docs don't show :dependent as an option for habtm though it's > worth a try.. > > http://api.rubyonrails.com/classes/ActiveRecord/Associations/ > ClassMethods.html#M000533 > > -Ryan > > On Jan 8, 2007, at 10:33 AM, wrote: > > Geoff, > > Try adding "has_and_belongs_to_many :bar, :dependent => true". I > know it > works for has_many. > > Paul Kristoff > 214-598-9610 > PKristoff at acm.org > www.PaulKristoff.com > > -----Original Message----- > From: raleigh-rb-members-bounces at rubyforge.org > [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Geoff > Davis > Sent: Monday, January 08, 2007 10:27 AM > To: The mailing list of raleigh.rb > Subject: [raleigh.rb] has_and_belongs_to_many cleanup > > I've got an object with a has_and_belongs_to_many association. I > just discovered that when I delete my object, the related entries in > the join table are not deleted. > > So for example, I have > > class Foo << ActiveRecord::Base > has_and_belongs_to_many :bar > > The join table bars_foos has entries > > foo_id: 1, bar_id: 1 > foo_id: 1, bar_id: 2 > foo_id: 2, bar_id: 2 > foo_id: 2, bar_id: 3 > ... > > When I delete the Foo object with id 1, I'm still left with the > entries > > foo_id: 1, bar_id: 1 > foo_id: 1, bar_id: 2 > > in the join table. Do I just need to add some kind of before_delete > or after_delete method? Or is there some option to > has_and_belongs_to_many that I'm missing? > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: > 1/7/2007 > 6:29 PM > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From geoff at geoffdavis.net Mon Jan 8 11:07:57 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 8 Jan 2007 11:07:57 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: <830926FF-D674-4E92-B5CA-B5286AC55F9E@gmail.com> References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> <830926FF-D674-4E92-B5CA-B5286AC55F9E@gmail.com> Message-ID: /me hangs his head On Jan 8, 2007, at 10:55 AM, Ryan Daigle wrote: > shame shame... > > On Jan 8, 2007, at 10:45 AM, Geoff Davis wrote: > > Yeah, I didn't see a :dependent option in the API. > > D'oh -- you're right, I'm calling delete instead of destroy. > > On Jan 8, 2007, at 10:36 AM, Ryan Daigle wrote: > >> The API docs don't show :dependent as an option for habtm though it's >> worth a try.. >> >> http://api.rubyonrails.com/classes/ActiveRecord/Associations/ >> ClassMethods.html#M000533 >> >> -Ryan >> >> On Jan 8, 2007, at 10:33 AM, wrote: >> >> Geoff, >> >> Try adding "has_and_belongs_to_many :bar, :dependent => true". I >> know it >> works for has_many. >> >> Paul Kristoff >> 214-598-9610 >> PKristoff at acm.org >> www.PaulKristoff.com >> >> -----Original Message----- >> From: raleigh-rb-members-bounces at rubyforge.org >> [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Geoff >> Davis >> Sent: Monday, January 08, 2007 10:27 AM >> To: The mailing list of raleigh.rb >> Subject: [raleigh.rb] has_and_belongs_to_many cleanup >> >> I've got an object with a has_and_belongs_to_many association. I >> just discovered that when I delete my object, the related entries in >> the join table are not deleted. >> >> So for example, I have >> >> class Foo << ActiveRecord::Base >> has_and_belongs_to_many :bar >> >> The join table bars_foos has entries >> >> foo_id: 1, bar_id: 1 >> foo_id: 1, bar_id: 2 >> foo_id: 2, bar_id: 2 >> foo_id: 2, bar_id: 3 >> ... >> >> When I delete the Foo object with id 1, I'm still left with the >> entries >> >> foo_id: 1, bar_id: 1 >> foo_id: 1, bar_id: 2 >> >> in the join table. Do I just need to add some kind of before_delete >> or after_delete method? Or is there some option to >> has_and_belongs_to_many that I'm missing? >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: >> 1/7/2007 >> 6:29 PM >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From nathaniel at talbott.ws Mon Jan 8 12:58:41 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 8 Jan 2007 12:58:41 -0500 Subject: [raleigh.rb] Lightning Talk Night Message-ID: <70F39DBC-1C7D-494A-9E97-60127D543B48@talbott.ws> To kick off the year at our first meeting, we're going to do lightning talks. This means you can grab the limelight for five minutes to expound on whatever topic strikes your fancy (so long as it fits in five minutes). While I already have a few slotted, there's plenty of room for everyone, so please just reply here with what you'd like to talk about and I'll sort it out in to a schedule. Can't wait, -- Nathaniel Talbott <:((>< From adam at thewilliams.ws Mon Jan 8 13:21:12 2007 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 8 Jan 2007 13:21:12 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> <830926FF-D674-4E92-B5CA-B5286AC55F9E@gmail.com> Message-ID: And for coolness points, avoid has_and_belongs_to_many in favor of has_many :somethings; has_many :bars, :through => :somethings. Just wanted my name on the trail ;) aiwilliams On Jan 8, 2007, at 11:07 AM, Geoff Davis wrote: > /me hangs his head > > On Jan 8, 2007, at 10:55 AM, Ryan Daigle wrote: > >> shame shame... >> >> On Jan 8, 2007, at 10:45 AM, Geoff Davis wrote: >> >> Yeah, I didn't see a :dependent option in the API. >> >> D'oh -- you're right, I'm calling delete instead of destroy. >> >> On Jan 8, 2007, at 10:36 AM, Ryan Daigle wrote: >> >>> The API docs don't show :dependent as an option for habtm though >>> it's >>> worth a try.. >>> >>> http://api.rubyonrails.com/classes/ActiveRecord/Associations/ >>> ClassMethods.html#M000533 >>> >>> -Ryan >>> >>> On Jan 8, 2007, at 10:33 AM, wrote: >>> >>> Geoff, >>> >>> Try adding "has_and_belongs_to_many :bar, :dependent => true". I >>> know it >>> works for has_many. >>> >>> Paul Kristoff >>> 214-598-9610 >>> PKristoff at acm.org >>> www.PaulKristoff.com >>> >>> -----Original Message----- >>> From: raleigh-rb-members-bounces at rubyforge.org >>> [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Geoff >>> Davis >>> Sent: Monday, January 08, 2007 10:27 AM >>> To: The mailing list of raleigh.rb >>> Subject: [raleigh.rb] has_and_belongs_to_many cleanup >>> >>> I've got an object with a has_and_belongs_to_many association. I >>> just discovered that when I delete my object, the related entries in >>> the join table are not deleted. >>> >>> So for example, I have >>> >>> class Foo << ActiveRecord::Base >>> has_and_belongs_to_many :bar >>> >>> The join table bars_foos has entries >>> >>> foo_id: 1, bar_id: 1 >>> foo_id: 1, bar_id: 2 >>> foo_id: 2, bar_id: 2 >>> foo_id: 2, bar_id: 3 >>> ... >>> >>> When I delete the Foo object with id 1, I'm still left with the >>> entries >>> >>> foo_id: 1, bar_id: 1 >>> foo_id: 1, bar_id: 2 >>> >>> in the join table. Do I just need to add some kind of before_delete >>> or after_delete method? Or is there some option to >>> has_and_belongs_to_many that I'm missing? >>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: >>> 1/7/2007 >>> 6:29 PM >>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From geoff at geoffdavis.net Mon Jan 8 13:37:12 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 8 Jan 2007 13:37:12 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> <830926FF-D674-4E92-B5CA-B5286AC55F9E@gmail.com> Message-ID: <90B07D9D-8342-49DA-A94E-87C493320B29@geoffdavis.net> Coolness points aside, is has_many through the preferred alternative to habtm? Is habtm deprecated in 1.2? On Jan 8, 2007, at 1:21 PM, Adam Williams wrote: > And for coolness points, avoid has_and_belongs_to_many in favor of > has_many :somethings; has_many :bars, :through => :somethings. > > Just wanted my name on the trail ;) > > aiwilliams > > On Jan 8, 2007, at 11:07 AM, Geoff Davis wrote: > >> /me hangs his head >> >> On Jan 8, 2007, at 10:55 AM, Ryan Daigle wrote: >> >>> shame shame... >>> >>> On Jan 8, 2007, at 10:45 AM, Geoff Davis wrote: >>> >>> Yeah, I didn't see a :dependent option in the API. >>> >>> D'oh -- you're right, I'm calling delete instead of destroy. >>> >>> On Jan 8, 2007, at 10:36 AM, Ryan Daigle wrote: >>> >>>> The API docs don't show :dependent as an option for habtm though >>>> it's >>>> worth a try.. >>>> >>>> http://api.rubyonrails.com/classes/ActiveRecord/Associations/ >>>> ClassMethods.html#M000533 >>>> >>>> -Ryan >>>> >>>> On Jan 8, 2007, at 10:33 AM, wrote: >>>> >>>> Geoff, >>>> >>>> Try adding "has_and_belongs_to_many :bar, :dependent => >>>> true". I >>>> know it >>>> works for has_many. >>>> >>>> Paul Kristoff >>>> 214-598-9610 >>>> PKristoff at acm.org >>>> www.PaulKristoff.com >>>> >>>> -----Original Message----- >>>> From: raleigh-rb-members-bounces at rubyforge.org >>>> [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of >>>> Geoff >>>> Davis >>>> Sent: Monday, January 08, 2007 10:27 AM >>>> To: The mailing list of raleigh.rb >>>> Subject: [raleigh.rb] has_and_belongs_to_many cleanup >>>> >>>> I've got an object with a has_and_belongs_to_many association. I >>>> just discovered that when I delete my object, the related >>>> entries in >>>> the join table are not deleted. >>>> >>>> So for example, I have >>>> >>>> class Foo << ActiveRecord::Base >>>> has_and_belongs_to_many :bar >>>> >>>> The join table bars_foos has entries >>>> >>>> foo_id: 1, bar_id: 1 >>>> foo_id: 1, bar_id: 2 >>>> foo_id: 2, bar_id: 2 >>>> foo_id: 2, bar_id: 3 >>>> ... >>>> >>>> When I delete the Foo object with id 1, I'm still left with the >>>> entries >>>> >>>> foo_id: 1, bar_id: 1 >>>> foo_id: 1, bar_id: 2 >>>> >>>> in the join table. Do I just need to add some kind of >>>> before_delete >>>> or after_delete method? Or is there some option to >>>> has_and_belongs_to_many that I'm missing? >>>> >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>>> >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG Free Edition. >>>> Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: >>>> 1/7/2007 >>>> 6:29 PM >>>> >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From adam at thewilliams.ws Mon Jan 8 13:45:07 2007 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 8 Jan 2007 13:45:07 -0500 Subject: [raleigh.rb] has_and_belongs_to_many cleanup In-Reply-To: <90B07D9D-8342-49DA-A94E-87C493320B29@geoffdavis.net> References: <004801c7333a$5fe52140$1602a8c0@PaulsLaptopII> <830926FF-D674-4E92-B5CA-B5286AC55F9E@gmail.com> <90B07D9D-8342-49DA-A94E-87C493320B29@geoffdavis.net> Message-ID: <651271BB-E034-4CE3-B3C2-42B05109784A@thewilliams.ws> On Jan 8, 2007, at 1:37 PM, Geoff Davis wrote: > Coolness points aside, is has_many through the preferred alternative > to habtm? Is habtm deprecated in 1.2? It is not deprecated, though some of it's features are (push_with_attributes, for example), thanks to has_many :through. I have heard that it is preferred, though I wonder if the has_many :through with no attributes on the join model is yagni. It can be hard to come up with a name for that thing... aiwilliams From lists-jared at nc.rr.com Mon Jan 8 13:57:00 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 8 Jan 2007 13:57:00 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: References: Message-ID: <305A2FD7-ABC0-4BF0-863C-E4F83065B7F1@nc.rr.com> I'm looking at SliceHost... you have to be your own sysadmin, to the point of installing your own firewall... I'm not sure that's what I'd want to do, but their packages are very competitive. Jared http://JaredRichardson.net On Jan 8, 2007, at 10:04 AM, Chris O'Meara wrote: > I like SliceHost. They're not local though. > > From moonshark413 at yahoo.com Mon Jan 8 16:14:59 2007 From: moonshark413 at yahoo.com (P.D.S.) Date: Mon, 8 Jan 2007 13:14:59 -0800 (PST) Subject: [raleigh.rb] making a new capistrano task... Message-ID: <307183.83986.qm@web54614.mail.yahoo.com> I am trying to make a new capistrano task, to setup some persistent data folders (my project manages the inputs and outputs to a cli app) and give them the proper permissions. (This project runs on 6 servers in 3 different countries, so I don't want to do it manually every time I deploy) Anyway, I've made a new task in my deploy.rb and then called if from the existing after_deploy task. It is triggered OK - so far, so good... path_list.each do |the_path| if !(File.exist?(the_path)) then sudo "mkdir #{the_path}" end end The problem seems to be that I can't write conditionals against the remote server. When I invoke rake remote:deploy... the File.exist? command is executed on the LOCAL machine, and my mkdir does not fire I have looked at the capistrano manual ("http://manuals.rubyonrails.com/read/chapter/97") but it doesn't seem to address my need. Am I trying to do something that strange? -PDS __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From moonshark413 at yahoo.com Mon Jan 8 16:38:14 2007 From: moonshark413 at yahoo.com (P.D.S.) Date: Mon, 8 Jan 2007 13:38:14 -0800 (PST) Subject: [raleigh.rb] making a new capistrano task... In-Reply-To: <307183.83986.qm@web54614.mail.yahoo.com> Message-ID: <825961.31358.qm@web54603.mail.yahoo.com> Still digging and it looks like other people are using the expedient "run" method to execute un-ruby shell commands, like so : run "if [ ! -d path/to/file ]; then mkdir -p path/to/file; fi" Most of what I am finding is pretty old and does not seem very authoritative... -PDS --- "P.D.S." wrote: > I am trying to make a new capistrano task, to setup some persistent > data folders (my project manages the inputs and outputs to a cli app) > and give them the proper permissions. (This project runs on 6 servers > in 3 different countries, so I don't want to do it manually every > time > I deploy) > > Anyway, I've made a new task in my deploy.rb and then called if from > the existing after_deploy task. It is triggered OK - so far, so > good... > > > path_list.each do |the_path| > if !(File.exist?(the_path)) then > sudo "mkdir #{the_path}" > end > end > > The problem seems to be that I can't write conditionals against the > remote server. When I invoke rake remote:deploy... the File.exist? > command is executed on the LOCAL machine, and my mkdir does not fire > > I have looked at the capistrano manual > ("http://manuals.rubyonrails.com/read/chapter/97") but it doesn't > seem > to address my need. Am I trying to do something that strange? > > -PDS __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ryan.daigle at gmail.com Mon Jan 8 16:37:56 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Mon, 8 Jan 2007 16:37:56 -0500 Subject: [raleigh.rb] making a new capistrano task... In-Reply-To: <307183.83986.qm@web54614.mail.yahoo.com> References: <307183.83986.qm@web54614.mail.yahoo.com> Message-ID: <3BC6ED4D-22C7-4DEA-8B23-D0D11E31162A@gmail.com> Hmm, I'm sure it's possible to send Ruby commands to a remote server, but I've only ever seen shell commands sent to remote servers with: run "mkdir #{the_path}" Can you phrase your commands in the form of a shell script? run "if [-x #{the_path}] mkdir #{the_path} fi" (I know this doesn't work - but you get the point..?) -Ryan On Jan 8, 2007, at 4:14 PM, P.D.S. wrote: I am trying to make a new capistrano task, to setup some persistent data folders (my project manages the inputs and outputs to a cli app) and give them the proper permissions. (This project runs on 6 servers in 3 different countries, so I don't want to do it manually every time I deploy) Anyway, I've made a new task in my deploy.rb and then called if from the existing after_deploy task. It is triggered OK - so far, so good... path_list.each do |the_path| if !(File.exist?(the_path)) then sudo "mkdir #{the_path}" end end The problem seems to be that I can't write conditionals against the remote server. When I invoke rake remote:deploy... the File.exist? command is executed on the LOCAL machine, and my mkdir does not fire I have looked at the capistrano manual ("http://manuals.rubyonrails.com/read/chapter/97") but it doesn't seem to address my need. Am I trying to do something that strange? -PDS __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From DLanouette at computer.org Mon Jan 8 18:59:45 2007 From: DLanouette at computer.org (David Lanouette) Date: Mon, 8 Jan 2007 18:59:45 -0500 Subject: [raleigh.rb] Local Hosting providers? In-Reply-To: <305A2FD7-ABC0-4BF0-863C-E4F83065B7F1@nc.rr.com> References: <305A2FD7-ABC0-4BF0-863C-E4F83065B7F1@nc.rr.com> Message-ID: Thanks everybody for your input. Looks like there are a lot of good hosting providers locally. Oh well... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070108/92176164/attachment.html From z at zworkbench.com Wed Jan 10 05:31:48 2007 From: z at zworkbench.com (Chris Garrett) Date: Wed, 10 Jan 2007 10:31:48 +0000 Subject: [raleigh.rb] Ruby for Symbian OS Message-ID: <82883b650701100231h20b40fceuea5700c748295e4@mail.gmail.com> I've been waiting for this - http://developer.symbian.com/main/tools/opensrc/ruby/index.jsp Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070110/90517cd4/attachment.html From jjeffers at nc.rr.com Wed Jan 10 06:25:31 2007 From: jjeffers at nc.rr.com (James Jeffers) Date: Wed, 10 Jan 2007 06:25:31 -0500 Subject: [raleigh.rb] Multiple scaffolds in the same controller? In-Reply-To: <82883b650701100231h20b40fceuea5700c748295e4@mail.gmail.com> References: <82883b650701100231h20b40fceuea5700c748295e4@mail.gmail.com> Message-ID: <1168428331.9159.12.camel@localhost> Is it possible to use the scaffold generator to make multiple static scaffolds for different models in the same controller? For example I see this as an example: ruby script/generate scaffold product admin >From this I see it generates the views for CRUDing the Products. If I again use the generator... ruby script/generate scaffold someotherthing admin the generator will again try to write out similarly named views in the same controller. Is there an easier way to do this? Thanks in advance, James From mark.bennett.mail at gmail.com Wed Jan 10 08:41:06 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Wed, 10 Jan 2007 08:41:06 -0500 Subject: [raleigh.rb] Multiple scaffolds in the same controller? In-Reply-To: <1168428331.9159.12.camel@localhost> References: <82883b650701100231h20b40fceuea5700c748295e4@mail.gmail.com> <1168428331.9159.12.camel@localhost> Message-ID: I really don't think so. I thought I wanted this capability before as well, but now I think if that if two models have close interaction then the scaffolding is useless in either form. Mark On 1/10/07, James Jeffers wrote: > > Is it possible to use the scaffold generator to make multiple static > scaffolds for different models in the same controller? > > For example I see this as an example: > > ruby script/generate scaffold product admin > > >From this I see it generates the views for CRUDing the Products. > > If I again use the generator... > > ruby script/generate scaffold someotherthing admin > > the generator will again try to write out similarly named views in the > same controller. Is there an easier way to do this? > > Thanks in advance, > James > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070110/39133e90/attachment-0001.html From blake at near-time.com Fri Jan 12 18:37:38 2007 From: blake at near-time.com (Blake Watters) Date: Fri, 12 Jan 2007 18:37:38 -0500 Subject: [raleigh.rb] making a new capistrano task... In-Reply-To: <825961.31358.qm@web54603.mail.yahoo.com> References: <825961.31358.qm@web54603.mail.yahoo.com> Message-ID: <2A1708D4-7704-4337-ADCE-DEAC6414CAF9@near-time.com> What I typically do in these situations is create a new rake task that performs the action and ensure it works locally. Then I invoke the rake task from within the capistrano task: task :some_task do run "cd #{directory} && rake setup:something_interesting" end Then you can stay comfortable in Ruby land and get full reuse of your tasks for local development or administration later on. Cheers, Blake On Jan 8, 2007, at 4:38 PM, P.D.S. wrote: > Still digging and it looks like other people are using the expedient > "run" method to execute un-ruby shell commands, like so : > > run "if [ ! -d path/to/file ]; then mkdir -p path/to/file; fi" > > Most of what I am finding is pretty old and does not seem very > authoritative... > > -PDS > > --- "P.D.S." wrote: > >> I am trying to make a new capistrano task, to setup some persistent >> data folders (my project manages the inputs and outputs to a cli app) >> and give them the proper permissions. (This project runs on 6 servers >> in 3 different countries, so I don't want to do it manually every >> time >> I deploy) >> >> Anyway, I've made a new task in my deploy.rb and then called if from >> the existing after_deploy task. It is triggered OK - so far, so >> good... >> >> >> path_list.each do |the_path| >> if !(File.exist?(the_path)) then >> sudo "mkdir #{the_path}" >> end >> end >> >> The problem seems to be that I can't write conditionals against the >> remote server. When I invoke rake remote:deploy... the File.exist? >> command is executed on the LOCAL machine, and my mkdir does not fire >> >> I have looked at the capistrano manual >> ("http://manuals.rubyonrails.com/read/chapter/97") but it doesn't >> seem >> to address my need. Am I trying to do something that strange? >> >> -PDS > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members !DSPAM:57,45a816bb303291381717626! From lists-jared at nc.rr.com Mon Jan 15 17:29:02 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 15 Jan 2007 17:29:02 -0500 Subject: [raleigh.rb] Ruby db connection pooling? In-Reply-To: <2A1708D4-7704-4337-ADCE-DEAC6414CAF9@near-time.com> References: <825961.31358.qm@web54603.mail.yahoo.com> <2A1708D4-7704-4337-ADCE-DEAC6414CAF9@near-time.com> Message-ID: <6FBD13FB-3FDC-4DB2-9827-800C7AF8A21C@nc.rr.com> Hi all, I'm trying to research connection pooling in Rails. Specifically to a Mysql master/slave set up where (we hope) the reads hit the slave but writes hit the master. I wrote this exact bit in Java a few years ago but preliminary searches don't seem to show the same tech for Ruby yet. Any hints? TIA Jared http://JaredRichardson.net From blake at near-time.com Mon Jan 15 17:42:05 2007 From: blake at near-time.com (Blake Watters) Date: Mon, 15 Jan 2007 17:42:05 -0500 Subject: [raleigh.rb] Ruby db connection pooling? In-Reply-To: <6FBD13FB-3FDC-4DB2-9827-800C7AF8A21C@nc.rr.com> References: <825961.31358.qm@web54603.mail.yahoo.com> <2A1708D4-7704-4337-ADCE-DEAC6414CAF9@near-time.com> <6FBD13FB-3FDC-4DB2-9827-800C7AF8A21C@nc.rr.com> Message-ID: <0333F742-262E-40BC-9FAC-D941D6E8CFFC@near-time.com> I think you'll have to override the default connection pooling behavior. There is no distinction made on the read/write case, only on the class of the model. The inheritance hierarchy is then traversed upward toward ActiveRecord::Base, searching for a connection keyed on the class. There is a class variable called @@defined_connections which is just a hash indexed by class name. I imagine you'd need to add another dimension to the hash, with :read and :write as keys pointing toward connections and then massage the AR primitives (find, save, etc) to grab the appropriate hash. You could probably do this as a plugin with severe patches into ActiveRecord::Base, but it will be serious surgery and may be painful to maintain... you might want to see if core would accept a patch implementing the feature and poke them for hints on test cases they'd want to see. With 1.2 imminently shipping, its probably a good time to be working on such a feature as there will be a new release cycle opening up and patches will start flowing again. Cheers, Blake On Jan 15, 2007, at 5:29 PM, Jared Richardson wrote: > Hi all, > > I'm trying to research connection pooling in Rails. Specifically to a > Mysql master/slave set up where (we hope) the reads hit the slave but > writes hit the master. > > I wrote this exact bit in Java a few years ago but preliminary > searches don't seem to show the same tech for Ruby yet. > > Any hints? TIA > > Jared > http://JaredRichardson.net > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > !DSPAM:57,45abfe1d17506810513243! From nathaniel at talbott.ws Tue Jan 16 10:37:49 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 16 Jan 2007 10:37:49 -0500 Subject: [raleigh.rb] Pre-Meeting Chow Message-ID: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> As usual, anyone who's available is invited to join me at 5:30 tonight at Baja Burrito (http://rubyurl.com/CGF) to grab dinner and some Ruby chatter before heading over to Red Hat for the meeting. While by no means required, a quick RSVP (just reply to this email with "In!" or somesuch) would be great. Looking forward to it, -- Nathaniel Talbott <:((>< From rdaigle at alterthought.com Tue Jan 16 10:44:05 2007 From: rdaigle at alterthought.com (Ryan Daigle) Date: Tue, 16 Jan 2007 10:44:05 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> References: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> Message-ID: <244184F8-B481-4B62-AE82-9D417E213901@alterthought.com> so there On Jan 16, 2007, at 10:37 AM, Nathaniel Talbott wrote: As usual, anyone who's available is invited to join me at 5:30 tonight at Baja Burrito (http://rubyurl.com/CGF) to grab dinner and some Ruby chatter before heading over to Red Hat for the meeting. While by no means required, a quick RSVP (just reply to this email with "In!" or somesuch) would be great. Looking forward to it, -- Nathaniel Talbott <:((>< _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From tj at stank.us Tue Jan 16 11:53:05 2007 From: tj at stank.us (TJ Stankus) Date: Tue, 16 Jan 2007 11:53:05 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> References: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> Message-ID: It'll be a game-time decision for me. And it must be a raleigh.rb meetup day because it's raining. :) -TJ On 1/16/07, Nathaniel Talbott wrote: > As usual, anyone who's available is invited to join me at 5:30 > tonight at Baja Burrito (http://rubyurl.com/CGF) to grab dinner and > some Ruby chatter before heading over to Red Hat for the meeting. > > While by no means required, a quick RSVP (just reply to this email > with "In!" or somesuch) would be great. > > Looking forward to it, > > > -- > Nathaniel Talbott > > <:((>< > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From mark.bennett.mail at gmail.com Tue Jan 16 12:49:22 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Tue, 16 Jan 2007 12:49:22 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> Message-ID: yes, i'd say a very high correlation. On 1/16/07, TJ Stankus wrote: > > It'll be a game-time decision for me. > > And it must be a raleigh.rb meetup day because it's raining. :) > > -TJ > > On 1/16/07, Nathaniel Talbott wrote: > > As usual, anyone who's available is invited to join me at 5:30 > > tonight at Baja Burrito (http://rubyurl.com/CGF) to grab dinner and > > some Ruby chatter before heading over to Red Hat for the meeting. > > > > While by no means required, a quick RSVP (just reply to this email > > with "In!" or somesuch) would be great. > > > > Looking forward to it, > > > > > > -- > > Nathaniel Talbott > > > > <:((>< > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070116/55498724/attachment.html From kevin.olbrich at gmail.com Tue Jan 16 12:58:58 2007 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Tue, 16 Jan 2007 12:58:58 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> Message-ID: For some reason it always rains on our brigade. _Kevin On 1/16/07, Mark Bennett wrote: > > yes, i'd say a very high correlation. > > On 1/16/07, TJ Stankus wrote: > > > > It'll be a game-time decision for me. > > > > And it must be a raleigh.rb meetup day because it's raining. :) > > > > -TJ > > > > On 1/16/07, Nathaniel Talbott wrote: > > > As usual, anyone who's available is invited to join me at 5:30 > > > tonight at Baja Burrito (http://rubyurl.com/CGF) to grab dinner and > > > some Ruby chatter before heading over to Red Hat for the meeting. > > > > > > While by no means required, a quick RSVP (just reply to this email > > > with "In!" or somesuch) would be great. > > > > > > Looking forward to it, > > > > > > > > > -- > > > Nathaniel Talbott > > > > > > <:((>< > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070116/d421c647/attachment-0001.html From lists-jared at nc.rr.com Tue Jan 16 13:09:34 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Tue, 16 Jan 2007 13:09:34 -0500 Subject: [raleigh.rb] Ruby db connection pooling? In-Reply-To: <0333F742-262E-40BC-9FAC-D941D6E8CFFC@near-time.com> References: <825961.31358.qm@web54603.mail.yahoo.com> <2A1708D4-7704-4337-ADCE-DEAC6414CAF9@near-time.com> <6FBD13FB-3FDC-4DB2-9827-800C7AF8A21C@nc.rr.com> <0333F742-262E-40BC-9FAC-D941D6E8CFFC@near-time.com> Message-ID: <5D1F3BFA-2FA9-446E-8B97-53F81765FA3D@nc.rr.com> Thanks! Great direction and strategy. After digging in a bit on the client's actual problems, I think I'm going to add a second connection in the config and then start manually moving slow read queries to use the second database. They have tons of hand crafted SQL they run and I'd have to regex every one of them to determine read/write... I can certainly do that but it would also be 'slow' (relatively speaking) and impact the gains they made with by using SQL. Jared http://JaredRichardson.net On Jan 15, 2007, at 5:42 PM, Blake Watters wrote: > I think you'll have to override the default connection pooling > behavior. There is no distinction made on the read/write case, only > on the class of the model. The inheritance hierarchy is then > traversed upward toward ActiveRecord::Base, searching for a > connection keyed on the class. > > There is a class variable called @@defined_connections which is just > a hash indexed by class name. I imagine you'd need to add another > dimension to the hash, with :read and :write as keys pointing toward > connections and then massage the AR primitives (find, save, etc) to > grab the appropriate hash. > > You could probably do this as a plugin with severe patches into > ActiveRecord::Base, but it will be serious surgery and may be painful > to maintain... you might want to see if core would accept a patch > implementing the feature and poke them for hints on test cases they'd > want to see. > > With 1.2 imminently shipping, its probably a good time to be working > on such a feature as there will be a new release cycle opening up and > patches will start flowing again. > > Cheers, > Blake > > On Jan 15, 2007, at 5:29 PM, Jared Richardson wrote: > >> Hi all, >> >> I'm trying to research connection pooling in Rails. Specifically to a >> Mysql master/slave set up where (we hope) the reads hit the slave but >> writes hit the master. >> >> I wrote this exact bit in Java a few years ago but preliminary >> searches don't seem to show the same tech for Ruby yet. >> >> Any hints? TIA >> >> Jared >> http://JaredRichardson.net >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> >> >> > > > !DSPAM:57,45abfe1d17506810513243! > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From larry.karnowski at gmail.com Tue Jan 16 13:25:51 2007 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Tue, 16 Jan 2007 13:25:51 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> Message-ID: <2b27183e0701161025k1d6d5762s2c08ce05611b2060@mail.gmail.com> I'm in. On 1/16/07, Kevin Olbrich wrote: > For some reason it always rains on our brigade. > > _Kevin > > > On 1/16/07, Mark Bennett wrote: > > yes, i'd say a very high correlation. > > > > > > > > On 1/16/07, TJ Stankus wrote: > > > It'll be a game-time decision for me. > > > > > > And it must be a raleigh.rb meetup day because it's raining. :) > > > > > > -TJ > > > > > > On 1/16/07, Nathaniel Talbott < nathaniel at talbott.ws > wrote: > > > > As usual, anyone who's available is invited to join me at 5:30 > > > > tonight at Baja Burrito ( http://rubyurl.com/CGF) to grab dinner and > > > > some Ruby chatter before heading over to Red Hat for the meeting. > > > > > > > > While by no means required, a quick RSVP (just reply to this email > > > > with "In!" or somesuch) would be great. > > > > > > > > Looking forward to it, > > > > > > > > > > > > -- > > > > Nathaniel Talbott > > > > > > > > <:((>< > > > > > > > > _______________________________________________ > > > > raleigh-rb-members mailing list > > > > raleigh-rb-members at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > From dsnider at objectdomain.com Tue Jan 16 12:14:15 2007 From: dsnider at objectdomain.com (Dan Snider) Date: Tue, 16 Jan 2007 12:14:15 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <51A3DBD5-C89E-4D8A-ADA7-AC904CF8BF83@talbott.ws> Message-ID: <013601c73991$c1fd42b0$0660a8c0@Newton> sounds good > -----Original Message----- > As usual, anyone who's available is invited to join me at > 5:30 tonight at Baja Burrito (http://rubyurl.com/CGF) to grab > dinner and some Ruby chatter before heading over to Red Hat > for the meeting. > > While by no means required, a quick RSVP (just reply to this > email with "In!" or somesuch) would be great. > > Looking forward to it, > > > -- > Nathaniel Talbott From ryan.daigle at gmail.com Tue Jan 16 21:16:49 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Tue, 16 Jan 2007 21:16:49 -0500 Subject: [raleigh.rb] Raleigh.rb del.icio.us feed Message-ID: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> Geoff, Chris and I were talking on the way out about how useful the lightening talks are because they give you a quick pointer to topics that you can then further dig into depending on your level of interest - much like bookmarks... One thing led to another and we thought that setting up our own Raleigh.rb del.icio.us feed would be a great way to share those Ruby nuggets we all find in our daily browsing. So, here's the deal: * When you bookmark something to your own del.icio.us account that you think would be pertinent and useful to raleigh.rb - tag it with "for:raleigh.rb" * Everybody who wants to see what fellow raleigh.rb-ers are bookmarking can subscribe to this RSS feed: http:// feeds.feedburner.com/raleighrb_delicious and see those bookmarks This differs from subscribing to each individual member's feed because there's still a lot noise that we all have in our own bookmarks that doesn't relate to ruby. This takes a conscious effort by the bookmarker to denote that we raleigh.rb-ers would find it useful. So.. subscribe to http://feeds.feedburner.com/raleighrb_delicious and make sure to tag your ruby bookmarks with "for:raleigh.rb" where appropriate. -Ryan Daigle -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070116/f2f66fdb/attachment.html From tj at stank.us Tue Jan 16 21:20:34 2007 From: tj at stank.us (TJ Stankus) Date: Tue, 16 Jan 2007 21:20:34 -0500 Subject: [raleigh.rb] Raleigh.rb del.icio.us feed In-Reply-To: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> References: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> Message-ID: Great idea. On 1/16/07, Ryan Daigle wrote: > Geoff, Chris and I were talking on the way out about how useful the > lightening talks are because they give you a quick pointer to topics that > you can then further dig into depending on your level of interest - much > like bookmarks... One thing led to another and we thought that setting up > our own Raleigh.rb del.icio.us feed would be a great way to share those Ruby > nuggets we all find in our daily browsing. So, here's the deal: > > * When you bookmark something to your own del.icio.us account that you think > would be pertinent and useful to raleigh.rb - tag it with "for:raleigh.rb" > * Everybody who wants to see what fellow raleigh.rb-ers are bookmarking can > subscribe to this RSS feed: > http://feeds.feedburner.com/raleighrb_delicious and see > those bookmarks > > This differs from subscribing to each individual member's feed because > there's still a lot noise that we all have in our own bookmarks that doesn't > relate to ruby. This takes a conscious effort by the bookmarker to denote > that we raleigh.rb-ers would find it useful. > > So.. subscribe to > http://feeds.feedburner.com/raleighrb_delicious and make > sure to tag your ruby bookmarks with "for:raleigh.rb" where appropriate. > > -Ryan Daigle > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > From kevin.olbrich at gmail.com Tue Jan 16 22:35:36 2007 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Tue, 16 Jan 2007 22:35:36 -0500 Subject: [raleigh.rb] Raleigh.rb del.icio.us feed In-Reply-To: References: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> Message-ID: I see one minor problem with this scheme. The only way to look at the list is through the RSS feed. Now if some enterprising person were to write a cron script that automatically posted links marked with 'for:raleigh.rb' back to the ' raleigh.rb' user with the same tags (minus the 'for:raleigh.rb' of course), then there would always be a list of links for all to see. _Kevin On 1/16/07, TJ Stankus wrote: > > Great idea. > > On 1/16/07, Ryan Daigle wrote: > > Geoff, Chris and I were talking on the way out about how useful the > > lightening talks are because they give you a quick pointer to topics > that > > you can then further dig into depending on your level of interest - much > > like bookmarks... One thing led to another and we thought that setting > up > > our own Raleigh.rb del.icio.us feed would be a great way to share those > Ruby > > nuggets we all find in our daily browsing. So, here's the deal: > > > > * When you bookmark something to your own del.icio.us account that you > think > > would be pertinent and useful to raleigh.rb - tag it with "for: > raleigh.rb" > > * Everybody who wants to see what fellow raleigh.rb-ers are bookmarking > can > > subscribe to this RSS feed: > > http://feeds.feedburner.com/raleighrb_delicious and see > > those bookmarks > > > > This differs from subscribing to each individual member's feed because > > there's still a lot noise that we all have in our own bookmarks that > doesn't > > relate to ruby. This takes a conscious effort by the bookmarker to > denote > > that we raleigh.rb-ers would find it useful. > > > > So.. subscribe to > > http://feeds.feedburner.com/raleighrb_delicious and make > > sure to tag your ruby bookmarks with "for:raleigh.rb" where appropriate. > > > > -Ryan Daigle > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Kevin Olbrich kevin.olbrich at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070116/2f6c0344/attachment.html From ryan.daigle at gmail.com Wed Jan 17 08:18:49 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Wed, 17 Jan 2007 08:18:49 -0500 Subject: [raleigh.rb] Raleigh.rb del.icio.us feed In-Reply-To: References: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> Message-ID: http://feeddigest.com/ On Jan 16, 2007, at 10:35 PM, Kevin Olbrich wrote: I see one minor problem with this scheme. The only way to look at the list is through the RSS feed. Now if some enterprising person were to write a cron script that automatically posted links marked with 'for:raleigh.rb ' back to the 'raleigh.rb' user with the same tags (minus the 'for:raleigh.rb' of course), then there would always be a list of links for all to see. _Kevin On 1/16/07, TJ Stankus wrote: Great idea. On 1/16/07, Ryan Daigle wrote: > Geoff, Chris and I were talking on the way out about how useful the > lightening talks are because they give you a quick pointer to topics that > you can then further dig into depending on your level of interest - much > like bookmarks... One thing led to another and we thought that setting up > our own Raleigh.rb del.icio.us feed would be a great way to share those Ruby > nuggets we all find in our daily browsing. So, here's the deal: > > * When you bookmark something to your own del.icio.us account that you think > would be pertinent and useful to raleigh.rb - tag it with "for:raleigh.rb" > * Everybody who wants to see what fellow raleigh.rb-ers are bookmarking can > subscribe to this RSS feed: > http://feeds.feedburner.com/raleighrb_delicious and see > those bookmarks > > This differs from subscribing to each individual member's feed because > there's still a lot noise that we all have in our own bookmarks that doesn't > relate to ruby. This takes a conscious effort by the bookmarker to denote > that we raleigh.rb-ers would find it useful. > > So.. subscribe to > http://feeds.feedburner.com/raleighrb_delicious and make > sure to tag your ruby bookmarks with "for:raleigh.rb " where appropriate. > > -Ryan Daigle > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -- Kevin Olbrich kevin.olbrich at gmail.com _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070117/4caba12c/attachment-0001.html From blake at near-time.com Thu Jan 18 04:09:04 2007 From: blake at near-time.com (Blake Watters) Date: Thu, 18 Jan 2007 04:09:04 -0500 Subject: [raleigh.rb] Raleigh.rb del.icio.us feed In-Reply-To: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> References: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> Message-ID: <88191612-0398-438E-B9DB-C585507FC95E@near-time.com> Are we trying to stay strictly Ruby focused or are articles about process, programming philosophy, etc. pertinent to the rest of the list? How about javscript and other peripheral technologies we likely have in common. I'd find such resources useful and still distinct from my personal delicious, which contains stuff about cooking, fitness, science, etc. On Jan 16, 2007, at 9:16 PM, Ryan Daigle wrote: > Geoff, Chris and I were talking on the way out about how useful the > lightening talks are because they give you a quick pointer to > topics that you can then further dig into depending on your level > of interest - much like bookmarks... One thing led to another and > we thought that setting up our own Raleigh.rb del.icio.us feed > would be a great way to share those Ruby nuggets we all find in our > daily browsing. So, here's the deal: > > * When you bookmark something to your own del.icio.us account that > you think would be pertinent and useful to raleigh.rb - tag it with > "for:raleigh.rb" > * Everybody who wants to see what fellow raleigh.rb-ers are > bookmarking can subscribe to this RSS feed: http:// > feeds.feedburner.com/raleighrb_delicious and see those bookmarks > > This differs from subscribing to each individual member's feed > because there's still a lot noise that we all have in our own > bookmarks that doesn't relate to ruby. This takes a conscious > effort by the bookmarker to denote that we raleigh.rb-ers would > find it useful. > > So.. subscribe to http://feeds.feedburner.com/raleighrb_delicious > and make sure to tag your ruby bookmarks with "for:raleigh.rb" > where appropriate. > > -Ryan Daigle > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > !DSPAM:2,45ad8228182868192315349! !DSPAM:57,45af33fe15104748515726! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070118/a02d8bfd/attachment.html From rdaigle at alterthought.com Thu Jan 18 10:15:03 2007 From: rdaigle at alterthought.com (Ryan Daigle) Date: Thu, 18 Jan 2007 10:15:03 -0500 Subject: [raleigh.rb] Raleigh.rb del.icio.us feed In-Reply-To: <88191612-0398-438E-B9DB-C585507FC95E@near-time.com> References: <9D0E9DFB-68E3-4625-AE62-76AA0FF4243C@gmail.com> <88191612-0398-438E-B9DB-C585507FC95E@near-time.com> Message-ID: I would use your best judgement - I would hate to unsubscribe just because it got too chatty. However, I find process articles etc... interesting as well. On Jan 18, 2007, at 4:09 AM, Blake Watters wrote: Are we trying to stay strictly Ruby focused or are articles about process, programming philosophy, etc. pertinent to the rest of the list? How about javscript and other peripheral technologies we likely have in common. I'd find such resources useful and still distinct from my personal delicious, which contains stuff about cooking, fitness, science, etc. On Jan 16, 2007, at 9:16 PM, Ryan Daigle wrote: > Geoff, Chris and I were talking on the way out about how useful the > lightening talks are because they give you a quick pointer to > topics that you can then further dig into depending on your level > of interest - much like bookmarks... One thing led to another and > we thought that setting up our own Raleigh.rb del.icio.us feed > would be a great way to share those Ruby nuggets we all find in our > daily browsing. So, here's the deal: > > * When you bookmark something to your own del.icio.us account that > you think would be pertinent and useful to raleigh.rb - tag it with > "for:raleigh.rb" > * Everybody who wants to see what fellow raleigh.rb-ers are > bookmarking can subscribe to this RSS feed: http:// > feeds.feedburner.com/raleighrb_delicious and see those bookmarks > > This differs from subscribing to each individual member's feed > because there's still a lot noise that we all have in our own > bookmarks that doesn't relate to ruby. This takes a conscious > effort by the bookmarker to denote that we raleigh.rb-ers would > find it useful. > > So.. subscribe to http://fee ds.feedburner.com/raleighrb_delicious > and make sure to tag your ruby bookmarks with "for:raleigh.rb" > where appropriate. > > -Ryan Daigle > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > < BR> > !DSPAM:2,45ad8228182868192315349! !DSPAM:57,45af33fe15104748515726! _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070118/68a5f219/attachment.html From blake at near-time.com Fri Jan 19 04:27:17 2007 From: blake at near-time.com (Blake Watters) Date: Fri, 19 Jan 2007 04:27:17 -0500 Subject: [raleigh.rb] Near-Time is Hiring Message-ID: <301656F0-0D62-4560-B71A-90399A625F33@near-time.com> We are looking to hire a few full time developers at Near-Time to work on our Ruby on Rails powered collaboration platform. We've recently closed our series A funding and are looking to expand our development team with some dedicated local Rails hackers. The team is small, the hours are long, and we're having a blast. If there's anybody on the list looking for a great opportunity, please check us out and contact me off list (we're looking for full-time team members, not contractors!). The best way to check us out is to hit http://www.near-time.net/ and sign up for an account and play around. The News and Observer featured us in a recent story (http://www.newsobserver.com/126/story/ 531470.html). If you are interested or have any recommendations, contact me off at blake at near-time.com or call my cell @ 919.260.3783 Cheers, Blake Watters Chef Architect Near-Time, Inc. !DSPAM:57,45b089bc138737095817521! From chris at coderhythm.com Fri Jan 19 19:32:58 2007 From: chris at coderhythm.com (Chris O'Meara) Date: Fri, 19 Jan 2007 19:32:58 -0500 Subject: [raleigh.rb] Rails Edge Message-ID: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> Is anyone headed to Rails Edge next week? If so, it could be fun to get together one night for dinner. Chris O'Meara chris at coderhythm.com http://coderhythm.com From minter at lunenburg.org Fri Jan 19 19:41:40 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Fri, 19 Jan 2007 19:41:40 -0500 Subject: [raleigh.rb] Rails Edge In-Reply-To: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> References: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> Message-ID: On Jan 19, 2007, at 7:32 PM, Chris O'Meara wrote: > Is anyone headed to Rails Edge next week? If so, it could be fun to > get together one night for dinner. I'm not, but my friend Mark Cornick from Greenbelt, MD, will be. Tall guy (6'4" or so) with a beard. Say hi if you see him. --Wade From lists-jared at nc.rr.com Fri Jan 19 19:57:25 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Fri, 19 Jan 2007 19:57:25 -0500 Subject: [raleigh.rb] Rails Edge In-Reply-To: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> References: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> Message-ID: <08471874-1297-4087-A9A1-D2E205F10691@nc.rr.com> I'll be there. Jared http://JaredRichardson.net On Jan 19, 2007, at 7:32 PM, Chris O'Meara wrote: > Is anyone headed to Rails Edge next week? If so, it could be fun to > get together one night for dinner. > > Chris O'Meara > chris at coderhythm.com > http://coderhythm.com > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From jared.haworth at gmail.com Fri Jan 19 20:59:02 2007 From: jared.haworth at gmail.com (Jared Haworth) Date: Fri, 19 Jan 2007 20:59:02 -0500 Subject: [raleigh.rb] Rails Edge In-Reply-To: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> References: <5E76EFC9-53CC-4200-920D-1C325A24C872@coderhythm.com> Message-ID: <762DED94-EFDD-42B8-BADB-C9EDD4DCFF8F@gmail.com> Set & Service Resources will be sending a delegation, there will be 3 of us up there: Chris N., Erik H., and yours truly. On Jan 19, 2007, at 7:32 PM, Chris O'Meara wrote: > Is anyone headed to Rails Edge next week? If so, it could be fun to > get together one night for dinner. > > Chris O'Meara > chris at coderhythm.com > http://coderhythm.com > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From pelargir at gmail.com Sun Jan 21 22:52:07 2007 From: pelargir at gmail.com (Matthew) Date: Sun, 21 Jan 2007 22:52:07 -0500 Subject: [raleigh.rb] Ocadia theme ported to Mephisto Message-ID: Having recently begun experimenting with the Rails-based Mephisto blogging engine, I quickly discovered that there is a noticeable lack of good themes for the app. One of the blogs I'm converting runs on Becca Wei's excellent Ocadia theme for WordPress, so I decided to port it to Mephisto. I'm sharing it here in case there are any other Mephisto-savvy folks on the list who want to get their grubby paws on it. http://www.matthewbass.com/blog/2007/01/21/port-of-the-ocadia-theme-to-mephisto/ Enjoy, Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070121/c46e571d/attachment-0001.html From blake at near-time.com Mon Jan 22 02:06:14 2007 From: blake at near-time.com (Blake Watters) Date: Mon, 22 Jan 2007 02:06:14 -0500 Subject: [raleigh.rb] Automatic RHTML formatting? Message-ID: I'm in markup hell. Whatever tool the design side of my shop is using to author HTML formats the code in maddening and basically impenetrable ways and makes editing them by hand a true pain. Since I can't spend a half hour reformatting markup every time I open a template, I'm looking for something I can use to scrub the templates either as I need them or via a Subversion pre-commit hook. Obviously it needs to be able to ignore RHTML <% tags... Anybody come across anything like this before? !DSPAM:57,45b45d1b231162033546423! From philomousos at gmail.com Mon Jan 22 08:47:14 2007 From: philomousos at gmail.com (Hugh Cayless) Date: Mon, 22 Jan 2007 08:47:14 -0500 Subject: [raleigh.rb] Automatic RHTML formatting? In-Reply-To: References: Message-ID: Tidy (http://tidy.sourceforge.net/) would probably do the trick for you. I've done markup scrubbing with a combination of Why's HPricot (http://code.whytheluckystiff.net/hpricot/) and XSLT before too, but the goal there was eliminating all but certain specific elements and attributes, so it might be overkill. HPricot by itself has some cleanup tools too. HTH Hugh On Jan 22, 2007, at 2:06 AM, Blake Watters wrote: > I'm in markup hell. Whatever tool the design side of my shop is using > to author HTML formats the code in maddening and basically > impenetrable ways and makes editing them by hand a true pain. Since I > can't spend a half hour reformatting markup every time I open a > template, I'm looking for something I can use to scrub the templates > either as I need them or via a Subversion pre-commit hook. Obviously > it needs to be able to ignore RHTML <% tags... > > Anybody come across anything like this before? > > !DSPAM:57,45b45d1b231162033546423! > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From tj at stank.us Mon Jan 22 08:54:43 2007 From: tj at stank.us (TJ Stankus) Date: Mon, 22 Jan 2007 08:54:43 -0500 Subject: [raleigh.rb] Automatic RHTML formatting? In-Reply-To: References: Message-ID: > Tidy (http://tidy.sourceforge.net/) would probably do the trick for If you're using Textmate, there's a Tidy command in the HTML bundle. -TJ From nathaniel at talbott.ws Mon Jan 22 08:58:26 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 22 Jan 2007 08:58:26 -0500 Subject: [raleigh.rb] Ocadia theme ported to Mephisto In-Reply-To: References: Message-ID: On Jan 21, 2007, at 22:52 , Matthew wrote: > Having recently begun experimenting with the Rails-based Mephisto > blogging engine, I quickly discovered that there is a noticeable > lack of good themes for the app. One of the blogs I'm converting > runs on Becca Wei's excellent Ocadia theme for WordPress, so I > decided to port it to Mephisto. I'm sharing it here in case there > are any other Mephisto-savvy folks on the list who want to get > their grubby paws on it. > > http://www.matthewbass.com/blog/2007/01/21/port-of-the-ocadia-theme- > to-mephisto/ Looks like its made it in to the Mephisto Theme Gallery: http://themes.benlog.org/ Nice job, Matt! -- Nathaniel Talbott <:((>< From lists-jared at nc.rr.com Mon Jan 22 09:08:18 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 22 Jan 2007 09:08:18 -0500 Subject: [raleigh.rb] Automatic RHTML formatting? In-Reply-To: References: Message-ID: <1DA2554D-2E92-4C5F-93F0-6E68EBFE9878@nc.rr.com> I haven't tried it with RHTML but NVU (a free, cross platform HTML WYSIWYG editor) will automatically format the HTML of anything it touches. I'll try a sample if you like. Jared http://JaredRichardson.net If you want me to run some of your code through it, send it over On Jan 22, 2007, at 2:06 AM, Blake Watters wrote: > I'm looking for something I can use to scrub the templates > either as I need them -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070122/f7b15e54/attachment.html From lists-jared at nc.rr.com Tue Jan 23 11:23:40 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Tue, 23 Jan 2007 11:23:40 -0500 Subject: [raleigh.rb] Hiring for Rails... In-Reply-To: <1DA2554D-2E92-4C5F-93F0-6E68EBFE9878@nc.rr.com> References: <1DA2554D-2E92-4C5F-93F0-6E68EBFE9878@nc.rr.com> Message-ID: A client of mine (http://Chacha.com) is looking for full-time Rails programmers and asked me to drop a note to our local list. ChaCha is a search engine startup with a twist. Along with standard algorithmic search they offer searching with a person (aka: Guide) who has knowledge on the topic of your search. Jeff Bezos recently invested in them and they are rapidly expanding. The company is founded by Scott Jones, a serial entrepeneur with a proven track record. They are using Ruby on Rails in several applications in a high volume enterprise production environment. They are interested in people who are passionate about Rails and looking for an exciting challenge. They are looking for people who can work remotely with the option of moving on site to their headquarters in Indianapolis. If you're interested in full time employment with stock options drop me a resume as well as a list or prior projects and I'll forward it on the relevant parties. btw, even though this mail is RoR targeted, they also need Java and C+ + guys, and sys-admins Jared http://JaredRichardson.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070123/f55be2d8/attachment.html From tj at stank.us Sat Jan 27 15:46:23 2007 From: tj at stank.us (TJ Stankus) Date: Sat, 27 Jan 2007 15:46:23 -0500 Subject: [raleigh.rb] interesting opportunity Message-ID: http://jobs.dzone.com/id/2 From lists-jared at nc.rr.com Mon Jan 29 10:28:21 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 29 Jan 2007 10:28:21 -0500 Subject: [raleigh.rb] Ruby db connection pooling? Found It at RailsEdge In-Reply-To: <0333F742-262E-40BC-9FAC-D941D6E8CFFC@near-time.com> References: <825961.31358.qm@web54603.mail.yahoo.com> <2A1708D4-7704-4337-ADCE-DEAC6414CAF9@near-time.com> <6FBD13FB-3FDC-4DB2-9827-800C7AF8A21C@nc.rr.com> <0333F742-262E-40BC-9FAC-D941D6E8CFFC@near-time.com> Message-ID: <54D771BC-55F5-4535-96DE-7EEA73D79DCA@nc.rr.com> I found the answer to this question at Rails Edge. (Great conference by the way! I'll blog as soon as I catch up on all the missed work)... I asked JDD about this after one of his talks and he found the patch for me (I love the Rails community)... it's already in ActiveRecord, and has been for about six months... but it's not in the version of AR on my box. I'm betting it's in 1.2 though. http://wrath.rubyonrails.org/pipermail/rails-core/2006-July/002019.html I ~think~ this will apply to any database... it should let you have a single master db that gets all the writes, and a group of slave (or replicated dbs) that get all the reads. Great for having tools that run big db intensive reports that you don't want slowing down your main db box. If/when my client has me integrate this and start using it, I'll do a write up. I don't think they're ready for Rails 1.2 so it'd be a back port. Jared http://JaredRichardson.net On Jan 15, 2007, at 5:42 PM, Blake Watters wrote: > I think you'll have to override the default connection pooling > behavior. There is no distinction made on the read/write case, only > on the class of the model. The inheritance hierarchy is then > traversed upward toward ActiveRecord::Base, searching for a > connection keyed on the class. > > There is a class variable called @@defined_connections which is just > a hash indexed by class name. I imagine you'd need to add another > dimension to the hash, with :read and :write as keys pointing toward > connections and then massage the AR primitives (find, save, etc) to > grab the appropriate hash. > > You could probably do this as a plugin with severe patches into > ActiveRecord::Base, but it will be serious surgery and may be painful > to maintain... you might want to see if core would accept a patch > implementing the feature and poke them for hints on test cases they'd > want to see. > > With 1.2 imminently shipping, its probably a good time to be working > on such a feature as there will be a new release cycle opening up and > patches will start flowing again. > > Cheers, > Blake > > On Jan 15, 2007, at 5:29 PM, Jared Richardson wrote: > >> Hi all, >> >> I'm trying to research connection pooling in Rails. Specifically to a >> Mysql master/slave set up where (we hope) the reads hit the slave but >> writes hit the master. >> >> I wrote this exact bit in Java a few years ago but preliminary >> searches don't seem to show the same tech for Ruby yet. >> >> Any hints? TIA >> >> Jared >> http://JaredRichardson.net >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> >> >> > > > !DSPAM:57,45abfe1d17506810513243! > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070129/e757d8e2/attachment-0001.html From geoff at geoffdavis.net Mon Jan 29 14:04:27 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 29 Jan 2007 14:04:27 -0500 Subject: [raleigh.rb] Hangin' with the cool kids Message-ID: Raleigh.rb's very own Ryan Daigle was a winner in Rails Hackfest 2007 http://workingwithrails.com/contests/hackfest2007/winners Nathaniel Talbott is the 23rd most popular Rails person http://workingwithrails.com/browse/popular/people Other popular local folks: Justin Gehtland (#34), Matthew Bass (#61), Stuart Halloway (#62), Adam Williams (#69) I may be missing a few names since I don't know everybody. From nathaniel at talbott.ws Mon Jan 29 14:34:07 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 29 Jan 2007 14:34:07 -0500 Subject: [raleigh.rb] Hangin' with the cool kids In-Reply-To: References: Message-ID: <30A594E2-DC58-4DB0-A7EC-91D1B4DF27C5@talbott.ws> On Jan 29, 2007, at 14:04 , Geoff Davis wrote: > Raleigh.rb's very own Ryan Daigle was a winner in Rails Hackfest 2007 > > http://workingwithrails.com/contests/hackfest2007/winners Mega-congrats to Ryan! Great to see someone from Raleigh.rb in there! > Nathaniel Talbott is the 23rd most popular Rails person > > http://workingwithrails.com/browse/popular/people Of course, if you want to help with my popularity, feel free to recommend me... ;-) -- Nathaniel Talbott <:((>< From adam at thewilliams.ws Mon Jan 29 15:57:15 2007 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 29 Jan 2007 15:57:15 -0500 Subject: [raleigh.rb] Hangin' with the cool kids In-Reply-To: References: Message-ID: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> On Jan 29, 2007, at 2:04 PM, Geoff Davis wrote: > Other popular local folks: Justin Gehtland (#34), Matthew Bass (#61), > Stuart Halloway (#62), Adam Williams (#69) Thanks, Geoff. Man, I used to be much higher, somewhere in the forties - weren't you too, Mr. Bass? Guess that's what happens when I don't keep up the campaign ;) adam williams (aiwilliams) From pelargir at gmail.com Mon Jan 29 16:03:57 2007 From: pelargir at gmail.com (Matthew) Date: Mon, 29 Jan 2007 16:03:57 -0500 Subject: [raleigh.rb] Hangin' with the cool kids In-Reply-To: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> References: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> Message-ID: Uh, yeah, something like that. Higher, definitely. Man, talk about dilution. =) Matthew On 1/29/07, Adam Williams wrote: > > On Jan 29, 2007, at 2:04 PM, Geoff Davis wrote: > > > Other popular local folks: Justin Gehtland (#34), Matthew Bass (#61), > > Stuart Halloway (#62), Adam Williams (#69) > > Thanks, Geoff. Man, I used to be much higher, somewhere in the > forties - weren't you too, Mr. Bass? Guess that's what happens when I > don't keep up the campaign ;) > > adam williams (aiwilliams) > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070129/f16a45ed/attachment.html From geoff at geoffdavis.net Mon Jan 29 16:04:36 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 29 Jan 2007 16:04:36 -0500 Subject: [raleigh.rb] Hangin' with the cool kids In-Reply-To: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> References: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> Message-ID: I just recommended you! On Jan 29, 2007, at 3:57 PM, Adam Williams wrote: > On Jan 29, 2007, at 2:04 PM, Geoff Davis wrote: > >> Other popular local folks: Justin Gehtland (#34), Matthew Bass (#61), >> Stuart Halloway (#62), Adam Williams (#69) > > Thanks, Geoff. Man, I used to be much higher, somewhere in the > forties - weren't you too, Mr. Bass? Guess that's what happens when I > don't keep up the campaign ;) > > adam williams (aiwilliams) > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From lists-jared at nc.rr.com Mon Jan 29 16:12:07 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 29 Jan 2007 16:12:07 -0500 Subject: [raleigh.rb] Hangin' with the cool kids In-Reply-To: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> References: <94899BE2-84F0-4D5D-AB00-E6EA3346E922@thewilliams.ws> Message-ID: On Jan 29, 2007, at 3:57 PM, Adam Williams wrote: > On Jan 29, 2007, at 2:04 PM, Geoff Davis wrote: > >> Other popular local folks: Justin Gehtland (#34), Matthew Bass (#61), >> Stuart Halloway (#62), Adam Williams (#69) > > Thanks, Geoff. Man, I used to be much higher, somewhere in the > forties - weren't you too, Mr. Bass? Guess that's what happens when I > don't keep up the campaign ;) > > adam williams (aiwilliams) Hey, at least you guys are ranked! I guess that what happens when you don't campaign at all! (hint hint) http://workingwithrails.com/person/5757-jared-richardson ;) Jared http://JaredRichardson.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070129/0251dc7d/attachment.html From pelargir at gmail.com Mon Jan 29 17:36:59 2007 From: pelargir at gmail.com (Matthew) Date: Mon, 29 Jan 2007 17:36:59 -0500 Subject: [raleigh.rb] Eliminate the cruft in your Rails test summaries Message-ID: M@ McCray of ZooDotCom and Comatose fame posted a nice snippet of code in the Terralien Campfire the other day. If you've ever been annoyed by the overly-verbose output of the command-line Rails testing tasks, you're not alone. Lots of us are. Fortunately, M@ whipped up a hack to help us: http://www.matthewbass.com/blog/2007/01/29/rails-test-results-without-the-cruft/ Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070129/ce02f6b0/attachment.html From pelargir at gmail.com Tue Jan 30 21:16:04 2007 From: pelargir at gmail.com (Matthew) Date: Tue, 30 Jan 2007 21:16:04 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live Message-ID: As most of you know, Teascript is a Rails-based web product I've been working on for several months now. I gave a 15-minute demonstration of the app during a Raleigh.rb meetup late last year. I'm excited to announce that the app is finally live! I released it late yesterday night. You can check it out at: http://teascript.com When I started building the app, Rails 1.1.6 was the latest and greatest. I moved to Edge in December and when 1.2 was released I froze to that, updating my tags as necessary to avoid the annoying deprecation warnings. ( 1.2 is a lot nicer to work with.) The entire app reports in at a smidge over 2500 lines of code, including tests. Teascript makes fairly heavy use of AJAX, especially on the main transcript page. Courses can be sorted by dragging and dropping, for example. It was quite pleasant being the only developer on the project. It allowed me to maintain an insane amount of consistency across the codebase and keep duplication to a minimum, both things that, while certainly doable, are much more challenging in a team environment. A big motivation for me in building this app was 37 Signals' self-published PDF book "Getting Real:" http://gettingreal.37signals.com Nathaniel's Homesteading keynote at last year's RailsConf was also a big encouragement as I took this first step towards my goal of producing sustainable, self-maintaining web-based services that generate passive income. My talk proposal for this year's RailsConf is focused around the challenges I ran into while developing this application. I'll most likely be giving the talk at a future Raleigh.rb meetup so stay tuned for that. Matthew -- Adeptware adeptware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070130/fe433921/attachment-0001.html From lists-jared at nc.rr.com Tue Jan 30 21:31:17 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Tue, 30 Jan 2007 21:31:17 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live In-Reply-To: References: Message-ID: <87C8A353-9EBC-4CF1-9F54-7324D431E366@nc.rr.com> Congrats! On Jan 30, 2007, at 9:16 PM, Matthew wrote: > As most of you know, Teascript is a Rails-based web product I've > been working on for several months now. I gave a 15-minute > demonstration of the app during a Raleigh.rb meetup late last year. > I'm excited to announce that the app is finally live! I released it > late yesterday night. You can check it out at: > > http://teascript.com > > When I started building the app, Rails 1.1.6 was the latest and > greatest. I moved to Edge in December and when 1.2 was released I > froze to that, updating my tags as necessary to avoid the annoying > deprecation warnings. ( 1.2 is a lot nicer to work with.) The > entire app reports in at a smidge over 2500 lines of code, > including tests. > > Teascript makes fairly heavy use of AJAX, especially on the main > transcript page. Courses can be sorted by dragging and dropping, > for example. It was quite pleasant being the only developer on the > project. It allowed me to maintain an insane amount of consistency > across the codebase and keep duplication to a minimum, both things > that, while certainly doable, are much more challenging in a team > environment. > > A big motivation for me in building this app was 37 Signals' self- > published PDF book "Getting Real:" > > http://gettingreal.37signals.com > > Nathaniel's Homesteading keynote at last year's RailsConf was also > a big encouragement as I took this first step towards my goal of > producing sustainable, self-maintaining web-based services that > generate passive income. > > My talk proposal for this year's RailsConf is focused around the > challenges I ran into while developing this application. I'll most > likely be giving the talk at a future Raleigh.rb meetup so stay > tuned for that. > > Matthew > > -- > Adeptware > adeptware.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070130/763e46fd/attachment.html From lon at speedymac.com Tue Jan 30 22:36:28 2007 From: lon at speedymac.com (Lon Baker) Date: Tue, 30 Jan 2007 22:36:28 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live In-Reply-To: References: Message-ID: Congratulations! It look really good. -- Lon Baker http://speedymac.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070130/7c117bf8/attachment.html From jjeffers at nc.rr.com Wed Jan 31 07:03:39 2007 From: jjeffers at nc.rr.com (James Jeffers) Date: Wed, 31 Jan 2007 07:03:39 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live In-Reply-To: References: Message-ID: <1170245019.10506.4.camel@localhost> On Tue, 2007-01-30 at 21:16 -0500, Matthew wrote: > As most of you know, Teascript is a Rails-based web product I've been > working on for several months now. I gave a 15-minute demonstration of > the app during a Raleigh.rb meetup late last year. I'm excited to > announce that the app is finally live! Congratulations! I look forward to your presentation about this experience! From rdaigle at alterthought.com Wed Jan 31 11:18:41 2007 From: rdaigle at alterthought.com (Ryan Daigle) Date: Wed, 31 Jan 2007 11:18:41 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live In-Reply-To: References: Message-ID: <42D48F4C-CEE7-47B0-8229-9F3BBD207F08@alterthought.com> Well done, Matt. I'd love to see a demo account or screencast...? (I know most of us already had the benefit of seeing your demo at the meetup - but there may be others who haven't) On Jan 30, 2007, at 9:16 PM, Matthew wrote: As most of you know, Teascript is a Rails-based web product I've been working on for several months now. I gave a 15-minute demonstration of the app during a Raleigh.rb meetup late last year. I'm excited to announce that the app is finally live! I released it late yesterday night. You can check it out at: http://teascript.com When I started building the app, Rails 1.1.6 was the latest and greatest. I moved to Edge in December and when 1.2 was released I froze to that, updating my tags as necessary to avoid the annoying deprecation warnings. ( 1.2 is a lot nicer to work with.) The entire app reports in at a smidge over 2500 lines of code, including tests. Teascript makes fairly heavy use of AJAX, especially on the main transcript page. Courses can be sorted by dragging and dropping, for example. It was quite pleasant being the only developer on the project. It allowed me to maintain an insane amount of consistency across the codebase and keep duplication to a minimum, both things that, while certainly doable, are much more challenging in a team environment. A big motivation for me in building this app was 37 Signals' self- published PDF book "Getting Real:" http://gettingreal.37signals.com Nathaniel's Homesteading keynote at last year's RailsConf was also a big encouragement as I took this first step towards my goal of producing sustainable, self-maintaining web-based services that generate passive income. My talk proposal for this year's RailsConf is focused around the challenges I ran into while developing this application. I'll most likely be giving the talk at a future Raleigh.rb meetup so stay tuned for that. Matthew -- Adeptware adeptware.com _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070131/0a64264a/attachment.html From pelargir at gmail.com Wed Jan 31 11:29:51 2007 From: pelargir at gmail.com (Matthew) Date: Wed, 31 Jan 2007 11:29:51 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live In-Reply-To: <42D48F4C-CEE7-47B0-8229-9F3BBD207F08@alterthought.com> References: <42D48F4C-CEE7-47B0-8229-9F3BBD207F08@alterthought.com> Message-ID: The app does offer a free account that can be used to log in and experiment. You'll see some Amazon ads, but most of the functionality is the same. You can sign-up here: https://teascript.com/signup Matthew On 1/31/07, Ryan Daigle wrote: > > Well done, Matt. I'd love to see a demo account or screencast...? (I > know most of us already had the benefit of seeing your demo at the meetup - > but there may be others who haven't) > On Jan 30, 2007, at 9:16 PM, Matthew wrote: > > As most of you know, Teascript is a Rails-based web product I've been > working on for several months now. I gave a 15-minute demonstration of the > app during a Raleigh.rb meetup late last year. I'm excited to announce > that the app is finally live! I released it late yesterday night. You can > check it out at: > > http://teascript.com > > When I started building the app, Rails 1.1.6 was the latest and greatest. > I moved to Edge in December and when 1.2 was released I froze to that, > updating my tags as necessary to avoid the annoying deprecation warnings. ( > 1.2 is a lot nicer to work with.) The entire app reports in at a smidge > over 2500 lines of code, including tests. > > Teascript makes fairly heavy use of AJAX, especially on the main > transcript page. Courses can be sorted by dragging and dropping, for > example. It was quite pleasant being the only developer on the project. It > allowed me to maintain an insane amount of consistency across the codebase > and keep duplication to a minimum, both things that, while certainly doable, > are much more challenging in a team environment. > > A big motivation for me in building this app was 37 Signals' > self-published PDF book "Getting Real:" > > http://gettingreal.37signals.com > > Nathaniel's Homesteading keynote at last year's RailsConf was also a big > encouragement as I took this first step towards my goal of producing > sustainable, self-maintaining web-based services that generate passive > income. > > My talk proposal for this year's RailsConf is focused around the > challenges I ran into while developing this application. I'll most likely be > giving the talk at a future Raleigh.rb meetup so stay tuned for that. > > Matthew > > -- > Adeptware > adeptware.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070131/0bf97762/attachment.html From tj at stank.us Wed Jan 31 11:30:27 2007 From: tj at stank.us (TJ Stankus) Date: Wed, 31 Jan 2007 11:30:27 -0500 Subject: [raleigh.rb] My first Rails-based web product just went live In-Reply-To: <42D48F4C-CEE7-47B0-8229-9F3BBD207F08@alterthought.com> References: <42D48F4C-CEE7-47B0-8229-9F3BBD207F08@alterthought.com> Message-ID: I missed the teascript demo, so I'd love to see your RailsConf talk about it. Congrats too - looks great! -TJ On 1/31/07, Ryan Daigle wrote: > Well done, Matt. I'd love to see a demo account or screencast...? (I know > most of us already had the benefit of seeing your demo at the meetup - but > there may be others who haven't) > > > On Jan 30, 2007, at 9:16 PM, Matthew wrote: > As most of you know, Teascript is a Rails-based web product I've been > working on for several months now. I gave a 15-minute demonstration of the > app during a Raleigh.rb meetup late last year. I'm excited to announce that > the app is finally live! I released it late yesterday night. You can check > it out at: > > http://teascript.com > > When I started building the app, Rails 1.1.6 was the latest and greatest. I > moved to Edge in December and when 1.2 was released I froze to that, > updating my tags as necessary to avoid the annoying deprecation warnings. ( > 1.2 is a lot nicer to work with.) The entire app reports in at a smidge over > 2500 lines of code, including tests. > > Teascript makes fairly heavy use of AJAX, especially on the main transcript > page. Courses can be sorted by dragging and dropping, for example. It was > quite pleasant being the only developer on the project. It allowed me to > maintain an insane amount of consistency across the codebase and keep > duplication to a minimum, both things that, while certainly doable, are much > more challenging in a team environment. > > A big motivation for me in building this app was 37 Signals' self-published > PDF book "Getting Real:" > > http://gettingreal.37signals.com > > Nathaniel's Homesteading keynote at last year's RailsConf was also a big > encouragement as I took this first step towards my goal of producing > sustainable, self-maintaining web-based services that generate passive > income. > > My talk proposal for this year's RailsConf is focused around the challenges > I ran into while developing this application. I'll most likely be giving the > talk at a future Raleigh.rb meetup so stay tuned for that. > > Matthew > > -- > Adeptware > adeptware.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > >