From masonm at scimedsolutions.com Tue Jul 3 08:38:48 2007 From: masonm at scimedsolutions.com (Mason Matthews) Date: Tue, 3 Jul 2007 08:38:48 -0400 Subject: [raleigh.rb] Ruby on Rails Software Developer Position Message-ID: <32F567756BC6D24F994CBCCA92EB8284592EAA@RAVINE.netfriends.com> Hey folks - I'm new to the list, but I work for a Rails shop in Durham that writes custom apps as well as commercial products. We've recently found ourselves with more work than we can complete on our own, and Nathaniel said that you wouldn't mind if I sent our job posting to the list. So, here you are: SciMed Solutions is a locally owned software company based in downtown Durham. Since 1997, we have been developing software solutions for the medical, scientific, and educational communities, and our business continues to grow in all of those areas. SciMed is an organization founded on entrepreneurship where new ideas are welcome. Job Description We are looking for an intelligent, ambitious individual to add to our software development team. Work activities will vary by project, but may include web application coding, database design, and product development. Employees should be able to take tasks/requests from start to finish without frequent supervision. Employees who are driven to improve their skills will be supported and encouraged to do so. Job Qualifications The ideal candidate will be a graduate from a 4-year college or university who feels that he or she can become a uniquely valuable team member. He or she will be a talented coder with the ability to learn quickly and work across multiple technologies and projects. Candidates should possess desire to work in a team environment and should embody friendliness, professionalism, patience, energy, and confidence. Candidates should also possess superior communication skills. A combination of intelligence, creative thought, ambition, and textbook knowledge will form the best candidate. SciMed Solutions utilizes Ruby on Rails (RoR) as our web application framework. While experience with RoR is not required, technical experience should include some web interface coding using technologies such as HTML, XML, XSLT, JavaScript, AJAX, PHP, JSP, Python, Perl, or ASP. Talent in user interface design is also a plus. The best applicants will bring additional disciplines to the team beyond computer science and software engineering. If you're interested in applying for this position, please contact me (Mason Matthews) at nfihr at yahoo.com. Thanks for your time! Mason F. Matthews SciMed Solutions 327 West Main Street Durham, NC 27701 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070703/0438208f/attachment.html From ben.r.clarke at gmail.com Tue Jul 3 09:51:00 2007 From: ben.r.clarke at gmail.com (Ben Clarke) Date: Tue, 3 Jul 2007 09:51:00 -0400 Subject: [raleigh.rb] Ruby on Rails Software Developer Position In-Reply-To: <32F567756BC6D24F994CBCCA92EB8284592EAA@RAVINE.netfriends.com> References: <32F567756BC6D24F994CBCCA92EB8284592EAA@RAVINE.netfriends.com> Message-ID: <993bce640707030651q34c97a69kd1e04868cabafc0e@mail.gmail.com> Hi Mason, I've attached a fairly recent resume. It has not been updated to include my exploratory work in rails and ruby or my current project. I wanted to send you something asap as I'm quite interested in a ruby on rails position. Regards, Ben Clarke On 7/3/07, Mason Matthews wrote: > > > > Hey folks - > > I'm new to the list, but I work for a Rails shop in Durham that writes > custom apps as well as commercial products. We've recently found ourselves > with more work than we can complete on our own, and Nathaniel said that you > wouldn't mind if I sent our job posting to the list. So, here you are: > > SciMed Solutions is a locally owned software company based in downtown > Durham. Since 1997, we have been developing software solutions for the > medical, scientific, and educational communities, and our business continues > to grow in all of those areas. SciMed is an organization founded on > entrepreneurship where new ideas are welcome. > > Job Description > We are looking for an intelligent, ambitious individual to add to our > software development team. Work activities will vary by project, but may > include web application coding, database design, and product development. > Employees should be able to take tasks/requests from start to finish without > frequent supervision. Employees who are driven to improve their skills will > be supported and encouraged to do so. > > Job Qualifications > The ideal candidate will be a graduate from a 4-year college or university > who feels that he or she can become a uniquely valuable team member. He or > she will be a talented coder with the ability to learn quickly and work > across multiple technologies and projects. Candidates should possess desire > to work in a team environment and should embody friendliness, > professionalism, patience, energy, and confidence. Candidates should also > possess superior communication skills. A combination of intelligence, > creative thought, ambition, and textbook knowledge will form the best > candidate. > > SciMed Solutions utilizes Ruby on Rails (RoR) as our web application > framework. While experience with RoR is not required, technical experience > should include some web interface coding using technologies such as HTML, > XML, XSLT, JavaScript, AJAX, PHP, JSP, Python, Perl, or ASP. Talent in user > interface design is also a plus. The best applicants will bring additional > disciplines to the team beyond computer science and software engineering. > If you're interested in applying for this position, please contact me (Mason > Matthews) at nfihr at yahoo.com. > > Thanks for your time! > > Mason F. Matthews > SciMed Solutions > 327 West Main Street > Durham, NC 27701 > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Regards, Ben Clarke -------------- next part -------------- A non-text attachment was scrubbed... Name: BenClarkeResume.doc Type: application/msword Size: 48640 bytes Desc: not available Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070703/870339f3/attachment-0001.doc From lists-jared at nc.rr.com Tue Jul 3 09:56:13 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Tue, 3 Jul 2007 09:56:13 -0400 Subject: [raleigh.rb] Ruby on Rails Software Developer Position In-Reply-To: <993bce640707030651q34c97a69kd1e04868cabafc0e@mail.gmail.com> References: <32F567756BC6D24F994CBCCA92EB8284592EAA@RAVINE.netfriends.com> <993bce640707030651q34c97a69kd1e04868cabafc0e@mail.gmail.com> Message-ID: We should really have a local jobs board to match up Ruby (and Rails) people with jobs and job seekers (full-time and contract/consulting types). Is there an existing localized resource for this? Jared http://AgileArtisans.com On Jul 3, 2007, at 9:51 AM |Jul/3, Ben Clarke wrote: > Hi Mason, > > I've attached a fairly recent resume. It has not been updated to > include my exploratory work in rails and ruby or my current project. > > I wanted to send you something asap as I'm quite interested in a ruby > on rails position. > > Regards, > Ben Clarke > > On 7/3/07, Mason Matthews wrote: >> >> >> >> Hey folks - >> >> I'm new to the list, but I work for a Rails shop in Durham that >> writes >> custom apps as well as commercial products. We've recently found >> ourselves >> with more work than we can complete on our own, and Nathaniel said >> that you >> wouldn't mind if I sent our job posting to the list. So, here you >> are: >> >> SciMed Solutions is a locally owned software company based in >> downtown >> Durham. Since 1997, we have been developing software solutions for >> the >> medical, scientific, and educational communities, and our business >> continues >> to grow in all of those areas. SciMed is an organization founded on >> entrepreneurship where new ideas are welcome. >> >> Job Description >> We are looking for an intelligent, ambitious individual to add to our >> software development team. Work activities will vary by project, >> but may >> include web application coding, database design, and product >> development. >> Employees should be able to take tasks/requests from start to >> finish without >> frequent supervision. Employees who are driven to improve their >> skills will >> be supported and encouraged to do so. >> >> Job Qualifications >> The ideal candidate will be a graduate from a 4-year college or >> university >> who feels that he or she can become a uniquely valuable team >> member. He or >> she will be a talented coder with the ability to learn quickly and >> work >> across multiple technologies and projects. Candidates should >> possess desire >> to work in a team environment and should embody friendliness, >> professionalism, patience, energy, and confidence. Candidates >> should also >> possess superior communication skills. A combination of intelligence, >> creative thought, ambition, and textbook knowledge will form the best >> candidate. >> >> SciMed Solutions utilizes Ruby on Rails (RoR) as our web application >> framework. While experience with RoR is not required, technical >> experience >> should include some web interface coding using technologies such >> as HTML, >> XML, XSLT, JavaScript, AJAX, PHP, JSP, Python, Perl, or ASP. >> Talent in user >> interface design is also a plus. The best applicants will bring >> additional >> disciplines to the team beyond computer science and software >> engineering. >> If you're interested in applying for this position, please contact >> me (Mason >> Matthews) at nfihr at yahoo.com. >> >> Thanks for your time! >> >> Mason F. Matthews >> SciMed Solutions >> 327 West Main Street >> Durham, NC 27701 >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > -- > Regards, > Ben Clarke > > _______________________________________________ > 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 Tue Jul 3 10:01:00 2007 From: jared.haworth at gmail.com (Jared Haworth) Date: Tue, 3 Jul 2007 10:01:00 -0400 Subject: [raleigh.rb] Ruby on Rails Software Developer Position In-Reply-To: References: <32F567756BC6D24F994CBCCA92EB8284592EAA@RAVINE.netfriends.com> <993bce640707030651q34c97a69kd1e04868cabafc0e@mail.gmail.com> Message-ID: <5265B928-AA7F-4FF4-BADB-C065B6C91074@gmail.com> Ruby Rockstars is a worldwide job board that does a great job breaking the jobs out by type (contract, salary, hourly/freelance). It would be great to see something more locally-based, as long as there's supply to match the demand. - Jared Haworth On Jul 3, 2007, at 9:56 AM, Jared Richardson wrote: > We should really have a local jobs board to match up Ruby (and Rails) > people with jobs and job seekers (full-time and contract/consulting > types). > > Is there an existing localized resource for this? > > Jared > http://AgileArtisans.com > > > On Jul 3, 2007, at 9:51 AM |Jul/3, Ben Clarke wrote: > >> Hi Mason, >> >> I've attached a fairly recent resume. It has not been updated to >> include my exploratory work in rails and ruby or my current project. >> >> I wanted to send you something asap as I'm quite interested in a ruby >> on rails position. >> >> Regards, >> Ben Clarke >> >> On 7/3/07, Mason Matthews wrote: >>> >>> >>> >>> Hey folks - >>> >>> I'm new to the list, but I work for a Rails shop in Durham that >>> writes >>> custom apps as well as commercial products. We've recently found >>> ourselves >>> with more work than we can complete on our own, and Nathaniel said >>> that you >>> wouldn't mind if I sent our job posting to the list. So, here you >>> are: >>> >>> SciMed Solutions is a locally owned software company based in >>> downtown >>> Durham. Since 1997, we have been developing software solutions for >>> the >>> medical, scientific, and educational communities, and our business >>> continues >>> to grow in all of those areas. SciMed is an organization founded on >>> entrepreneurship where new ideas are welcome. >>> >>> Job Description >>> We are looking for an intelligent, ambitious individual to add to >>> our >>> software development team. Work activities will vary by project, >>> but may >>> include web application coding, database design, and product >>> development. >>> Employees should be able to take tasks/requests from start to >>> finish without >>> frequent supervision. Employees who are driven to improve their >>> skills will >>> be supported and encouraged to do so. >>> >>> Job Qualifications >>> The ideal candidate will be a graduate from a 4-year college or >>> university >>> who feels that he or she can become a uniquely valuable team >>> member. He or >>> she will be a talented coder with the ability to learn quickly and >>> work >>> across multiple technologies and projects. Candidates should >>> possess desire >>> to work in a team environment and should embody friendliness, >>> professionalism, patience, energy, and confidence. Candidates >>> should also >>> possess superior communication skills. A combination of >>> intelligence, >>> creative thought, ambition, and textbook knowledge will form the >>> best >>> candidate. >>> >>> SciMed Solutions utilizes Ruby on Rails (RoR) as our web application >>> framework. While experience with RoR is not required, technical >>> experience >>> should include some web interface coding using technologies such >>> as HTML, >>> XML, XSLT, JavaScript, AJAX, PHP, JSP, Python, Perl, or ASP. >>> Talent in user >>> interface design is also a plus. The best applicants will bring >>> additional >>> disciplines to the team beyond computer science and software >>> engineering. >>> If you're interested in applying for this position, please contact >>> me (Mason >>> Matthews) at nfihr at yahoo.com. >>> >>> Thanks for your time! >>> >>> Mason F. Matthews >>> SciMed Solutions >>> 327 West Main Street >>> Durham, NC 27701 >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> >> -- >> Regards, >> Ben Clarke >> >> _______________________________________________ >> 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2429 bytes Desc: not available Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070703/a6e7ce1d/attachment.bin From mark.bennett.mail at gmail.com Tue Jul 3 10:07:03 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Tue, 3 Jul 2007 10:07:03 -0400 Subject: [raleigh.rb] Ruby on Rails Software Developer Position In-Reply-To: <5265B928-AA7F-4FF4-BADB-C065B6C91074@gmail.com> References: <32F567756BC6D24F994CBCCA92EB8284592EAA@RAVINE.netfriends.com> <993bce640707030651q34c97a69kd1e04868cabafc0e@mail.gmail.com> <5265B928-AA7F-4FF4-BADB-C065B6C91074@gmail.com> Message-ID: Perhaps Mason would care to come to our next meeting to announce the position and meet us in person. Sometimes job boards get stale or have bogus postings. Nothing beats a little face to face. Mark On 7/3/07, Jared Haworth wrote: > > Ruby Rockstars is a worldwide job board that does a great job > breaking the jobs out by type (contract, salary, hourly/freelance). > > > > It would be great to see something more locally-based, as long as > there's supply to match the demand. > > - Jared Haworth > > On Jul 3, 2007, at 9:56 AM, Jared Richardson wrote: > > > We should really have a local jobs board to match up Ruby (and Rails) > > people with jobs and job seekers (full-time and contract/consulting > > types). > > > > Is there an existing localized resource for this? > > > > Jared > > http://AgileArtisans.com > > > > > > On Jul 3, 2007, at 9:51 AM |Jul/3, Ben Clarke wrote: > > > >> Hi Mason, > >> > >> I've attached a fairly recent resume. It has not been updated to > >> include my exploratory work in rails and ruby or my current project. > >> > >> I wanted to send you something asap as I'm quite interested in a ruby > >> on rails position. > >> > >> Regards, > >> Ben Clarke > >> > >> On 7/3/07, Mason Matthews wrote: > >>> > >>> > >>> > >>> Hey folks - > >>> > >>> I'm new to the list, but I work for a Rails shop in Durham that > >>> writes > >>> custom apps as well as commercial products. We've recently found > >>> ourselves > >>> with more work than we can complete on our own, and Nathaniel said > >>> that you > >>> wouldn't mind if I sent our job posting to the list. So, here you > >>> are: > >>> > >>> SciMed Solutions is a locally owned software company based in > >>> downtown > >>> Durham. Since 1997, we have been developing software solutions for > >>> the > >>> medical, scientific, and educational communities, and our business > >>> continues > >>> to grow in all of those areas. SciMed is an organization founded on > >>> entrepreneurship where new ideas are welcome. > >>> > >>> Job Description > >>> We are looking for an intelligent, ambitious individual to add to > >>> our > >>> software development team. Work activities will vary by project, > >>> but may > >>> include web application coding, database design, and product > >>> development. > >>> Employees should be able to take tasks/requests from start to > >>> finish without > >>> frequent supervision. Employees who are driven to improve their > >>> skills will > >>> be supported and encouraged to do so. > >>> > >>> Job Qualifications > >>> The ideal candidate will be a graduate from a 4-year college or > >>> university > >>> who feels that he or she can become a uniquely valuable team > >>> member. He or > >>> she will be a talented coder with the ability to learn quickly and > >>> work > >>> across multiple technologies and projects. Candidates should > >>> possess desire > >>> to work in a team environment and should embody friendliness, > >>> professionalism, patience, energy, and confidence. Candidates > >>> should also > >>> possess superior communication skills. A combination of > >>> intelligence, > >>> creative thought, ambition, and textbook knowledge will form the > >>> best > >>> candidate. > >>> > >>> SciMed Solutions utilizes Ruby on Rails (RoR) as our web application > >>> framework. While experience with RoR is not required, technical > >>> experience > >>> should include some web interface coding using technologies such > >>> as HTML, > >>> XML, XSLT, JavaScript, AJAX, PHP, JSP, Python, Perl, or ASP. > >>> Talent in user > >>> interface design is also a plus. The best applicants will bring > >>> additional > >>> disciplines to the team beyond computer science and software > >>> engineering. > >>> If you're interested in applying for this position, please contact > >>> me (Mason > >>> Matthews) at nfihr at yahoo.com. > >>> > >>> Thanks for your time! > >>> > >>> Mason F. Matthews > >>> SciMed Solutions > >>> 327 West Main Street > >>> Durham, NC 27701 > >>> _______________________________________________ > >>> raleigh-rb-members mailing list > >>> raleigh-rb-members at rubyforge.org > >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > >>> > >> > >> > >> -- > >> Regards, > >> Ben Clarke > >> > >> _______________________________________________ > >> 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/20070703/178b9f33/attachment.html From ruby at bandkbroom.com Mon Jul 9 09:12:18 2007 From: ruby at bandkbroom.com (Brian Broom) Date: Mon, 9 Jul 2007 09:12:18 -0400 Subject: [raleigh.rb] Pownce invites Message-ID: I've fooled around with pownce some (not sure why, I barely use twitter) and have a few invites. If anyone would like one, please email me directly. Thanks Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070709/47510582/attachment-0001.html From nospam at tonyspencer.com Mon Jul 9 11:39:23 2007 From: nospam at tonyspencer.com (Tony Spencer) Date: Mon, 9 Jul 2007 11:39:23 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins Message-ID: Has anyone ever constructed complex joins with ActiveRecord code successfully? We've been unable to get AR to produce a query like the one below are are about to just manually parse the returned hash into the relevant models but I feel like its possible to do this without having to resort plain SQL execution: sql = "SELECT theaters.* , showtimes.*, movies.* FROM theaters LEFT JOIN showtimes ON theaters.id = showtimes.theater_id LEFT JOIN movies ON showtimes.movie_id = movies.id WHERE theaters.city_id = 420 AND date(showtimes.date_showing) = date('2007-07-09') ORDER BY theaters.name, movies.title, showtimes.position" generic_result = Theater.connection.select_all(sql) From geoff at geoffdavis.net Mon Jul 9 11:50:27 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 9 Jul 2007 11:50:27 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: References: Message-ID: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> What SQL is generated when you try something like the following? class Theater < ActiveRecord:Base has_many :showtimes has_many :movies, :through => :showtimes end class Showtime < ActiveRecord:Base belongs_to :movie belongs_to :theater end class Movie < ActiveRecord:Base has_many :showtimes end Theater.find(:all, :include => [:movie, :showtime], :conditions => ["theaters.city_id = ? AND date(showtimes.date_showing) = date(?)", 420, '2007-07-09'], :order => "theaters.name, movies.title, showtimes.position") On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: > Has anyone ever constructed complex joins with ActiveRecord code > successfully? We've been unable to get AR to produce a query like > the one below are are about to just manually parse the returned hash > into the relevant models but I feel like its possible to do this > without having to resort plain SQL execution: > > sql = "SELECT theaters.* , showtimes.*, movies.* > FROM theaters > LEFT JOIN showtimes ON theaters.id = showtimes.theater_id > LEFT JOIN movies ON showtimes.movie_id = movies.id > WHERE theaters.city_id = 420 > AND date(showtimes.date_showing) = date('2007-07-09') > ORDER BY theaters.name, movies.title, showtimes.position" > > generic_result = Theater.connection.select_all(sql) > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From nospam at tonyspencer.com Mon Jul 9 12:03:58 2007 From: nospam at tonyspencer.com (Tony Spencer) Date: Mon, 9 Jul 2007 12:03:58 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> Message-ID: <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> It generates the following which looks perfect but the query it generates takes 78 seconds and my manual query only takes 0.24 seconds. I can't understand why. SELECT theaters.`id` AS t0_r0, theaters.`name` AS t0_r1, theaters.`scraped_name` AS t0_r2, theaters.`address1` AS t0_r3, theaters.`address2` AS t0_r4, theaters.`zip` AS t0_r5, theaters.`phone` AS t0_r6, theaters.`map_url` AS t0_r7, theaters.`city_id` AS t0_r8, theaters.`site_id` AS t0_r9, theaters.`permalink` AS t0_r10, movies.`id` AS t1_r0, movies.`title` AS t1_r1, movies.`scraped_title` AS t1_r2, movies.`length` AS t1_r3, movies.`rating` AS t1_r4, movies.`imdb_url` AS t1_r5, movies.`image` AS t1_r6, movies.`trailer_url` AS t1_r7, movies.`permalink` AS t1_r8, movies.`ok` AS t1_r9, showtimes_theaters.`id` AS t2_r0, showtimes_theaters.`theater_id` AS t2_r1, showtimes_theaters.`movie_id` AS t2_r2, showtimes_theaters.`time` AS t2_r3, showtimes_theaters.`is_matinee` AS t2_r4, showtimes_theaters.`position` AS t2_r5, showtimes_theaters.`date_showing` AS t2_r6, showtimes_theaters.`site_id` AS t2_r7 FROM theaters LEFT OUTER JOIN showtimes ON (theaters.`id` = showtimes.`theater_id`) LEFT OUTER JOIN movies ON (movies.`id` = showtimes.`movie_id`) LEFT OUTER JOIN showtimes showtimes_theaters ON showtimes_theaters.theater_id = theaters.id WHERE (theaters.city_id = 420 AND date (showtimes.date_showing) = date('2007-07-09')) ORDER BY theaters.name, movies.title, showtimes.position On Jul 9, 2007, at 11:50 AM, Geoff Davis wrote: > What SQL is generated when you try something like the following? > > class Theater < ActiveRecord:Base > has_many :showtimes > has_many :movies, :through => :showtimes > end > > class Showtime < ActiveRecord:Base > belongs_to :movie > belongs_to :theater > end > > class Movie < ActiveRecord:Base > has_many :showtimes > end > > Theater.find(:all, :include => [:movie, :showtime], :conditions => > ["theaters.city_id = ? AND date(showtimes.date_showing) = date(?)", > 420, '2007-07-09'], :order => "theaters.name, movies.title, > showtimes.position") > > > On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: > >> Has anyone ever constructed complex joins with ActiveRecord code >> successfully? We've been unable to get AR to produce a query like >> the one below are are about to just manually parse the returned hash >> into the relevant models but I feel like its possible to do this >> without having to resort plain SQL execution: >> >> sql = "SELECT theaters.* , showtimes.*, movies.* >> FROM theaters >> LEFT JOIN showtimes ON theaters.id = showtimes.theater_id >> LEFT JOIN movies ON showtimes.movie_id = movies.id >> WHERE theaters.city_id = 420 >> AND date(showtimes.date_showing) = date('2007-07-09') >> ORDER BY theaters.name, movies.title, showtimes.position" >> >> generic_result = Theater.connection.select_all(sql) >> _______________________________________________ >> 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 nospam at tonyspencer.com Mon Jul 9 12:14:28 2007 From: nospam at tonyspencer.com (Tony Spencer) Date: Mon, 9 Jul 2007 12:14:28 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> Message-ID: <152957CC-362D-402B-97A6-893D22DF1449@tonyspencer.com> Yeah its this extra JOIN its throwing in that is unnecessary and slowing it down so much: LEFT OUTER JOIN showtimes showtimes_theaters ON showtimes_theaters.theater_id = theaters.id When that is removed and changed to showtimes.* the query is fast but I can't figure out how to tell AR not to add that JOIN. On Jul 9, 2007, at 12:03 PM, Tony Spencer wrote: > It generates the following which looks perfect but the query it > generates takes 78 seconds and my manual query only takes 0.24 > seconds. I can't understand why. > > SELECT theaters.`id` AS t0_r0, theaters.`name` AS t0_r1, > theaters.`scraped_name` AS t0_r2, theaters.`address1` AS t0_r3, > theaters.`address2` AS t0_r4, theaters.`zip` AS t0_r5, > theaters.`phone` AS t0_r6, theaters.`map_url` AS t0_r7, > theaters.`city_id` AS t0_r8, theaters.`site_id` AS t0_r9, > theaters.`permalink` AS t0_r10, movies.`id` AS t1_r0, movies.`title` > AS t1_r1, movies.`scraped_title` AS t1_r2, movies.`length` AS t1_r3, > movies.`rating` AS t1_r4, movies.`imdb_url` AS t1_r5, movies.`image` > AS t1_r6, movies.`trailer_url` AS t1_r7, movies.`permalink` AS t1_r8, > movies.`ok` AS t1_r9, showtimes_theaters.`id` AS t2_r0, > showtimes_theaters.`theater_id` AS t2_r1, > showtimes_theaters.`movie_id` AS t2_r2, showtimes_theaters.`time` AS > t2_r3, showtimes_theaters.`is_matinee` AS t2_r4, > showtimes_theaters.`position` AS t2_r5, > showtimes_theaters.`date_showing` AS t2_r6, > showtimes_theaters.`site_id` AS t2_r7 FROM theaters LEFT OUTER JOIN > showtimes ON (theaters.`id` = showtimes.`theater_id`) LEFT OUTER JOIN > movies ON (movies.`id` = showtimes.`movie_id`) LEFT OUTER JOIN > showtimes showtimes_theaters ON showtimes_theaters.theater_id = > theaters.id WHERE (theaters.city_id = 420 AND date > (showtimes.date_showing) = date('2007-07-09')) ORDER BY > theaters.name, movies.title, > showtimes.position > > On Jul 9, 2007, at 11:50 AM, Geoff Davis wrote: > >> What SQL is generated when you try something like the following? >> >> class Theater < ActiveRecord:Base >> has_many :showtimes >> has_many :movies, :through => :showtimes >> end >> >> class Showtime < ActiveRecord:Base >> belongs_to :movie >> belongs_to :theater >> end >> >> class Movie < ActiveRecord:Base >> has_many :showtimes >> end >> >> Theater.find(:all, :include => [:movie, :showtime], :conditions => >> ["theaters.city_id = ? AND date(showtimes.date_showing) = date(?)", >> 420, '2007-07-09'], :order => "theaters.name, movies.title, >> showtimes.position") >> >> >> On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: >> >>> Has anyone ever constructed complex joins with ActiveRecord code >>> successfully? We've been unable to get AR to produce a query like >>> the one below are are about to just manually parse the returned hash >>> into the relevant models but I feel like its possible to do this >>> without having to resort plain SQL execution: >>> >>> sql = "SELECT theaters.* , showtimes.*, movies.* >>> FROM theaters >>> LEFT JOIN showtimes ON theaters.id = showtimes.theater_id >>> LEFT JOIN movies ON showtimes.movie_id = movies.id >>> WHERE theaters.city_id = 420 >>> AND date(showtimes.date_showing) = date('2007-07-09') >>> ORDER BY theaters.name, movies.title, showtimes.position" >>> >>> generic_result = Theater.connection.select_all(sql) >>> _______________________________________________ >>> 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 lists-jared at nc.rr.com Mon Jul 9 12:47:33 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 9 Jul 2007 12:47:33 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> Message-ID: On Jul 9, 2007, at 12:03 PM |Jul/9, Tony Spencer wrote: > It generates the following which looks perfect but the query it > generates takes 78 seconds and my manual query only takes 0.24 > seconds. I can't understand why. Why not just use SQL? You know it'll always be faster than AR. Jared http://AgileArtisans.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070709/0eec82a5/attachment.html From jared.haworth at gmail.com Mon Jul 9 12:48:55 2007 From: jared.haworth at gmail.com (Jared Haworth) Date: Mon, 9 Jul 2007 12:48:55 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> Message-ID: <606C4552-9F78-497F-8F38-225F9CFE8F1B@gmail.com> Or do both! Specify associations in ActiveRecord using :finder_sql ! - Jared Haworth On Jul 9, 2007, at 12:47 PM, Jared Richardson wrote: > > On Jul 9, 2007, at 12:03 PM |Jul/9, Tony Spencer wrote: > >> It generates the following which looks perfect but the query it >> generates takes 78 seconds and my manual query only takes 0.24 >> seconds. I can't understand why. > > > Why not just use SQL? You know it'll always be faster than AR. > > Jared > http://AgileArtisans.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/20070709/4812c940/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2429 bytes Desc: not available Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070709/4812c940/attachment-0001.bin From geoff at geoffdavis.net Mon Jul 9 15:10:34 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 9 Jul 2007 15:10:34 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: <152957CC-362D-402B-97A6-893D22DF1449@tonyspencer.com> References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> <152957CC-362D-402B-97A6-893D22DF1449@tonyspencer.com> Message-ID: <958E2EF7-8605-4304-983E-8DD8BC978B02@geoffdavis.net> It looks like you have some redundancy in your data model. Why do you need the showtimes_theaters table if each showtime has a theater_id? On Jul 9, 2007, at 12:14 PM, Tony Spencer wrote: > Yeah its this extra JOIN its throwing in that is unnecessary and > slowing it down so much: > > LEFT OUTER JOIN showtimes showtimes_theaters ON > showtimes_theaters.theater_id = theaters.id > > When that is removed and changed to showtimes.* the query is fast but > I can't figure out how to tell AR not to add that JOIN. > > On Jul 9, 2007, at 12:03 PM, Tony Spencer wrote: > >> It generates the following which looks perfect but the query it >> generates takes 78 seconds and my manual query only takes 0.24 >> seconds. I can't understand why. >> >> SELECT theaters.`id` AS t0_r0, theaters.`name` AS t0_r1, >> theaters.`scraped_name` AS t0_r2, theaters.`address1` AS t0_r3, >> theaters.`address2` AS t0_r4, theaters.`zip` AS t0_r5, >> theaters.`phone` AS t0_r6, theaters.`map_url` AS t0_r7, >> theaters.`city_id` AS t0_r8, theaters.`site_id` AS t0_r9, >> theaters.`permalink` AS t0_r10, movies.`id` AS t1_r0, movies.`title` >> AS t1_r1, movies.`scraped_title` AS t1_r2, movies.`length` AS t1_r3, >> movies.`rating` AS t1_r4, movies.`imdb_url` AS t1_r5, movies.`image` >> AS t1_r6, movies.`trailer_url` AS t1_r7, movies.`permalink` AS t1_r8, >> movies.`ok` AS t1_r9, showtimes_theaters.`id` AS t2_r0, >> showtimes_theaters.`theater_id` AS t2_r1, >> showtimes_theaters.`movie_id` AS t2_r2, showtimes_theaters.`time` AS >> t2_r3, showtimes_theaters.`is_matinee` AS t2_r4, >> showtimes_theaters.`position` AS t2_r5, >> showtimes_theaters.`date_showing` AS t2_r6, >> showtimes_theaters.`site_id` AS t2_r7 FROM theaters LEFT OUTER JOIN >> showtimes ON (theaters.`id` = showtimes.`theater_id`) LEFT OUTER JOIN >> movies ON (movies.`id` = showtimes.`movie_id`) LEFT OUTER JOIN >> showtimes showtimes_theaters ON showtimes_theaters.theater_id = >> theaters.id WHERE (theaters.city_id = 420 AND date >> (showtimes.date_showing) = date('2007-07-09')) ORDER BY >> theaters.name, movies.title, >> showtimes.position >> >> On Jul 9, 2007, at 11:50 AM, Geoff Davis wrote: >> >>> What SQL is generated when you try something like the following? >>> >>> class Theater < ActiveRecord:Base >>> has_many :showtimes >>> has_many :movies, :through => :showtimes >>> end >>> >>> class Showtime < ActiveRecord:Base >>> belongs_to :movie >>> belongs_to :theater >>> end >>> >>> class Movie < ActiveRecord:Base >>> has_many :showtimes >>> end >>> >>> Theater.find(:all, :include => [:movie, :showtime], :conditions => >>> ["theaters.city_id = ? AND date(showtimes.date_showing) = date(?)", >>> 420, '2007-07-09'], :order => "theaters.name, movies.title, >>> showtimes.position") >>> >>> >>> On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: >>> >>>> Has anyone ever constructed complex joins with ActiveRecord code >>>> successfully? We've been unable to get AR to produce a query like >>>> the one below are are about to just manually parse the returned >>>> hash >>>> into the relevant models but I feel like its possible to do this >>>> without having to resort plain SQL execution: >>>> >>>> sql = "SELECT theaters.* , showtimes.*, movies.* >>>> FROM theaters >>>> LEFT JOIN showtimes ON theaters.id = showtimes.theater_id >>>> LEFT JOIN movies ON showtimes.movie_id = movies.id >>>> WHERE theaters.city_id = 420 >>>> AND date(showtimes.date_showing) = date('2007-07-09') >>>> ORDER BY theaters.name, movies.title, showtimes.position" >>>> >>>> generic_result = Theater.connection.select_all(sql) >>>> _______________________________________________ >>>> 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 nospam at tonyspencer.com Mon Jul 9 15:19:03 2007 From: nospam at tonyspencer.com (Tony Spencer) Date: Mon, 9 Jul 2007 15:19:03 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: <958E2EF7-8605-4304-983E-8DD8BC978B02@geoffdavis.net> References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> <152957CC-362D-402B-97A6-893D22DF1449@tonyspencer.com> <958E2EF7-8605-4304-983E-8DD8BC978B02@geoffdavis.net> Message-ID: There isn't a showtimes_theaters table. That is the name (for a lack of a better description) of the unnecessary JOIN activerecord is creating. JOIN showtimes showtimes_theaters ON... On Jul 9, 2007, at 3:10 PM, Geoff Davis wrote: > It looks like you have some redundancy in your data model. Why do > you need the showtimes_theaters table if each showtime has a > theater_id? > > On Jul 9, 2007, at 12:14 PM, Tony Spencer wrote: > >> Yeah its this extra JOIN its throwing in that is unnecessary and >> slowing it down so much: >> >> LEFT OUTER JOIN showtimes showtimes_theaters ON >> showtimes_theaters.theater_id = theaters.id >> >> When that is removed and changed to showtimes.* the query is fast but >> I can't figure out how to tell AR not to add that JOIN. >> >> On Jul 9, 2007, at 12:03 PM, Tony Spencer wrote: >> >>> It generates the following which looks perfect but the query it >>> generates takes 78 seconds and my manual query only takes 0.24 >>> seconds. I can't understand why. >>> >>> SELECT theaters.`id` AS t0_r0, theaters.`name` AS t0_r1, >>> theaters.`scraped_name` AS t0_r2, theaters.`address1` AS t0_r3, >>> theaters.`address2` AS t0_r4, theaters.`zip` AS t0_r5, >>> theaters.`phone` AS t0_r6, theaters.`map_url` AS t0_r7, >>> theaters.`city_id` AS t0_r8, theaters.`site_id` AS t0_r9, >>> theaters.`permalink` AS t0_r10, movies.`id` AS t1_r0, movies.`title` >>> AS t1_r1, movies.`scraped_title` AS t1_r2, movies.`length` AS t1_r3, >>> movies.`rating` AS t1_r4, movies.`imdb_url` AS t1_r5, movies.`image` >>> AS t1_r6, movies.`trailer_url` AS t1_r7, movies.`permalink` AS >>> t1_r8, >>> movies.`ok` AS t1_r9, showtimes_theaters.`id` AS t2_r0, >>> showtimes_theaters.`theater_id` AS t2_r1, >>> showtimes_theaters.`movie_id` AS t2_r2, showtimes_theaters.`time` AS >>> t2_r3, showtimes_theaters.`is_matinee` AS t2_r4, >>> showtimes_theaters.`position` AS t2_r5, >>> showtimes_theaters.`date_showing` AS t2_r6, >>> showtimes_theaters.`site_id` AS t2_r7 FROM theaters LEFT OUTER JOIN >>> showtimes ON (theaters.`id` = showtimes.`theater_id`) LEFT OUTER >>> JOIN >>> movies ON (movies.`id` = showtimes.`movie_id`) LEFT OUTER JOIN >>> showtimes showtimes_theaters ON showtimes_theaters.theater_id = >>> theaters.id WHERE (theaters.city_id = 420 AND date >>> (showtimes.date_showing) = date('2007-07-09')) ORDER BY >>> theaters.name, movies.title, >>> showtimes.position >>> >>> On Jul 9, 2007, at 11:50 AM, Geoff Davis wrote: >>> >>>> What SQL is generated when you try something like the following? >>>> >>>> class Theater < ActiveRecord:Base >>>> has_many :showtimes >>>> has_many :movies, :through => :showtimes >>>> end >>>> >>>> class Showtime < ActiveRecord:Base >>>> belongs_to :movie >>>> belongs_to :theater >>>> end >>>> >>>> class Movie < ActiveRecord:Base >>>> has_many :showtimes >>>> end >>>> >>>> Theater.find(:all, :include => [:movie, :showtime], :conditions => >>>> ["theaters.city_id = ? AND date(showtimes.date_showing) = date(?)", >>>> 420, '2007-07-09'], :order => "theaters.name, movies.title, >>>> showtimes.position") >>>> >>>> >>>> On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: >>>> >>>>> Has anyone ever constructed complex joins with ActiveRecord code >>>>> successfully? We've been unable to get AR to produce a query like >>>>> the one below are are about to just manually parse the returned >>>>> hash >>>>> into the relevant models but I feel like its possible to do this >>>>> without having to resort plain SQL execution: >>>>> >>>>> sql = "SELECT theaters.* , showtimes.*, movies.* >>>>> FROM theaters >>>>> LEFT JOIN showtimes ON theaters.id = showtimes.theater_id >>>>> LEFT JOIN movies ON showtimes.movie_id = movies.id >>>>> WHERE theaters.city_id = 420 >>>>> AND date(showtimes.date_showing) = date('2007-07-09') >>>>> ORDER BY theaters.name, movies.title, showtimes.position" >>>>> >>>>> generic_result = Theater.connection.select_all(sql) >>>>> _______________________________________________ >>>>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070709/f8aeb6b8/attachment-0001.html From geoff at geoffdavis.net Mon Jul 9 15:25:13 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 9 Jul 2007 15:25:13 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> <152957CC-362D-402B-97A6-893D22DF1449@tonyspencer.com> <958E2EF7-8605-4304-983E-8DD8BC978B02@geoffdavis.net> Message-ID: Oh, I see -- it's doing the showtime.theater_id = theater.id thing twice. I bet that's a side effect of this: >>>>> has_many :movies, :through => :showtimes (which you probably don't need anyway) On Jul 9, 2007, at 3:19 PM, Tony Spencer wrote: > There isn't a showtimes_theaters table. That is the name (for a > lack of a better description) of the unnecessary JOIN activerecord > is creating. > > JOIN showtimes showtimes_theaters ON... > > > > On Jul 9, 2007, at 3:10 PM, Geoff Davis wrote: > >> It looks like you have some redundancy in your data model. Why do >> you need the showtimes_theaters table if each showtime has a >> theater_id? >> >> On Jul 9, 2007, at 12:14 PM, Tony Spencer wrote: >> >>> Yeah its this extra JOIN its throwing in that is unnecessary and >>> slowing it down so much: >>> >>> LEFT OUTER JOIN showtimes showtimes_theaters ON >>> showtimes_theaters.theater_id = theaters.id >>> >>> When that is removed and changed to showtimes.* the query is fast >>> but >>> I can't figure out how to tell AR not to add that JOIN. >>> >>> On Jul 9, 2007, at 12:03 PM, Tony Spencer wrote: >>> >>>> It generates the following which looks perfect but the query it >>>> generates takes 78 seconds and my manual query only takes 0.24 >>>> seconds. I can't understand why. >>>> >>>> SELECT theaters.`id` AS t0_r0, theaters.`name` AS t0_r1, >>>> theaters.`scraped_name` AS t0_r2, theaters.`address1` AS t0_r3, >>>> theaters.`address2` AS t0_r4, theaters.`zip` AS t0_r5, >>>> theaters.`phone` AS t0_r6, theaters.`map_url` AS t0_r7, >>>> theaters.`city_id` AS t0_r8, theaters.`site_id` AS t0_r9, >>>> theaters.`permalink` AS t0_r10, movies.`id` AS t1_r0, >>>> movies.`title` >>>> AS t1_r1, movies.`scraped_title` AS t1_r2, movies.`length` AS >>>> t1_r3, >>>> movies.`rating` AS t1_r4, movies.`imdb_url` AS t1_r5, >>>> movies.`image` >>>> AS t1_r6, movies.`trailer_url` AS t1_r7, movies.`permalink` AS >>>> t1_r8, >>>> movies.`ok` AS t1_r9, showtimes_theaters.`id` AS t2_r0, >>>> showtimes_theaters.`theater_id` AS t2_r1, >>>> showtimes_theaters.`movie_id` AS t2_r2, >>>> showtimes_theaters.`time` AS >>>> t2_r3, showtimes_theaters.`is_matinee` AS t2_r4, >>>> showtimes_theaters.`position` AS t2_r5, >>>> showtimes_theaters.`date_showing` AS t2_r6, >>>> showtimes_theaters.`site_id` AS t2_r7 FROM theaters LEFT OUTER JOIN >>>> showtimes ON (theaters.`id` = showtimes.`theater_id`) LEFT OUTER >>>> JOIN >>>> movies ON (movies.`id` = showtimes.`movie_id`) LEFT OUTER JOIN >>>> showtimes showtimes_theaters ON showtimes_theaters.theater_id = >>>> theaters.id WHERE (theaters.city_id = 420 AND date >>>> (showtimes.date_showing) = date('2007-07-09')) ORDER BY >>>> theaters.name, movies.title, >>>> showtimes.position >>>> >>>> On Jul 9, 2007, at 11:50 AM, Geoff Davis wrote: >>>> >>>>> What SQL is generated when you try something like the following? >>>>> >>>>> class Theater < ActiveRecord:Base >>>>> has_many :showtimes >>>>> has_many :movies, :through => :showtimes >>>>> end >>>>> >>>>> class Showtime < ActiveRecord:Base >>>>> belongs_to :movie >>>>> belongs_to :theater >>>>> end >>>>> >>>>> class Movie < ActiveRecord:Base >>>>> has_many :showtimes >>>>> end >>>>> >>>>> Theater.find(:all, :include => [:movie, :showtime], :conditions => >>>>> ["theaters.city_id = ? AND date(showtimes.date_showing) = date >>>>> (?)", >>>>> 420, '2007-07-09'], :order => "theaters.name, movies.title, >>>>> showtimes.position") >>>>> >>>>> >>>>> On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: >>>>> >>>>>> Has anyone ever constructed complex joins with ActiveRecord code >>>>>> successfully? We've been unable to get AR to produce a query >>>>>> like >>>>>> the one below are are about to just manually parse the returned >>>>>> hash >>>>>> into the relevant models but I feel like its possible to do this >>>>>> without having to resort plain SQL execution: >>>>>> >>>>>> sql = "SELECT theaters.* , showtimes.*, movies.* >>>>>> FROM theaters >>>>>> LEFT JOIN showtimes ON theaters.id = showtimes.theater_id >>>>>> LEFT JOIN movies ON showtimes.movie_id = movies.id >>>>>> WHERE theaters.city_id = 420 >>>>>> AND date(showtimes.date_showing) = date('2007-07-09') >>>>>> ORDER BY theaters.name, movies.title, showtimes.position" >>>>>> >>>>>> generic_result = Theater.connection.select_all(sql) >>>>>> _______________________________________________ >>>>>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070709/0920887b/attachment.html From mark.bennett.mail at gmail.com Wed Jul 11 14:58:59 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Wed, 11 Jul 2007 14:58:59 -0400 Subject: [raleigh.rb] Using ActiveRecord with multiple Joins In-Reply-To: References: <7F971F81-08D8-4B17-B299-C7CF5E819F95@geoffdavis.net> <4C26E0DB-F33D-415E-8BC5-21D29E9F5A5F@tonyspencer.com> <152957CC-362D-402B-97A6-893D22DF1449@tonyspencer.com> <958E2EF7-8605-4304-983E-8DD8BC978B02@geoffdavis.net> Message-ID: I think you still want to keep this association in your model. However the association table should be included automatically when you include the :through relationship Theater.find(:all, :include => :movies) instead of Theater.find(:all, :include => [:movies, :showtimes]) Mark On 7/9/07, Geoff Davis wrote: > > Oh, I see -- it's doing the showtime.theater_id = theater.id thing twice. > I bet that's a side effect of this: > > has_many :movies, :through => :showtimes > > > (which you probably don't need anyway) > > On Jul 9, 2007, at 3:19 PM, Tony Spencer wrote: > > There isn't a showtimes_theaters table. That is the name (for a lack of a > better description) of the unnecessary JOIN activerecord is creating. > > JOIN showtimes *showtimes_theaters* ON... > > > > On Jul 9, 2007, at 3:10 PM, Geoff Davis wrote: > > It looks like you have some redundancy in your data model. Why do > you need the showtimes_theaters table if each showtime has a theater_id? > > On Jul 9, 2007, at 12:14 PM, Tony Spencer wrote: > > Yeah its this extra JOIN its throwing in that is unnecessary and > slowing it down so much: > > LEFT OUTER JOIN showtimes showtimes_theaters ON > showtimes_theaters.theater_id = theaters.id > > When that is removed and changed to showtimes.* the query is fast but > I can't figure out how to tell AR not to add that JOIN. > > On Jul 9, 2007, at 12:03 PM, Tony Spencer wrote: > > It generates the following which looks perfect but the query it > generates takes 78 seconds and my manual query only takes 0.24 > seconds. I can't understand why. > > SELECT theaters.`id` AS t0_r0, theaters.`name` AS t0_r1, > theaters.`scraped_name` AS t0_r2, theaters.`address1` AS t0_r3, > theaters.`address2` AS t0_r4, theaters.`zip` AS t0_r5, > theaters.`phone` AS t0_r6, theaters.`map_url` AS t0_r7, > theaters.`city_id` AS t0_r8, theaters.`site_id` AS t0_r9, > theaters.`permalink` AS t0_r10, movies.`id` AS t1_r0, movies.`title` > AS t1_r1, movies.`scraped_title` AS t1_r2, movies.`length` AS t1_r3, > movies.`rating` AS t1_r4, movies.`imdb_url` AS t1_r5, movies.`image` > AS t1_r6, movies.`trailer_url` AS t1_r7, movies.`permalink` AS t1_r8, > movies.`ok` AS t1_r9, showtimes_theaters.`id` AS t2_r0, > showtimes_theaters.`theater_id` AS t2_r1, > showtimes_theaters.`movie_id` AS t2_r2, showtimes_theaters.`time` AS > t2_r3, showtimes_theaters.`is_matinee` AS t2_r4, > showtimes_theaters.`position` AS t2_r5, > showtimes_theaters.`date_showing` AS t2_r6, > showtimes_theaters.`site_id` AS t2_r7 FROM theaters LEFT OUTER JOIN > showtimes ON (theaters.`id` = showtimes.`theater_id`) LEFT OUTER JOIN > movies ON (movies.`id` = showtimes.`movie_id`) LEFT OUTER JOIN > showtimes showtimes_theaters ON showtimes_theaters.theater_id = > theaters.id WHERE (theaters.city_id = 420 AND date > (showtimes.date_showing) = date('2007-07-09')) ORDER BY > theaters.name, movies.title, > showtimes.position > > On Jul 9, 2007, at 11:50 AM, Geoff Davis wrote: > > What SQL is generated when you try something like the following? > > class Theater < ActiveRecord:Base > has_many :showtimes > has_many :movies, :through => :showtimes > end > > class Showtime < ActiveRecord:Base > belongs_to :movie > belongs_to :theater > end > > class Movie < ActiveRecord:Base > has_many :showtimes > end > > Theater.find(:all, :include => [:movie, :showtime], :conditions => > ["theaters.city_id = ? AND date(showtimes.date_showing) = date(?)", > 420, '2007-07-09'], :order => "theaters.name, movies.title, > showtimes.position") > > > On Jul 9, 2007, at 11:39 AM, Tony Spencer wrote: > > Has anyone ever constructed complex joins with ActiveRecord code > successfully? We've been unable to get AR to produce a query like > the one below are are about to just manually parse the returned > hash > into the relevant models but I feel like its possible to do this > without having to resort plain SQL execution: > > sql = "SELECT theaters.* , showtimes.*, movies.* > FROM theaters > LEFT JOIN showtimes ON theaters.id = showtimes.theater_id > LEFT JOIN movies ON showtimes.movie_id = movies.id > WHERE theaters.city_id = 420 > AND date(showtimes.date_showing) = date('2007-07-09') > ORDER BY theaters.name, movies.title, showtimes.position" > > generic_result = Theater.connection.select_all(sql) > _______________________________________________ > 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 > > > > _______________________________________________ > 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/20070711/ca9d31f3/attachment-0001.html From geoff at geoffdavis.net Thu Jul 12 10:16:06 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Thu, 12 Jul 2007 10:16:06 -0400 Subject: [raleigh.rb] ActiveRecord idiom Message-ID: I've got a new object in hand that I've created with build. I save it. Now I want to find the ID that was generated for the saved record. Is there a good ActiveRecord idiom for doing so? I could do a query to find the most recently updated object in the table, but that seems kind of lame and also prone to failure in rare cases when near-simultaneous inserts are going on. From jared.haworth at gmail.com Thu Jul 12 10:19:59 2007 From: jared.haworth at gmail.com (Jared Haworth) Date: Thu, 12 Jul 2007 10:19:59 -0400 Subject: [raleigh.rb] ActiveRecord idiom In-Reply-To: References: Message-ID: <23C01CB4-7EE5-43FB-8855-9C56B1DAD790@gmail.com> If you're using build, you've created an object through the association proxy, right? Something like this @address = current_user.addresses.build(params[:address]) @address.save You should be able to get the ID by asking for @address.id - Jared On Jul 12, 2007, at 10:16 AM, Geoff Davis wrote: > I've got a new object in hand that I've created with build. I save > it. Now I want to find the ID that was generated for the saved > record. Is there a good ActiveRecord idiom for doing so? > > I could do a query to find the most recently updated object in the > table, but that seems kind of lame and also prone to failure in rare > cases when near-simultaneous inserts are going on. > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2429 bytes Desc: not available Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070712/3f12c5fb/attachment.bin From geoff at geoffdavis.net Thu Jul 12 10:20:12 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Thu, 12 Jul 2007 10:20:12 -0400 Subject: [raleigh.rb] ActiveRecord idiom In-Reply-To: References: Message-ID: <28353252-490C-4D78-8DE4-1D8075C538C6@speakeasy.net> D'oh! Please ignore that last email. I just realized that the ID is in the object itself after saving and that my test was failing for a different reason. On Jul 12, 2007, at 10:16 AM, Geoff Davis wrote: > I've got a new object in hand that I've created with build. I save > it. Now I want to find the ID that was generated for the saved > record. Is there a good ActiveRecord idiom for doing so? > > I could do a query to find the most recently updated object in the > table, but that seems kind of lame and also prone to failure in > rare cases when near-simultaneous inserts are going on. From lists-jared at nc.rr.com Thu Jul 12 10:22:54 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Thu, 12 Jul 2007 10:22:54 -0400 Subject: [raleigh.rb] ActiveRecord idiom In-Reply-To: <28353252-490C-4D78-8DE4-1D8075C538C6@speakeasy.net> References: <28353252-490C-4D78-8DE4-1D8075C538C6@speakeasy.net> Message-ID: <16BA1E8C-8D8F-47FE-8291-F15A7F87B31F@nc.rr.com> I'm glad you ID-ed the problem! ;) (groan!) Jared http://AgileArtisans.com On Jul 12, 2007, at 10:20 AM |Jul/12, Geoff Davis wrote: > D'oh! Please ignore that last email. I just realized that the ID is > in the object itself after saving and that my test was failing for a > different reason. > > On Jul 12, 2007, at 10:16 AM, Geoff Davis wrote: > >> I've got a new object in hand that I've created with build. I save >> it. Now I want to find the ID that was generated for the saved >> record. Is there a good ActiveRecord idiom for doing so? >> >> I could do a query to find the most recently updated object in the >> table, but that seems kind of lame and also prone to failure in >> rare cases when near-simultaneous inserts are going on. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070712/a286ef4f/attachment.html From ruby at bandkbroom.com Thu Jul 12 11:34:32 2007 From: ruby at bandkbroom.com (Brian Broom) Date: Thu, 12 Jul 2007 11:34:32 -0400 Subject: [raleigh.rb] t-shirts Message-ID: I'm looking to make a small number (2-5) of tshirts, text only, possibly front and back. Does anyone have any suggestions of places that do this, and about how much it might cost? Thanks Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070712/b7763172/attachment.html From mark.bennett.mail at gmail.com Thu Jul 12 11:43:25 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Thu, 12 Jul 2007 11:43:25 -0400 Subject: [raleigh.rb] t-shirts In-Reply-To: References: Message-ID: Brian, I did this a couple times before by going to kinkos and printing onto a t-shirt transfer. Then i took the transfer to a t-shirt shop to have them iron it on. They did the ironing for free but I tipped them anyway. Of course they were images. If its just text then the t-shirt shop could make it bigger than 8.5x11 with better quality. I don't know any shops around here though. Let me know what you come up with. Mark On 7/12/07, Brian Broom wrote: > > I'm looking to make a small number (2-5) of tshirts, text only, possibly > front and back. Does anyone have any suggestions of places that do this, > and about how much it might cost? > > Thanks > Brian > _______________________________________________ > 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/20070712/d17235fb/attachment.html From lists-jared at nc.rr.com Thu Jul 12 11:50:24 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Thu, 12 Jul 2007 11:50:24 -0400 Subject: [raleigh.rb] t-shirts In-Reply-To: References: Message-ID: <5278E6B4-C13C-480A-A07B-1CA0B848A444@nc.rr.com> http://nclogowear.com/ is near the Fairgrounds. http://www.cafepress.com/ is who I use for an online source I think you'll end up spending ~10 to 15 per shirt, but that's just a guess. It depends on how many colors, etc with NC Logo. And with CafePress, it's more like $15 to 20 a shirt no matter how many colors Jared http://AgileArtisans.com On Jul 12, 2007, at 11:34 AM |Jul/12, Brian Broom wrote: > I'm looking to make a small number (2-5) of tshirts, text only, > possibly front and back. Does anyone have any suggestions of > places that do this, and about how much it might cost? > > Thanks > Brian > _______________________________________________ > 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/20070712/a43283d6/attachment-0001.html From mark.bennett.mail at gmail.com Thu Jul 12 12:06:19 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Thu, 12 Jul 2007 12:06:19 -0400 Subject: [raleigh.rb] t-shirts In-Reply-To: <5278E6B4-C13C-480A-A07B-1CA0B848A444@nc.rr.com> References: <5278E6B4-C13C-480A-A07B-1CA0B848A444@nc.rr.com> Message-ID: Wow. Cafepress is pretty slick. Beats paying kinkos to use photoshop for printing. On 7/12/07, Jared Richardson wrote: > > http://nclogowear.com/ is near the Fairgrounds. > http://www.cafepress.com/ is who I use for an online source > > I think you'll end up spending ~10 to 15 per shirt, but that's just a > guess. It depends on how many colors, etc with NC Logo. And with CafePress, > it's more like $15 to 20 a shirt no matter how many colors > > Jared > http://AgileArtisans.com > > > On Jul 12, 2007, at 11:34 AM |Jul/12, Brian Broom wrote: > > I'm looking to make a small number (2-5) of tshirts, text only, possibly > front and back. Does anyone have any suggestions of places that do this, > and about how much it might cost? > > Thanks > Brian > _______________________________________________ > 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/20070712/cad3fd7b/attachment.html From lists-jared at nc.rr.com Thu Jul 12 23:28:25 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Thu, 12 Jul 2007 23:28:25 -0400 Subject: [raleigh.rb] Reject Conf videos References: <2B33A1C6-D17E-4F0F-A3CB-430552B911FE@gmail.com> Message-ID: <9D7B3CDF-572B-42D2-99FE-51B99EA78CFC@nc.rr.com> We discussed the Reject Conf videos at a previous meeting and I stumbled across the link tonight. Reject Conf was (if memory serves) a "show up and speak" event for people who didn't get accepted to speak at Rails Conf. I didn't attend, but I've heard it was great. http://groups.google.com/group/rejectconf/browse_frm/thread/ 9f0bad56c4fad0c2?hl=en Enjoy! Jared http://AgileArtisans.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070712/26116d20/attachment.html From rick.denatale at gmail.com Fri Jul 13 13:03:22 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 13 Jul 2007 13:03:22 -0400 Subject: [raleigh.rb] t-shirts In-Reply-To: References: <5278E6B4-C13C-480A-A07B-1CA0B848A444@nc.rr.com> Message-ID: On 7/12/07, Mark Bennett wrote: > Wow. Cafepress is pretty slick. Beats paying kinkos to use photoshop for > printing. No personal experience, but I've heard some bickering about the quality of some of the cafe press stuff. I'd love to hear otherwise from anyone in the know. From lists-jared at nc.rr.com Fri Jul 13 13:27:35 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Fri, 13 Jul 2007 13:27:35 -0400 Subject: [raleigh.rb] t-shirts In-Reply-To: References: <5278E6B4-C13C-480A-A07B-1CA0B848A444@nc.rr.com> Message-ID: <60123C4D-9ED4-4B09-B130-13DF884F4431@nc.rr.com> On Jul 13, 2007, at 1:03 PM |Jul/13, Rick DeNatale wrote: > On 7/12/07, Mark Bennett wrote: >> Wow. Cafepress is pretty slick. Beats paying kinkos to use >> photoshop for >> printing. > > No personal experience, but I've heard some bickering about the > quality of some of the cafe press stuff. I'd love to hear otherwise > from anyone in the know. I like everything I've gotten from them... it's just a little pricey. It's fine for small orders though. Jared http://AgileArtisans.com From nathaniel at talbott.ws Tue Jul 17 09:21:56 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 17 Jul 2007 09:21:56 -0400 Subject: [raleigh.rb] Pre-Meeting Chow Message-ID: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> 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 pelargir at gmail.com Tue Jul 17 09:24:00 2007 From: pelargir at gmail.com (Matthew) Date: Tue, 17 Jul 2007 09:24:00 -0400 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> References: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> Message-ID: In, with one guest. On 7/17/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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070717/47035b3a/attachment.html From ryan.daigle at gmail.com Tue Jul 17 10:31:30 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Tue, 17 Jul 2007 10:31:30 -0400 Subject: [raleigh.rb] Anybody want a MythTV? Message-ID: <748ff3ff0707170731q3079902fpb5e52a1d71b14d38@mail.gmail.com> Anybody that's going to be at the meetup tonight want to take this MythTV rig off my hands? For the extra discounted price of $100, it can be yours. Let me know if there's interest, I know there's got to be a few true geeks in the group. -Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070717/5bfa73d1/attachment.html From pelargir at gmail.com Tue Jul 17 10:36:35 2007 From: pelargir at gmail.com (Matthew) Date: Tue, 17 Jul 2007 10:36:35 -0400 Subject: [raleigh.rb] Anybody want a MythTV? In-Reply-To: <748ff3ff0707170731q3079902fpb5e52a1d71b14d38@mail.gmail.com> References: <748ff3ff0707170731q3079902fpb5e52a1d71b14d38@mail.gmail.com> Message-ID: I'm intrigued... but that link doesn't work for some reason. It wants me to login. Matthew On 7/17/07, Ryan Daigle wrote: > > Anybody that's going to be at the meetup tonight want to take this MythTV > rig off > my hands? For the extra discounted price of $100, it can be yours. Let me > know if there's interest, I know there's got to be a few true geeks in the > group. > > -Ryan > > _______________________________________________ > 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/20070717/72023f08/attachment-0001.html From plumcreek at gmail.com Tue Jul 17 10:43:43 2007 From: plumcreek at gmail.com (Daniel Bartholomew) Date: Tue, 17 Jul 2007 10:43:43 -0400 Subject: [raleigh.rb] Anybody want a MythTV? In-Reply-To: References: <748ff3ff0707170731q3079902fpb5e52a1d71b14d38@mail.gmail.com> Message-ID: <1184683423.26624.48.camel@bart> On Tue, 2007-07-17 at 10:36 -0400, Matthew wrote: > I'm intrigued... but that link doesn't work for some reason. It wants > me to login. > > Same here. I'm interested, but the link doesn't work, and I'm not going to be able to make it to the meeting anyway. :-( > Matthew > > > On 7/17/07, Ryan Daigle wrote: > Anybody that's going to be at the meetup tonight want to take > this MythTV rig off my hands? For the extra discounted price > of $100, it can be yours. Let me know if there's interest, I > know there's got to be a few true geeks in the group. > > -Ryan > -- Daniel Bartholomew -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070717/f1f6a2b2/attachment.bin From ryan.daigle at gmail.com Tue Jul 17 12:00:26 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Tue, 17 Jul 2007 12:00:26 -0400 Subject: [raleigh.rb] Anybody want a MythTV? In-Reply-To: <1184683423.26624.48.camel@bart> References: <748ff3ff0707170731q3079902fpb5e52a1d71b14d38@mail.gmail.com> <1184683423.26624.48.camel@bart> Message-ID: <748ff3ff0707170900h5f6fa357w95a997b04456612c@mail.gmail.com> All right let's try this (sorry for the spam, everybody who doesn't care): I have a fully configured and working MythTV DVR computer that I am no longer using. It has the following specs: * 220 Gb of HDD space spread across two LVM'd drives * Athlon XP processor * WinTV PVR-250 TV input and encoding card * Chaintech CT-7NIF2 motherboard * PS/2 keyboard and mouse * All necessary cables except the power chord to the computer * DVD drive I spent a lot of time getting this set up and can verify that it is working. However, I will not be available for technical support once I sell this. So please, unless you know what you're doing, do not inquire into how to set it up from me. All that you should have to do is update your Zap2It labs user credentials (to download the TV schedule) and your cable listings (if you're not in Cary) to get it running for you. You can view pics at: http://flickr.com/photos/ryandaigle/sets/72157600189570172/ -Ryan On 7/17/07, Daniel Bartholomew wrote: > > On Tue, 2007-07-17 at 10:36 -0400, Matthew wrote: > > I'm intrigued... but that link doesn't work for some reason. It wants > > me to login. > > > > > > Same here. I'm interested, but the link doesn't work, and I'm not going > to be able to make it to the meeting anyway. :-( > > > Matthew > > > > > > On 7/17/07, Ryan Daigle wrote: > > Anybody that's going to be at the meetup tonight want to take > > this MythTV rig off my hands? For the extra discounted price > > of $100, it can be yours. Let me know if there's interest, I > > know there's got to be a few true geeks in the group. > > > > -Ryan > > > > > -- > Daniel Bartholomew > > _______________________________________________ > 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/20070717/e8be7a9d/attachment.html From robert.horvick at gmail.com Tue Jul 17 14:20:59 2007 From: robert.horvick at gmail.com (Robert Horvick) Date: Tue, 17 Jul 2007 14:20:59 -0400 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> References: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> Message-ID: In. On 7/17/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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070717/868dfd60/attachment.html From ruby at bandkbroom.com Tue Jul 17 14:26:48 2007 From: ruby at bandkbroom.com (Brian Broom) Date: Tue, 17 Jul 2007 14:26:48 -0400 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> Message-ID: I'll be there On 7/17/07, Robert Horvick wrote: > > In. > > On 7/17/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/20070717/60ea51c1/attachment.html From rsanheim at gmail.com Tue Jul 17 15:12:32 2007 From: rsanheim at gmail.com (Rob Sanheim) Date: Tue, 17 Jul 2007 15:12:32 -0400 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> Message-ID: I'll be there with one guest... - Rob On 7/17/07, Brian Broom wrote: > I'll be there > > > On 7/17/07, Robert Horvick wrote: > > In. > > > > > > On 7/17/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 > -- http://robsanheim.com From rick.denatale at gmail.com Tue Jul 17 15:17:15 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 17 Jul 2007 15:17:15 -0400 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> Message-ID: On 7/17/07, Matthew wrote: > In, with one guest. What, you're not packing!!!!!! I should be there too. -- Rick From javery at infozerk.com Tue Jul 17 16:54:08 2007 From: javery at infozerk.com (James Avery) Date: Tue, 17 Jul 2007 16:54:08 -0400 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> References: <4ce336a20707170621y546e1e71la3ff050d5dc2de8@mail.gmail.com> Message-ID: <78b4e8840707171354u4b73810braa2f9b0e0b8db193@mail.gmail.com> I'll be there. -James On 7/17/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 lists-jared at nc.rr.com Wed Jul 18 15:11:31 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 18 Jul 2007 15:11:31 -0400 Subject: [raleigh.rb] Evented mongrels anyone? Message-ID: <4FAA7BC4-A531-49AA-96B8-520C3D651F97@nc.rr.com> Has anyone heard about this or know anything about them? I'm not seeing much on Google. I wonder if I'm using the right term? http://brainspl.at/articles/2007/05/12/event-driven-mongrel-and- swiftiply-proxy "Kirk Haines of the IOWA project has finally released his swiftiply package. I?m really excited about this project. The project has a few parts. There is a monkey patch to Mongrel that rips out ruby?s threading and Socket classes and replaces them with an eventmachine event loop. I have been testing this evented mongrel extensively for the past few weeks and it is notably faster and higher throughput then normal multi threaded mongrel." Thanks! Jared http://AgileArtisans.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070718/63452500/attachment-0001.html From lists-jared at nc.rr.com Wed Jul 18 15:25:39 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 18 Jul 2007 15:25:39 -0400 Subject: [raleigh.rb] Evented mongrels anyone? In-Reply-To: <4FAA7BC4-A531-49AA-96B8-520C3D651F97@nc.rr.com> References: <4FAA7BC4-A531-49AA-96B8-520C3D651F97@nc.rr.com> Message-ID: <89FF05F0-8008-421B-BDDE-53D20F6C190D@nc.rr.com> Ah ha! http://rubyforge.org/pipermail/swiftiply-users/2007-June/000008.html At least Rick's looked at it. :) Jared http://AgileArtisans.com On Jul 18, 2007, at 3:11 PM |Jul/18, Jared Richardson wrote: > Has anyone heard about this or know anything about them? I'm not > seeing much on Google. I wonder if I'm using the right term? > > http://brainspl.at/articles/2007/05/12/event-driven-mongrel-and- > swiftiply-proxy > > "Kirk Haines of the IOWA project has finally released his swiftiply > package. I?m really excited about this project. The project has a > few parts. There is a monkey patch to Mongrel that rips out ruby?s > threading and Socket classes and replaces them with an eventmachine > event loop. I have been testing this evented mongrel extensively > for the past few weeks and it is notably faster and higher > throughput then normal multi threaded mongrel." > > Thanks! > > Jared > http://AgileArtisans.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/20070718/aa6d6ed4/attachment.html From rick.denatale at gmail.com Wed Jul 18 19:08:53 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Wed, 18 Jul 2007 19:08:53 -0400 Subject: [raleigh.rb] Evented mongrels anyone? In-Reply-To: <89FF05F0-8008-421B-BDDE-53D20F6C190D@nc.rr.com> References: <4FAA7BC4-A531-49AA-96B8-520C3D651F97@nc.rr.com> <89FF05F0-8008-421B-BDDE-53D20F6C190D@nc.rr.com> Message-ID: On 7/18/07, Jared Richardson wrote: > Ah ha! > > http://rubyforge.org/pipermail/swiftiply-users/2007-June/000008.html > > At least Rick's looked at it. :) Yeppir, I played with it a bit. It looks pretty cool, but I'm a little leery about putting it into production. I'm still subscribed to the mailing list but there is very little traffic so far. One of the things I've got on my back-burner shelf is to try to re-factor swiftiply_mongrel_rails to look more like mongrel_cluster_ctl but I haven't found the cycles to even think about it for some weeks. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ From geoff at geoffdavis.net Thu Jul 19 17:32:23 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Thu, 19 Jul 2007 17:32:23 -0400 Subject: [raleigh.rb] String substitution Message-ID: <7365BE4D-E774-40C0-BB3D-EF7C841EC079@geoffdavis.net> Is there any easy way to make string substitution happen short of calling eval? (i.e. \s turns to a space, \n to a carriage return, etc) I'm mucking around with the internals of Hpricot and think I have come across a bug in the way text nodes handle entity tags. I work around the problem by calling inspect on the node and manually processing the entities, but then I have carriage returns mapped to \n, etc. Calling eval on the result should be fine, but that makes me rather nervous. I can do the substitution by hand with some regexes, but I worry that I'll screw something up. Any suggestions? From rick.denatale at gmail.com Thu Jul 19 21:48:31 2007 From: rick.denatale at gmail.com (Rick DeNatale) Date: Thu, 19 Jul 2007 21:48:31 -0400 Subject: [raleigh.rb] String substitution In-Reply-To: <7365BE4D-E774-40C0-BB3D-EF7C841EC079@geoffdavis.net> References: <7365BE4D-E774-40C0-BB3D-EF7C841EC079@geoffdavis.net> Message-ID: On 7/19/07, Geoff Davis wrote: > Is there any easy way to make string substitution happen short of > calling eval? (i.e. \s turns to a space, \n to a carriage return, etc) One way is gsub with a block e.g. irb(main):001:0> "abc\\ndef\\sghi".gsub(/\\[ns]/) {|m| m[1,1] == "n" ? "\n" : "\s"} => "abc\ndef ghi" -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ From geoff at geoffdavis.net Mon Jul 23 10:40:14 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 23 Jul 2007 10:40:14 -0400 Subject: [raleigh.rb] Interesting gotcha with exception handling Message-ID: I just hit an interesting gotcha that I thought I'd share: In a Rails controller I have some code that sends email. Occasionally I get a bad email address that generates an exception during the send (e.g. the receiving SMTP server times out), so I wrapped the mail sending call in a begin/rescue block: begin MyClass.deliver_my_email(address) rescue => e logger.error(([e.to_s]+e.backtrace).join("\n)) logger.error("Email address #{address} resulted in an error") end Much to my surprise, the exceptions continued to crop up. After a little digging, I discovered that (unlike in, say, Python), begin ... rescue => e ... end does NOT catch all exceptions; rather, it only catches exceptions that inherit from StandardError. A lot of methods in the Net module, including the mailer's send method, raise Timer::Error if things time out, and Timer::Error does NOT inherit from StandardError. Here's the fix: begin ... rescue Exception => e ... end (or alternatively the following) require 'timeout' begin ... rescue Timer::Error, StandardError => e ... end From mark.bennett.mail at gmail.com Wed Jul 25 12:53:01 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Wed, 25 Jul 2007 12:53:01 -0400 Subject: [raleigh.rb] rails magic Message-ID: What magic is rails doing that makes this code work, which will fail in standalone ruby? class Klass def self.runnit puts "it works" end end proc(&:runnit).call Klass Ruby standalone kicks out the message: wrong argument type Symbol (expected Proc) (TypeError) Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070725/d2207eac/attachment.html From tj at stank.us Wed Jul 25 12:56:42 2007 From: tj at stank.us (TJ Stankus) Date: Wed, 25 Jul 2007 12:56:42 -0400 Subject: [raleigh.rb] rails magic In-Reply-To: References: Message-ID: class Symbol # Turns the symbol into a simple proc, which is especially useful for enumerations. Examples: # # # The same as people.collect { |p| p.name } # people.collect(&:name) # # # The same as people.select { |p| p.manager? }.collect { |p| p.salary } # people.select(&:manager?).collect(&:salary) def to_proc Proc.new { |*args| args.shift.__send__(self, *args) } end end On 7/25/07, Mark Bennett wrote: > What magic is rails doing that makes this code work, which will fail in > standalone ruby? > > class Klass > def self.runnit > puts "it works" > end > end > > proc(&:runnit).call Klass > > > Ruby standalone kicks out the message: wrong argument type Symbol (expected > Proc) (TypeError) > > Thanks, > > Mark > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From fwierzbicki at gmail.com Wed Jul 25 12:57:46 2007 From: fwierzbicki at gmail.com (Frank Wierzbicki) Date: Wed, 25 Jul 2007 12:57:46 -0400 Subject: [raleigh.rb] rails magic In-Reply-To: References: Message-ID: <4dab5f760707250957p175c0c25v17469d335da0670b@mail.gmail.com> On 7/25/07, Mark Bennett wrote: > What magic is rails doing that makes this code work, which will fail in > standalone ruby? > > class Klass > def self.runnit > puts "it works" > end > end > > proc(&:runnit).call Klass It is using Symbol#to_proc see: http://pragdave.pragprog.com/pragdave/2005/11/symbolto_proc.html -Frank From mark.bennett.mail at gmail.com Wed Jul 25 13:00:38 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Wed, 25 Jul 2007 13:00:38 -0400 Subject: [raleigh.rb] rails magic In-Reply-To: <4dab5f760707250957p175c0c25v17469d335da0670b@mail.gmail.com> References: <4dab5f760707250957p175c0c25v17469d335da0670b@mail.gmail.com> Message-ID: Awesome, thanks guys. Mark On 7/25/07, Frank Wierzbicki wrote: > > On 7/25/07, Mark Bennett wrote: > > What magic is rails doing that makes this code work, which will fail in > > standalone ruby? > > > > class Klass > > def self.runnit > > puts "it works" > > end > > end > > > > proc(&:runnit).call Klass > > It is using Symbol#to_proc see: > http://pragdave.pragprog.com/pragdave/2005/11/symbolto_proc.html > > -Frank > _______________________________________________ > 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/20070725/9760ac7b/attachment-0001.html From nathaniel at talbott.ws Tue Jul 31 22:35:18 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 31 Jul 2007 22:35:18 -0400 Subject: [raleigh.rb] Hoedown Reminder & Request Message-ID: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> Hello all, First of all, I wanted to remind everyone that the Hoedown's a mere 10 days away, and if you haven't gotten around to registering yet, YOU SHOULD DO THAT NOW!!! ;-) Secondly, I need 6 volunteers for Friday, and another 6 for Saturday. Volunteering basically amounts to showing up at least 30 minutes early, helping out throughout the day (don't worry, we'll make sure you get to see the sessions!) and planning on staying an extra half hour or so afterwards to help us clean up. If you can help, drop me an email back, and let me know if one of the days works better for you than the other one. Thanks all! -- Nathaniel Talbott <:((>< From tj at stank.us Tue Jul 31 22:37:06 2007 From: tj at stank.us (TJ Stankus) Date: Tue, 31 Jul 2007 22:37:06 -0400 Subject: [raleigh.rb] Hoedown Reminder & Request In-Reply-To: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> References: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> Message-ID: I'd be glad to help. Put me down for Saturday. :) -TJ On 7/31/07, Nathaniel Talbott wrote: > Hello all, > > First of all, I wanted to remind everyone that the Hoedown's a mere 10 > days away, and if you haven't gotten around to registering yet, YOU > SHOULD DO THAT NOW!!! ;-) > > Secondly, I need 6 volunteers for Friday, and another 6 for Saturday. > Volunteering basically amounts to showing up at least 30 minutes > early, helping out throughout the day (don't worry, we'll make sure > you get to see the sessions!) and planning on staying an extra half > hour or so afterwards to help us clean up. If you can help, drop me an > email back, and let me know if one of the days works better for you > than the other one. > > Thanks all! > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From adam at thewilliams.ws Tue Jul 31 22:42:59 2007 From: adam at thewilliams.ws (Adam Williams) Date: Tue, 31 Jul 2007 22:42:59 -0400 Subject: [raleigh.rb] Hoedown Reminder & Request In-Reply-To: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> References: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> Message-ID: In on both days. Or is that a given? ;) On Jul 31, 2007, at 10:35 PM, Nathaniel Talbott wrote: > Hello all, > > First of all, I wanted to remind everyone that the Hoedown's a mere 10 > days away, and if you haven't gotten around to registering yet, YOU > SHOULD DO THAT NOW!!! ;-) > > Secondly, I need 6 volunteers for Friday, and another 6 for Saturday. > Volunteering basically amounts to showing up at least 30 minutes > early, helping out throughout the day (don't worry, we'll make sure > you get to see the sessions!) and planning on staying an extra half > hour or so afterwards to help us clean up. If you can help, drop me an > email back, and let me know if one of the days works better for you > than the other one. > > Thanks all! > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members