From moonshark413 at yahoo.com Wed Nov 1 06:04:23 2006 From: moonshark413 at yahoo.com (P.D.S.) Date: Wed, 1 Nov 2006 03:04:23 -0800 (PST) Subject: [raleigh.rb] Pagination with a generic collection Message-ID: <20061101110423.44868.qmail@web54610.mail.yahoo.com> Thanks Tom, that works. ----- Original Message ---- From: Tom Davies To: The mailing list of raleigh.rb Sent: Tuesday, October 31, 2006 11:16:08 PM Subject: Re: [raleigh.rb] Pagination with a generic collection You may want to use the built-in helper for page links: pagination_links @pages Or, to get at the current page number, you can use: @pages.current.number Tom On 10/31/06, P.D.S. wrote: > > parse error, unexpected tIVAR > > ----- Original Message ---- > From: Phil Puccio > To: The mailing list of raleigh.rb > > Sent: Tuesday, October 31, 2006 7:37:54 PM > Subject: Re: [raleigh.rb] Pagination with a generic collection > > > Is the problem that current_page_number is defined as an instance variable, > but there's no accessor method for it? What would > @pages. at current_page_number return? How about @pages.current_page or > @pages.current ? > > . . . Phil > > On 10/31/06, P.D.S. wrote: > > > > Per the ActionController::Pagination::Paginator > documentation, these methods are there somewhere : > > * [] > > * current > > * current_page > > * current_page= > > * each > > * first > > * first_page > > * has_page_number? > > * last > > * last_page > > * length > > * new > > * page_count > > > > And indeed a @pages.inspect delivers a bunch of gibberish (not really, but > a ton to wade through) ending with the following : > > > > @ignore_missing_templates=nil, @template=#<#:0x257005c ...>>, > @cookies={"_session_id"=>["ca67fa74b9bf12903c84776b9d875ff8"]}>, > @current_page=#, @number=1>, @pages={1=>#, @number=1>}, @page_count=6, > @items_per_page=12, @current_page_number=1, @item_count=68> > > > > but if I put a line like <%= @pages.current_page_number %> I get > undefined method `current_page_number' for > # > > > > Strangely, <%= @pages.page_count %> - works just fine. > > > > What voodoo am I missing? > > > > > > > > > > _______________________________________________ > > 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 > > -- Tom Davies http://atomgiant.com http://gifthat.com _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From tj at stank.us Wed Nov 1 22:07:19 2006 From: tj at stank.us (TJ Stankus) Date: Wed, 1 Nov 2006 22:07:19 -0500 Subject: [raleigh.rb] [OT] Logos Message-ID: I could've sworn there was some chatter on this list about getting a logo designed through one of the low-cost online design shops, but I've looked through the archives and couldn't find it. On that note, if anyone has any logo design recommendations, let's hear 'em. :) Thanks, -TJ From atomgiant at gmail.com Thu Nov 2 06:09:22 2006 From: atomgiant at gmail.com (Tom Davies) Date: Thu, 2 Nov 2006 06:09:22 -0500 Subject: [raleigh.rb] [OT] Logos In-Reply-To: References: Message-ID: I've used http://designoutpost.com before for a logo. You submit your requirements and how much you will pay and several designers will compete for the money. I think the minimum amount for a logo is ~ $135. You can look through the archives to see some of the logos that have recently been complete here: http://www.designoutpost.com/forums/forumdisplay.php?f=14 Tom On 11/1/06, TJ Stankus wrote: > I could've sworn there was some chatter on this list about getting a > logo designed through one of the low-cost online design shops, but > I've looked through the archives and couldn't find it. > > On that note, if anyone has any logo design recommendations, let's hear 'em. :) > > Thanks, > > -TJ > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Tom Davies http://atomgiant.com http://gifthat.com From tj at stank.us Thu Nov 2 08:46:17 2006 From: tj at stank.us (TJ Stankus) Date: Thu, 2 Nov 2006 08:46:17 -0500 Subject: [raleigh.rb] [OT] Logos In-Reply-To: References: Message-ID: Thanks for the info Tom. Were you happy with designoutpost's service and results? -TJ On 11/2/06, Tom Davies wrote: > I've used http://designoutpost.com before for a logo. You submit your > requirements and how much you will pay and several designers will > compete for the money. I think the minimum amount for a logo is ~ > $135. > > You can look through the archives to see some of the logos that have > recently been complete here: > http://www.designoutpost.com/forums/forumdisplay.php?f=14 > > Tom > > On 11/1/06, TJ Stankus wrote: > > I could've sworn there was some chatter on this list about getting a > > logo designed through one of the low-cost online design shops, but > > I've looked through the archives and couldn't find it. > > > > On that note, if anyone has any logo design recommendations, let's hear 'em. :) > > > > Thanks, > > > > -TJ > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > -- > Tom Davies > > http://atomgiant.com > http://gifthat.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From atomgiant at gmail.com Thu Nov 2 09:37:01 2006 From: atomgiant at gmail.com (Tom Davies) Date: Thu, 2 Nov 2006 09:37:01 -0500 Subject: [raleigh.rb] [OT] Logos In-Reply-To: References: Message-ID: Heh, guess I forgot that part. I have used them a couple of times. One time I used them for a logo and was very happy with the end result. I also recommend them to any of my friends that are looking for logo work and so far no-one has had any negative feedback. Another time I had some icons designed but I ended up not using them because they just weren't quite as polished as some of the free icon sets I since discovered. In general, I think if you stick with logos, they are a great resource. You will have the most success if you can point to specific other logos or images that you like. And also, if you give good feedback most of the designers are happy to follow your suggestions. For logos on a budget, I think you would be hard-pressed to find a better resource. Tom On 11/2/06, TJ Stankus wrote: > Thanks for the info Tom. Were you happy with designoutpost's service > and results? > > -TJ > > On 11/2/06, Tom Davies wrote: > > I've used http://designoutpost.com before for a logo. You submit your > > requirements and how much you will pay and several designers will > > compete for the money. I think the minimum amount for a logo is ~ > > $135. > > > > You can look through the archives to see some of the logos that have > > recently been complete here: > > http://www.designoutpost.com/forums/forumdisplay.php?f=14 > > > > Tom > > > > On 11/1/06, TJ Stankus wrote: > > > I could've sworn there was some chatter on this list about getting a > > > logo designed through one of the low-cost online design shops, but > > > I've looked through the archives and couldn't find it. > > > > > > On that note, if anyone has any logo design recommendations, let's hear 'em. :) > > > > > > Thanks, > > > > > > -TJ > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > -- > > Tom Davies > > > > http://atomgiant.com > > http://gifthat.com > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Tom Davies http://atomgiant.com http://gifthat.com From kevin.olbrich at gmail.com Fri Nov 3 12:55:14 2006 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Fri, 3 Nov 2006 12:55:14 -0500 Subject: [raleigh.rb] =?windows-1252?q?Topic_-_=93Open_Source_Licensing=3A?= =?windows-1252?q?_The_Basics=2C_The_Benefits=2C_The_Buzz=94?= Message-ID: Topic - "Open Source Licensing: The Basics, The Benefits, The Buzz" A presentation of general interest next Thursday at 5:15pm at UNC.... http://research.unc.edu/otd/seminar/ I won't be able to attend, but if any of you go, I'd be interested in hearing a summary. -- Kevin Olbrich kevin.olbrich at gmail.com From nospam at tonyspencer.com Sun Nov 5 11:38:28 2006 From: nospam at tonyspencer.com (Tony Spencer) Date: Sun, 05 Nov 2006 11:38:28 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: Message-ID: Does anyone have a good solution for getting form validation errors from the model to show up next to the input that caused the error? An example of what I?m talking about can be seen by submitting this form while leaving all fields empty: http://www.raleighonrails.com/notify.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061105/a1404baf/attachment.html From kevin.olbrich at gmail.com Sun Nov 5 14:18:23 2006 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Sun, 5 Nov 2006 14:18:23 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: References: Message-ID: Yes, I've been putting together a few things on exactly that problem recently. Here's something related to get you started... I'm planning to roll all my stuff up into a plugin at some point, but if you want a pre-release, let me know. http://www.sciwerks.com/blog/2006/10/09/using-an-auto_complete-to-ensure-uniqueness/ _Kevin On 11/5/06, Tony Spencer wrote: > > Does anyone have a good solution for getting form validation errors from > the model to show up next to the input that caused the error? > > An example of what I'm talking about can be seen by submitting this form > while leaving all fields empty: > http://www.raleighonrails.com/notify.htm > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. From curtis.duhn at gmail.com Sun Nov 5 15:13:24 2006 From: curtis.duhn at gmail.com (Curtis Duhn) Date: Sun, 5 Nov 2006 15:13:24 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: References: Message-ID: <3e320180611051213r656b96f6xefd3ece16db78496@mail.gmail.com> This looks like a job for RJS. That's where I would turn in a case like this where you potentially want to modify multiple parts of a page depending on the results of a link_to_remote. Here's a bunch of info on RJS: http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html Curtis On 11/5/06, Tony Spencer wrote: > > Does anyone have a good solution for getting form validation errors from > the model to show up next to the input that caused the error? > > An example of what I'm talking about can be seen by submitting this form > while leaving all fields empty: > http://www.raleighonrails.com/notify.htm > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Curtis Duhn curtis.duhn at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061105/064a0056/attachment.html From kevin.olbrich at gmail.com Sun Nov 5 21:38:13 2006 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Sun, 5 Nov 2006 21:38:13 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: <3e320180611051213r656b96f6xefd3ece16db78496@mail.gmail.com> References: <3e320180611051213r656b96f6xefd3ece16db78496@mail.gmail.com> Message-ID: No time like the present to start publishing this stuff... http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ _Kevin On 11/5/06, Curtis Duhn wrote: > This looks like a job for RJS. That's where I would turn in a case like > this where you potentially want to modify multiple parts of a page depending > on the results of a link_to_remote. > > Here's a bunch of info on RJS: > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > Curtis > > On 11/5/06, Tony Spencer wrote: > > > > > > Does anyone have a good solution for getting form validation errors from > the model to show up next to the input that caused the error? > > > > An example of what I'm talking about can be seen by submitting this form > while leaving all fields empty: > > http://www.raleighonrails.com/notify.htm > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > -- > Curtis Duhn > curtis.duhn at gmail.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. From nospam at tonyspencer.com Mon Nov 6 09:48:09 2006 From: nospam at tonyspencer.com (Tony Spencer) Date: Mon, 06 Nov 2006 09:48:09 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: Message-ID: Kevin, This looks great! I wonder though if there could be a way to eliminate having to add the error_for line under each input. Would it be possible to override the text_field method to append the error message after displaying the input field? On 11/5/06 9:38 PM, "Kevin Olbrich" wrote: > No time like the present to start publishing this stuff... > > http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-i > n-the-right-place/ > > _Kevin > > On 11/5/06, Curtis Duhn wrote: >> > This looks like a job for RJS. That's where I would turn in a case like >> > this where you potentially want to modify multiple parts of a page >> depending >> > on the results of a link_to_remote. >> > >> > Here's a bunch of info on RJS: >> > >> http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmer >> s-5.html >> > >> > Curtis >> > >> > On 11/5/06, Tony Spencer wrote: >>> > > >>> > > >>> > > Does anyone have a good solution for getting form validation errors from >> > the model to show up next to the input that caused the error? >>> > > >>> > > An example of what I'm talking about can be seen by submitting this form >> > while leaving all fields empty: >>> > > http://www.raleighonrails.com/notify.htm >>> > > >>> > > _______________________________________________ >>> > > raleigh-rb-members mailing list >>> > > raleigh-rb-members at rubyforge.org >>> > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> > > >>> > > >> > >> > >> > >> > -- >> > Curtis Duhn >> > curtis.duhn at gmail.com >> > _______________________________________________ >> > raleigh-rb-members mailing list >> > raleigh-rb-members at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061106/6c1810d3/attachment.html From kevin.olbrich at gmail.com Mon Nov 6 12:58:10 2006 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Mon, 6 Nov 2006 12:58:10 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: References: Message-ID: Tony, Yes, you could. I haven't yet done so. There are some cases, where you might not want to. For example, if you have a bunch of check boxes or radio buttons, you would only want one error field for the collection, and not one for each button. For now at least, it gives you control over where to place it. This is a work in progress.... _Kevin On 11/6/06, Tony Spencer wrote: > > Kevin, > This looks great! I wonder though if there could be a way to eliminate > having to add the error_for line under each input. Would it be possible to > override the text_field method to append the error message after displaying > the input field? > > > > On 11/5/06 9:38 PM, "Kevin Olbrich" wrote: > > > No time like the present to start publishing this stuff... > > http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ > > _Kevin > > On 11/5/06, Curtis Duhn wrote: > > This looks like a job for RJS. That's where I would turn in a case like > > this where you potentially want to modify multiple parts of a page > depending > > on the results of a link_to_remote. > > > > Here's a bunch of info on RJS: > > > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > > > Curtis > > > > On 11/5/06, Tony Spencer wrote: > > > > > > > > > Does anyone have a good solution for getting form validation errors > from > > the model to show up next to the input that caused the error? > > > > > > An example of what I'm talking about can be seen by submitting this > form > > while leaving all fields empty: > > > http://www.raleighonrails.com/notify.htm > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > > > -- > > Curtis Duhn > > curtis.duhn at gmail.com > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. From fatcatt316 at yahoo.com Mon Nov 6 13:58:31 2006 From: fatcatt316 at yahoo.com (Joe Peck) Date: Mon, 6 Nov 2006 10:58:31 -0800 (PST) Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: Message-ID: <20061106185831.74423.qmail@web61214.mail.yahoo.com> Hey, that is some nice work. It works well on objects that I have model validation for. But is there a way to use that for instance variables that have no model? Example (excerpt from a form):

<%= text_field_tag(:name, @params[:name], :size => 40, :maxlength=>40, :class=>"form-text") %> <%= error_for ':name' %>

In the controller, I put all of the form's errors into an array errors[]. Can you think of an easy way to use your error_for method with instance variables? Joe Kevin Olbrich wrote: No time like the present to start publishing this stuff... http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ _Kevin On 11/5/06, Curtis Duhn wrote: > This looks like a job for RJS. That's where I would turn in a case like > this where you potentially want to modify multiple parts of a page depending > on the results of a link_to_remote. > > Here's a bunch of info on RJS: > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > Curtis > > On 11/5/06, Tony Spencer wrote: > > > > > > Does anyone have a good solution for getting form validation errors from > the model to show up next to the input that caused the error? > > > > An example of what I'm talking about can be seen by submitting this form > while leaving all fields empty: > > http://www.raleighonrails.com/notify.htm > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > -- > Curtis Duhn > curtis.duhn at gmail.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members --------------------------------- Everyone is raving about the all-new Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061106/baff2223/attachment-0001.html From kevin.olbrich at gmail.com Mon Nov 6 14:40:30 2006 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Mon, 6 Nov 2006 14:40:30 -0500 Subject: [raleigh.rb] Form validation that highlights inputs In-Reply-To: <20061106185831.74423.qmail@web61214.mail.yahoo.com> References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> Message-ID: Yep, it already handles that. Just create an instance variable like this... @errors = {'field_name' => 'error message'} Then use <%= error_for 'field_name' %> _Kevin On 11/6/06, Joe Peck wrote: > Hey, that is some nice work. It works well on objects that I have model > validation for. But is there a way to use that for instance variables that > have no model? > > Example (excerpt from a form): >

> <%= text_field_tag(:name, @params[:name], :size => 40, :maxlength=>40, > :class=>"form-text") %> > <%= error_for ':name' %>

> > In the controller, I put all of the form's errors into an array errors[]. > Can you think of an easy way to use your error_for method with instance > variables? > > Joe > > > Kevin Olbrich wrote: > No time like the present to start publishing this stuff... > > http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ > > _Kevin > > On 11/5/06, Curtis Duhn wrote: > > This looks like a job for RJS. That's where I would turn in a case like > > this where you potentially want to modify multiple parts of a page > depending > > on the results of a link_to_remote. > > > > Here's a bunch of info on RJS: > > > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > > > Curtis > > > > On 11/5/06, Tony Spencer wrote: > > > > > > > > > Does anyone have a good solution for getting form validation errors from > > the model to show up next to the input that caused the error? > > > > > > An example of what I'm talking about can be seen by submitting this form > > while leaving all fields empty: > > > http://www.raleighonrails.com/notify.htm > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > > > -- > > Curtis Duhn > > curtis.duhn at gmail.com > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > > CONFIDENTIAL > Unless otherwise indicated or obvious from the nature of the following > communication, the information contained herein is a privileged and > confidential information/work product. The communication is intended > for the use of the individual or entity named above. It the reader of > this transmission is not the intended recipient, you are hereby > notified that any dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error or are not sure whether it is privileged, > please immediately notify us by return e-mail and destroy any copies, > electronic, paper, or otherwise, which you may have of this > communication. > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > ________________________________ > Everyone is raving about the all-new Yahoo! Mail. > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. From fatcatt316 at yahoo.com Wed Nov 15 11:10:24 2006 From: fatcatt316 at yahoo.com (Joe Peck) Date: Wed, 15 Nov 2006 08:10:24 -0800 (PST) Subject: [raleigh.rb] Using date_select with an instance variable In-Reply-To: Message-ID: <20061115161024.63843.qmail@web61222.mail.yahoo.com> Hey everybody, I'm trying to use a date_select field for an instance variable (I'm not storing it in the database). I'm just trying to pass it into a method through params. Here's what I'm doing now: <%= datetime_select (:expiry, @params[:expiry]) %> That's not working, it causes an exception. Is there an easy way to use date_select with an instance variable? Joe Kevin Olbrich wrote: Yep, it already handles that. Just create an instance variable like this... @errors = {'field_name' => 'error message'} Then use <%= error_for 'field_name' %> _Kevin On 11/6/06, Joe Peck wrote: > Hey, that is some nice work. It works well on objects that I have model > validation for. But is there a way to use that for instance variables that > have no model? > > Example (excerpt from a form): > Name > <%= text_field_tag(:name, @params[:name], :size => 40, :maxlength=>40, > :class=>"form-text") %> > <%= error_for ':name' %> > > In the controller, I put all of the form's errors into an array errors[]. > Can you think of an easy way to use your error_for method with instance > variables? > > Joe > > > Kevin Olbrich wrote: > No time like the present to start publishing this stuff... > > http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ > > _Kevin > > On 11/5/06, Curtis Duhn wrote: > > This looks like a job for RJS. That's where I would turn in a case like > > this where you potentially want to modify multiple parts of a page > depending > > on the results of a link_to_remote. > > > > Here's a bunch of info on RJS: > > > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > > > Curtis > > > > On 11/5/06, Tony Spencer wrote: > > > > > > > > > Does anyone have a good solution for getting form validation errors from > > the model to show up next to the input that caused the error? > > > > > > An example of what I'm talking about can be seen by submitting this form > > while leaving all fields empty: > > > http://www.raleighonrails.com/notify.htm > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > > > -- > > Curtis Duhn > > curtis.duhn at gmail.com > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > > CONFIDENTIAL > Unless otherwise indicated or obvious from the nature of the following > communication, the information contained herein is a privileged and > confidential information/work product. The communication is intended > for the use of the individual or entity named above. It the reader of > this transmission is not the intended recipient, you are hereby > notified that any dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error or are not sure whether it is privileged, > please immediately notify us by return e-mail and destroy any copies, > electronic, paper, or otherwise, which you may have of this > communication. > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > ________________________________ > Everyone is raving about the all-new Yahoo! Mail. > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members --------------------------------- Sponsored Link $420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/8574bdc9/attachment.html From lists-jared at nc.rr.com Wed Nov 15 13:08:14 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 15 Nov 2006 13:08:14 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> Message-ID: <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Hi all, I'm working with a Rails app that has multiple desktop widgets, some of which are slower than others, and they load serially with a single Mongrel instance, so I'm starting down the path of Mongrel clustering solutions. I'm starting here http://mongrel.rubyforge.org/docs/ choosing_deployment.html And so far Pound looks like a good solution to me... http:// mongrel.rubyforge.org/docs/pound.html I've also heard that DHH apparently uses http://www.inlab.de/ balanceng/index.html and it has a SourceForge version (interesting... ) http:// sourceforge.net/projects/balance/ The project is intended to ~scale~ so I figure a little research is in order... but on the other hand, Yagni... I don't want to over complicate development at the moment. Any thoughts or experience would be greatly appreciated! Jared http://jaredrichardson.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/b8eb5f86/attachment.html From geoff at geoffdavis.net Wed Nov 15 13:38:03 2006 From: geoff at geoffdavis.net (Geoff Davis) Date: Wed, 15 Nov 2006 13:38:03 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: I'm using balance and it seems to be working fine. I've heard mixed things about recent versions of pound but have never tried it myself. On Nov 15, 2006, at 1:08 PM, Jared Richardson wrote: > Hi all, > > I'm working with a Rails app that has multiple desktop widgets, > some of which are slower than others, and they load serially with a > single Mongrel instance, so I'm starting down the path of Mongrel > clustering solutions. > > I'm starting here http://mongrel.rubyforge.org/docs/ > choosing_deployment.html > > And so far Pound looks like a good solution to me... http:// > mongrel.rubyforge.org/docs/pound.html > > I've also heard that DHH apparently uses http://www.inlab.de/ > balanceng/index.html > > and it has a SourceForge version (interesting... ) http:// > sourceforge.net/projects/balance/ > > The project is intended to ~scale~ so I figure a little research is > in order... but on the other hand, Yagni... I don't want to over > complicate development at the moment. > > Any thoughts or experience would be greatly appreciated! > > Jared > http://jaredrichardson.net > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/97c8eaf8/attachment-0001.html From ryan.daigle at gmail.com Wed Nov 15 16:20:03 2006 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Wed, 15 Nov 2006 16:20:03 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: I have had some flaky experience with pound recently and am using Apache 2.2 with mod_proxy_balancer very happily... Ryan Daigle Lead Engineer, RTP Region ALTERthought rdaigle at alterthought.com O: (919) 424-4413 M: (919) 260-7179 On Nov 15, 2006, at 1:38 PM, Geoff Davis wrote: I'm using balance and it seems to be working fine. I've heard mixed things about recent versions of pound but have never tried it myself. On Nov 15, 2006, at 1:08 PM, Jared Richardson wrote: > Hi all, > > I'm working with a Rails app that has multiple desktop widgets, > some of which are slower than others, and they load serially with a > single Mongrel instance, so I'm starting down the path of Mongrel > clustering solutions. > > I'm starting here http://mongrel.rubyforge.org/docs/ > choosing_deployment.html > > And so far Pound looks like a good solution to me... http:// > mongrel.rubyforge.org/docs/pound.html > > I've also heard that DHH apparently uses http://www.inlab.de/ > balanceng/index.html > > and it has a SourceForge version (interesting... ) http:// > sourceforge.net/projects/balance/ > > The project is intended to ~scale~ so I figure a little research is > in order... but on the other hand, Yagni... I don't want to over > complicate development at the moment. > > Any thoughts or experience would be greatly appreciated! > > Jared > http://jaredrichardson.net > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/552a951c/attachment.html From lists-jared at nc.rr.com Wed Nov 15 18:42:40 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 15 Nov 2006 18:42:40 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: Thanks Geoff. If I could impose on you a bit more... How was the set up? Trivial? Challenging? Do you know the difference between the commercial version and the source forge version? Thanks! Jared http://jaredrichardson.net On Nov 15, 2006, at 1:38 PM, Geoff Davis wrote: > I'm using balance and it seems to be working fine. I've heard > mixed things about recent versions of pound but have never tried it > myself. > > > On Nov 15, 2006, at 1:08 PM, Jared Richardson wrote: > >> Hi all, >> >> I'm working with a Rails app that has multiple desktop widgets, >> some of which are slower than others, and they load serially with >> a single Mongrel instance, so I'm starting down the path of >> Mongrel clustering solutions. >> >> I'm starting here http://mongrel.rubyforge.org/docs/ >> choosing_deployment.html >> >> And so far Pound looks like a good solution to me... http:// >> mongrel.rubyforge.org/docs/pound.html >> >> I've also heard that DHH apparently uses http://www.inlab.de/ >> balanceng/index.html >> >> and it has a SourceForge version (interesting... ) http:// >> sourceforge.net/projects/balance/ >> >> The project is intended to ~scale~ so I figure a little research >> is in order... but on the other hand, Yagni... I don't want to >> over complicate development at the moment. >> >> Any thoughts or experience would be greatly appreciated! >> >> Jared >> http://jaredrichardson.net >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/7d2d9d24/attachment.html From lists-jared at nc.rr.com Wed Nov 15 19:07:59 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 15 Nov 2006 19:07:59 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: Could you point me at any tutorials for setting it up? Jared http://jaredrichardson.net On Nov 15, 2006, at 4:20 PM, Ryan Daigle wrote: > I have had some flaky experience with pound recently and am using > Apache 2.2 with mod_proxy_balancer very happily... > > > Ryan Daigle > Lead Engineer, RTP Region > ALTERthought > rdaigle at alterthought.com > O: (919) 424-4413 > M: (919) 260-7179 > > > On Nov 15, 2006, at 1:38 PM, Geoff Davis wrote: > > I'm using balance and it seems to be working fine. I've heard > mixed things about recent versions of pound but have never tried it > myself. > > > On Nov 15, 2006, at 1:08 PM, Jared Richardson wrote: > >> Hi all, >> >> I'm working with a Rails app that has multiple desktop widgets, >> some of which are slower than others, and they load serially with >> a single Mongrel instance, so I'm starting down the path of >> Mongrel clustering solutions. >> >> I'm starting here http://mongrel.rubyforge.org/docs/ >> choosing_deployment.html >> >> And so far Pound looks like a good solution to me... http:// >> mongrel.rubyforge.org/docs/pound.html >> >> I've also heard that DHH apparently uses http://www.inlab.de/ >> balanceng/index.html >> >> and it has a SourceForge version (interesting... ) http:// >> sourceforge.net/projects/balance/ >> >> The project is intended to ~scale~ so I figure a little research >> is in order... but on the other hand, Yagni... I don't want to >> over complicate development at the moment. >> >> Any thoughts or experience would be greatly appreciated! >> >> Jared >> http://jaredrichardson.net >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/cbab0823/attachment-0001.html From pelargir at gmail.com Wed Nov 15 20:22:18 2006 From: pelargir at gmail.com (Matthew) Date: Wed, 15 Nov 2006 20:22:18 -0500 Subject: [raleigh.rb] Using date_select with an instance variable In-Reply-To: <20061115161024.63843.qmail@web61222.mail.yahoo.com> References: <20061115161024.63843.qmail@web61222.mail.yahoo.com> Message-ID: #datetime_select is used in conjunction with an object and an attribute on that object. What you probably want is #select_date or #select_datetime, both of which are covered in the Rails documentation: http://api.rubyonrails.org HTH, Matthew On 11/15/06, Joe Peck wrote: > > Hey everybody, > > I'm trying to use a date_select field for an instance variable (I'm not > storing it in the database). I'm just trying to pass it into a method > through params. Here's what I'm doing now: > > <%= datetime_select (:expiry, @params[:expiry]) %> > > That's not working, it causes an exception. Is there an easy way to use > date_select with an instance variable? > > Joe > > > *Kevin Olbrich * wrote: > > Yep, it already handles that. > > Just create an instance variable like this... > > @errors = {'field_name' => 'error message'} > > Then use > > <%= error_for 'field_name' %> > > _Kevin > > On 11/6/06, Joe Peck wrote: > > Hey, that is some nice work. It works well on objects that I have model > > validation for. But is there a way to use that for instance variables > that > > have no model? > > > > Example (excerpt from a form): > > Name > > <%= text_field_tag(:name, @params[:name], :size => 40, :maxlength=>40, > > :class=>"form-text") %> > > <%= error_for ':name' %> > > > > > In the controller, I put all of the form's errors into an array > errors[]. > > Can you think of an easy way to use your error_for method with instance > > variables? > > > > Joe > > > > > > Kevin Olbrich wrote: > > No time like the present to start publishing this stuff... > > > > > http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ > > > > _Kevin > > > > On 11/5/06, Curtis Duhn wrote: > > > This looks like a job for RJS. That's where I would turn in a case > like > > > this where you potentially want to modify multiple parts of a page > > depending > > > on the results of a link_to_remote. > > > > > > Here's a bunch of info on RJS: > > > > > > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > > > > > Curtis > > > > > > On 11/5/06, Tony Spencer wrote: > > > > > > > > > > > > Does anyone have a good solution for getting form validation errors > from > > > the model to show up next to the input that caused the error? > > > > > > > > An example of what I'm talking about can be seen by submitting this > form > > > while leaving all fields empty: > > > > http://www.raleighonrails.com/notify.htm > > > > > > > > _______________________________________________ > > > > raleigh-rb-members mailing list > > > > raleigh-rb-members at rubyforge.org > > > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > > > > > > > > > -- > > > Curtis Duhn > > > curtis.duhn at gmail.com > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > -- > > Kevin Olbrich > > kevin.olbrich at gmail.com > > > > CONFIDENTIAL > > Unless otherwise indicated or obvious from the nature of the following > > communication, the information contained herein is a privileged and > > confidential information/work product. The communication is intended > > for the use of the individual or entity named above. It the reader of > > this transmission is not the intended recipient, you are hereby > > notified that any dissemination, distribution, or copying of this > > communication is strictly prohibited. If you have received this > > communication in error or are not sure whether it is privileged, > > please immediately notify us by return e-mail and destroy any copies, > > electronic, paper, or otherwise, which you may have of this > > communication. > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > ________________________________ > > Everyone is raving about the all-new Yahoo! Mail. > > > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > > CONFIDENTIAL > Unless otherwise indicated or obvious from the nature of the following > communication, the information contained herein is a privileged and > confidential information/work product. The communication is intended > for the use of the individual or entity named above. It the reader of > this transmission is not the intended recipient, you are hereby > notified that any dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error or are not sure whether it is privileged, > please immediately notify us by return e-mail and destroy any copies, > electronic, paper, or otherwise, which you may have of this > communication. > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > ------------------------------ > Sponsored Link > > $420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your > Mortgage? Find Out! > > _______________________________________________ > 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/20061115/56603061/attachment.html From ryan.daigle at gmail.com Wed Nov 15 20:39:38 2006 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Wed, 15 Nov 2006 20:39:38 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: <7297955F-C586-42D9-A0EF-57F35DFA073E@gmail.com> I actually worked through it myself from past Apache experiences, though I have bookmarked the following: http://bliki.rimuhosting.com/space/knowledgebase/linux/ miscapplications/ruby+on+rails http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails- mongrel-apache-capistrano-and-you/ http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html I also have the benefit of using a Rails Machine VPS account for work and they have a working Apache 2.2/mongrel instance configured out of the box. That was a good reference for obvious reasons. Let me know how it goes, apache can be mysterious at times but it's a pretty solid setup. -Ryan On Nov 15, 2006, at 7:07 PM, Jared Richardson wrote: Could you point me at any tutorials for setting it up? Jared http://jaredrichardson.net On Nov 15, 2006, at 4:20 PM, Ryan Daigle wrote: > I have had some flaky experience with pound recently and am using > Apache 2.2 with mod_proxy_balancer very happily... > > > Ryan Daigle > Lead Engineer, RTP Region > ALTERthought > rdaigle at alterthought.com > O: (919) 424-4413 > M: (919) 260-7179 > > > On Nov 15, 2006, at 1:38 PM, Geoff Davis wrote: > > I'm using balance and it seems to be working fine. I've heard > mixed things about recent versions of pound but have never tried it > myself. > > > On Nov 15, 2006, at 1:08 PM, Jared Richardson wrote: > >> Hi all, >> >> I'm working with a Rails app that has multiple desktop widgets, >> some of which are slower than others, and they load serially with >> a single Mongrel instance, so I'm starting down the path of >> Mongrel clustering solutions. >> >> I'm starting here http://mongrel.rubyforge.org/docs/ >> choosing_deployment.html >> >> And so far Pound looks like a good solution to me... http:// >> mongrel.rubyforge.org/docs/pound.html >> >> I've also heard that DHH apparently uses http://www.inlab.de/ >> balanceng/index.html >> >> and it has a SourceForge version (interesting... ) http:// >> sourceforge.net/projects/balance/ >> >> The project is intended to ~scale~ so I figure a little research >> is in order... but on the other hand, Yagni... I don't want to >> over complicate development at the moment. >> >> Any thoughts or experience would be greatly appreciated! >> >> Jared >> http://jaredrichardson.net >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/cdf65aae/attachment-0001.html From geoff at geoffdavis.net Wed Nov 15 21:12:17 2006 From: geoff at geoffdavis.net (Geoff Davis) Date: Wed, 15 Nov 2006 21:12:17 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: It was trivial. I don't remember what the differences were, but the web site spells them out iirc. It wasn't anything I needed. On Nov 15, 2006, at 6:42 PM, Jared Richardson wrote: > Thanks Geoff. If I could impose on you a bit more... > > How was the set up? Trivial? Challenging? > > Do you know the difference between the commercial version and the > source forge version? > > Thanks! > > Jared > http://jaredrichardson.net > > On Nov 15, 2006, at 1:38 PM, Geoff Davis wrote: > >> I'm using balance and it seems to be working fine. I've heard >> mixed things about recent versions of pound but have never tried >> it myself. >> >> >> On Nov 15, 2006, at 1:08 PM, Jared Richardson wrote: >> >>> Hi all, >>> >>> I'm working with a Rails app that has multiple desktop widgets, >>> some of which are slower than others, and they load serially with >>> a single Mongrel instance, so I'm starting down the path of >>> Mongrel clustering solutions. >>> >>> I'm starting here http://mongrel.rubyforge.org/docs/ >>> choosing_deployment.html >>> >>> And so far Pound looks like a good solution to me... http:// >>> mongrel.rubyforge.org/docs/pound.html >>> >>> I've also heard that DHH apparently uses http://www.inlab.de/ >>> balanceng/index.html >>> >>> and it has a SourceForge version (interesting... ) http:// >>> sourceforge.net/projects/balance/ >>> >>> The project is intended to ~scale~ so I figure a little research >>> is in order... but on the other hand, Yagni... I don't want to >>> over complicate development at the moment. >>> >>> Any thoughts or experience would be greatly appreciated! >>> >>> Jared >>> http://jaredrichardson.net >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061115/7fce95fa/attachment.html From fatcatt316 at yahoo.com Thu Nov 16 09:55:20 2006 From: fatcatt316 at yahoo.com (Joe Peck) Date: Thu, 16 Nov 2006 06:55:20 -0800 (PST) Subject: [raleigh.rb] Using date_select with an instance variable In-Reply-To: Message-ID: <20061116145520.92681.qmail@web61213.mail.yahoo.com> MAN, thank you so much, that seems to have done the trick. I'm going to bookmark that site for future reference. Good luck with T-scripts, by the way. Joe Matthew wrote: #datetime_select is used in conjunction with an object and an attribute on that object. What you probably want is #select_date or #select_datetime, both of which are covered in the Rails documentation: http://api.rubyonrails.org HTH, Matthew On 11/15/06, Joe Peck wrote: Hey everybody, I'm trying to use a date_select field for an instance variable (I'm not storing it in the database). I'm just trying to pass it into a method through params. Here's what I'm doing now: <%= datetime_select (:expiry, @params[:expiry]) %> That's not working, it causes an exception. Is there an easy way to use date_select with an instance variable? Joe Kevin Olbrich < kevin.olbrich at gmail.com> wrote: Yep, it already handles that. Just create an instance variable like this... @errors = {'field_name' => 'error message'} Then use <%= error_for 'field_name' %> _Kevin On 11/6/06, Joe Peck wrote: > Hey, that is some nice work. It works well on objects that I have model > validation for. But is there a way to use that for instance variables that > have no model? > > Example (excerpt from a form): > Name > <%= text_field_tag(:name, @params[:name], :size => 40, :maxlength=>40, > :class=>"form-text") %> > <%= error_for ':name' %> > > In the controller, I put all of the form's errors into an array errors[]. > Can you think of an easy way to use your error_for method with instance > variables? > > Joe > > > Kevin Olbrich wrote: > No time like the present to start publishing this stuff... > > http://www.sciwerks.com/blog/2006/11/05/live-forms-part-1-putting-the-errors-in-the-right-place/ > > _Kevin > > On 11/5/06, Curtis Duhn wrote: > > This looks like a job for RJS. That's where I would turn in a case like > > this where you potentially want to modify multiple parts of a page > depending > > on the results of a link_to_remote. > > > > Here's a bunch of info on RJS: > > > http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html > > > > Curtis > > > > On 11/5/06, Tony Spencer wrote: > > > > > > > > > Does anyone have a good solution for getting form validation errors from > > the model to show up next to the input that caused the error? > > > > > > An example of what I'm talking about can be seen by submitting this form > > while leaving all fields empty: > > > http://www.raleighonrails.com/notify.htm > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > > > -- > > Curtis Duhn > > curtis.duhn at gmail.com > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > > CONFIDENTIAL > Unless otherwise indicated or obvious from the nature of the following > communication, the information contained herein is a privileged and > confidential information/work product. The communication is intended > for the use of the individual or entity named above. It the reader of > this transmission is not the intended recipient, you are hereby > notified that any dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error or are not sure whether it is privileged, > please immediately notify us by return e-mail and destroy any copies, > electronic, paper, or otherwise, which you may have of this > communication. > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > ________________________________ > Everyone is raving about the all-new Yahoo! Mail. > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members --------------------------------- Sponsored Link $420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out! _______________________________________________ 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061116/0c1a54ad/attachment.html From adam at thewilliams.ws Thu Nov 16 12:01:03 2006 From: adam at thewilliams.ws (Adam Williams) Date: Thu, 16 Nov 2006 12:01:03 -0500 Subject: [raleigh.rb] Using date_select with an instance variable In-Reply-To: <20061116145520.92681.qmail@web61213.mail.yahoo.com> References: <20061116145520.92681.qmail@web61213.mail.yahoo.com> Message-ID: Just so you know... You can run gem_server from a command line and get the documentation for all of your installed gems, including Rails. Once running, you will find the docs at http://localhost:8808. aiwilliams On Nov 16, 2006, at 9:55 AM, Joe Peck wrote: > MAN, thank you so much, that seems to have done the trick. I'm > going to bookmark that site for future reference. Good luck with T- > scripts, by the way. > > Joe > > Matthew wrote:#datetime_select is used in > conjunction with an object and an attribute on that object. What > you probably want is #select_date or #select_datetime, both of > which are covered in the Rails documentation: > > http://api.rubyonrails.org > > HTH, > Matthew From lists-jared at nc.rr.com Thu Nov 16 20:49:42 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Thu, 16 Nov 2006 20:49:42 -0500 Subject: [raleigh.rb] Mongrel clustering for performance? In-Reply-To: References: <20061106185831.74423.qmail@web61214.mail.yahoo.com> <37372737-995C-430D-BF49-DC5296FE68CB@nc.rr.com> Message-ID: <7B4F90EF-533B-4BEE-A02E-FC9F3FB7E299@nc.rr.com> On Nov 15, 2006, at 9:12 PM, Geoff Davis wrote: > It was trivial. I don't remember what the differences were, but > the web site spells them out iirc. It wasn't anything I needed. > Thanks! And for the record, everyone on this list is a ~great~ resource! We've got all levels here, right up the gurus. A community that's this willing to help out one another is rare. I'm glad we've got this one. Jared http://jaredrichardson.net From fatcatt316 at yahoo.com Fri Nov 17 10:33:08 2006 From: fatcatt316 at yahoo.com (Joe Peck) Date: Fri, 17 Nov 2006 07:33:08 -0800 (PST) Subject: [raleigh.rb] Captcha using ImageMagick... In-Reply-To: Message-ID: <20061117153308.7744.qmail@web61220.mail.yahoo.com> Hi everyone, I'm trying to implement captcha using Imagemagick, and so far have had a hard time locating information on how to do that. Anyone else have experience implementing captcha on RoR? Joe --------------------------------- Sponsored Link Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061117/5c65e9eb/attachment.html From z at zworkbench.com Mon Nov 20 07:54:44 2006 From: z at zworkbench.com (Chris Garrett) Date: Mon, 20 Nov 2006 07:54:44 -0500 Subject: [raleigh.rb] Captcha using ImageMagick... In-Reply-To: <20061117153308.7744.qmail@web61220.mail.yahoo.com> References: <20061117153308.7744.qmail@web61220.mail.yahoo.com> Message-ID: <82883b650611200454x16829e01ned30ab274ad77ea4@mail.gmail.com> Good timing! I just spent the weekend doing this because a Very Annoying Person has been driving up SMS traffic on my site. Most of my weekend was spent trying out rails captcha systems that didn't work as advertised. I went with validates_captcha after struggling with the others. It supports both image-based and text-based captchas like "Joe has two apples. How many apples does Joe have?" Documentation is minimal - let me know if you need any help. http://dev.2750flesk.com/validates_captcha/ You can see my implementation here: www.yamaha-wireless.com Chris On 11/17/06, Joe Peck wrote: > > Hi everyone, > > I'm trying to implement captcha using Imagemagick, and so far have had a > hard time locating information on how to do that. Anyone else have > experience implementing captcha on RoR? > > Joe > > ------------------------------ > Sponsored Link > > Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. > Intro-*Terms > > _______________________________________________ > 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/20061120/d8810bf4/attachment.html From atomgiant at gmail.com Mon Nov 20 08:25:03 2006 From: atomgiant at gmail.com (Tom Davies) Date: Mon, 20 Nov 2006 08:25:03 -0500 Subject: [raleigh.rb] Captcha using ImageMagick... In-Reply-To: <20061117153308.7744.qmail@web61220.mail.yahoo.com> References: <20061117153308.7744.qmail@web61220.mail.yahoo.com> Message-ID: Hi Joe, I personally haven't used captcha yet in my rails apps, but this question was asked recently on this list. The recommended solution was validates_captcha: http://svn.2750flesk.com/validates_captcha/trunk/README And here is another tutorial on using it with the Login Engine: http://ridingrails.blogspot.com/2006/06/captcha-login-engine.html Tom On 11/17/06, Joe Peck wrote: > Hi everyone, > > I'm trying to implement captcha using Imagemagick, and so far have had a > hard time locating information on how to do that. Anyone else have > experience implementing captcha on RoR? > > Joe > > > ________________________________ > Sponsored Link > > Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. > Intro-*Terms > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -- Tom Davies http://atomgiant.com http://gifthat.com From fatcatt316 at yahoo.com Mon Nov 20 09:56:07 2006 From: fatcatt316 at yahoo.com (Joe Peck) Date: Mon, 20 Nov 2006 06:56:07 -0800 (PST) Subject: [raleigh.rb] Captcha using ImageMagick... In-Reply-To: <82883b650611200454x16829e01ned30ab274ad77ea4@mail.gmail.com> Message-ID: <20061120145607.62554.qmail@web61219.mail.yahoo.com> Thanks very much. I am following it along right now, and will let you know when I inevitably run into a seemingly-impassable hurdle. Joe Chris Garrett wrote: Good timing! I just spent the weekend doing this because a Very Annoying Person has been driving up SMS traffic on my site. Most of my weekend was spent trying out rails captcha systems that didn't work as advertised. I went with validates_captcha after struggling with the others. It supports both image-based and text-based captchas like "Joe has two apples. How many apples does Joe have?" Documentation is minimal - let me know if you need any help. http://dev.2750flesk.com/validates_captcha/ You can see my implementation here: www.yamaha-wireless.com Chris On 11/17/06, Joe Peck wrote: Hi everyone, I'm trying to implement captcha using Imagemagick, and so far have had a hard time locating information on how to do that. Anyone else have experience implementing captcha on RoR? Joe --------------------------------- Sponsored Link Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms _______________________________________________ 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 --------------------------------- Sponsored Link Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo - Calculate new house payment -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061120/1aac567e/attachment.html From lists-jared at nc.rr.com Mon Nov 20 10:14:25 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Mon, 20 Nov 2006 10:14:25 -0500 Subject: [raleigh.rb] Captcha using ImageMagick... In-Reply-To: <20061120145607.62554.qmail@web61219.mail.yahoo.com> References: <20061120145607.62554.qmail@web61219.mail.yahoo.com> Message-ID: <4C7122A3-3712-4510-919F-FBB3F2A45406@nc.rr.com> I has more trouble getting Magik and rmagik installed than I did with the Captcha code. :) It's been a few weeks since I did it, but I think I posted some of the problems back to the list. It memory serves, I had problems with the gem compiles not seeing the Magik libraries. Jared http://jaredrichardson.net On Nov 20, 2006, at 9:56 AM, Joe Peck wrote: > Thanks very much. I am following it along right now, and will let > you know when I inevitably run into a seemingly-impassable hurdle. > > Joe > > > > Chris Garrett wrote: > > Good timing! I just spent the weekend doing this because a Very > Annoying Person has been driving up SMS traffic on my site. Most > of my weekend was spent trying out rails captcha systems that > didn't work as advertised. > > I went with validates_captcha after struggling with the others. It > supports both image-based and text-based captchas like "Joe has two > apples. How many apples does Joe have?" > > Documentation is minimal - let me know if you need any help. > > http://dev.2750flesk.com/validates_captcha/ > > You can see my implementation here: www.yamaha-wireless.com > > Chris > > On 11/17/06, Joe Peck wrote: > Hi everyone, > > I'm trying to implement captcha using Imagemagick, and so far have > had a hard time locating information on how to do that. Anyone > else have experience implementing captcha on RoR? > > Joe > Sponsored Link > > Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. > Intro-*Terms > > _______________________________________________ > 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 > > Sponsored Link > > Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo - > Calculate new house payment > > _______________________________________________ > 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/20061120/2cd9866b/attachment.html From nathaniel at talbott.ws Mon Nov 20 14:22:42 2006 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 20 Nov 2006 14:22:42 -0500 Subject: [raleigh.rb] Pre-Meeting Chow Message-ID: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> As usual, anyone who's available is invited to join me at 5:30 tomorrow (Tuesday) night 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 geoff at geoffdavis.net Mon Nov 20 18:09:17 2006 From: geoff at geoffdavis.net (Geoff Davis) Date: Mon, 20 Nov 2006 18:09:17 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> References: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> Message-ID: I'm in! On Nov 20, 2006, at 2:22 PM, Nathaniel Talbott wrote: > As usual, anyone who's available is invited to join me at 5:30 > tomorrow > (Tuesday) night 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 adam at thewilliams.ws Mon Nov 20 22:53:38 2006 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 20 Nov 2006 22:53:38 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> References: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> Message-ID: There. On Nov 20, 2006, at 2:22 PM, Nathaniel Talbott wrote: > As usual, anyone who's available is invited to join me at 5:30 > tomorrow > (Tuesday) night at Baja Burrito (http://rubyurl.com/CGF) to grab > dinner and some Ruby chatter before heading over to Red Hat for the > meeting. > > While by no means required, a quick RSVP (just reply to this email > with "In!" or somesuch) would be great. > > Looking forward to it, > > > -- > Nathaniel Talbott > > <:((>< > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From tj at stank.us Tue Nov 21 11:03:51 2006 From: tj at stank.us (TJ Stankus) Date: Tue, 21 Nov 2006 11:03:51 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> References: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> Message-ID: I'll most likely be there. -TJ On 11/20/06, Nathaniel Talbott wrote: > As usual, anyone who's available is invited to join me at 5:30 tomorrow > (Tuesday) night 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 larry.karnowski at gmail.com Tue Nov 21 15:05:47 2006 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Tue, 21 Nov 2006 15:05:47 -0500 Subject: [raleigh.rb] Pre-Meeting Chow In-Reply-To: References: <5AFB4843-9154-4886-A15B-618F7DD94023@talbott.ws> Message-ID: <2b27183e0611211205v55fcfd7elfe7d9cc0773e8fb2@mail.gmail.com> I'm there... On 11/21/06, TJ Stankus wrote: > I'll most likely be there. > > -TJ > > On 11/20/06, Nathaniel Talbott wrote: > > As usual, anyone who's available is invited to join me at 5:30 tomorrow > > (Tuesday) night 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 > -- Larry Karnowski HickoryWind.org, Keeps Callin' Me Home Americana Music News, Reviews, & Personality larry at hickorywind.org www.hickorywind.org From ryan.daigle at gmail.com Tue Nov 21 19:14:58 2006 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Tue, 21 Nov 2006 19:14:58 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? Message-ID: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Nothing turns me on quite like beta-access to a web 2.0 product. As such I find myself getting invites all the time to cool new stuff. I got one the other day from a site called Tangler (http:// tangler.com) that appears to be a combination of Campfire and a message board. I know we've tried lingr.com in the past and there's no sense in muddying the waters - but anybody want to play? Let me know and I can invite you into our little test raleigh.rb group. (oooh, it must be great if you have to be invited!) From nathaniel at talbott.ws Tue Nov 21 21:50:32 2006 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 21 Nov 2006 21:50:32 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: On Nov 21, 2006, at 19:14 , Ryan Daigle wrote: > Nothing turns me on quite like beta-access to a web 2.0 product. As > such I find myself getting invites all the time to cool new stuff. > > I got one the other day from a site called Tangler (http:// > tangler.com) that appears to be a combination of Campfire and a > message board. I know we've tried lingr.com in the past and there's > no sense in muddying the waters - but anybody want to play? Let me > know and I can invite you into our little test raleigh.rb group. > (oooh, it must be great if you have to be invited!) I'd love to get an invite... nothing like kicking the tires :-) -- Nathaniel Talbott <:((>< From kevin.olbrich at gmail.com Tue Nov 21 22:29:18 2006 From: kevin.olbrich at gmail.com (Kevin Olbrich) Date: Tue, 21 Nov 2006 22:29:18 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: Yeah, I'm in. I like to fiddle with the knobs and push all the buttons. _Kevin On 11/21/06, Ryan Daigle wrote: > Nothing turns me on quite like beta-access to a web 2.0 product. As > such I find myself getting invites all the time to cool new stuff. > > I got one the other day from a site called Tangler (http:// > tangler.com) that appears to be a combination of Campfire and a > message board. I know we've tried lingr.com in the past and there's > no sense in muddying the waters - but anybody want to play? Let me > know and I can invite you into our little test raleigh.rb group. > (oooh, it must be great if you have to be invited!) > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Kevin Olbrich kevin.olbrich at gmail.com CONFIDENTIAL Unless otherwise indicated or obvious from the nature of the following communication, the information contained herein is a privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. It the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies, electronic, paper, or otherwise, which you may have of this communication. From tj at stank.us Tue Nov 21 23:00:53 2006 From: tj at stank.us (TJ Stankus) Date: Tue, 21 Nov 2006 23:00:53 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: I'm in. What's one more record in my Keychain? -TJ On 11/21/06, Kevin Olbrich wrote: > Yeah, I'm in. I like to fiddle with the knobs and push all the buttons. > > _Kevin > > On 11/21/06, Ryan Daigle wrote: > > Nothing turns me on quite like beta-access to a web 2.0 product. As > > such I find myself getting invites all the time to cool new stuff. > > > > I got one the other day from a site called Tangler (http:// > > tangler.com) that appears to be a combination of Campfire and a > > message board. I know we've tried lingr.com in the past and there's > > no sense in muddying the waters - but anybody want to play? Let me > > know and I can invite you into our little test raleigh.rb group. > > (oooh, it must be great if you have to be invited!) > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > > CONFIDENTIAL > Unless otherwise indicated or obvious from the nature of the following > communication, the information contained herein is a privileged and > confidential information/work product. The communication is intended > for the use of the individual or entity named above. It the reader of > this transmission is not the intended recipient, you are hereby > notified that any dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error or are not sure whether it is privileged, > please immediately notify us by return e-mail and destroy any copies, > electronic, paper, or otherwise, which you may have of this > communication. > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From minter at lunenburg.org Tue Nov 21 22:37:28 2006 From: minter at lunenburg.org (H. Wade Minter) Date: Tue, 21 Nov 2006 22:37:28 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: <7BDFF221-3F01-4044-A4FE-8703D8C76A77@lunenburg.org> Ditto - always up for checking out some new technology. On Nov 21, 2006, at 10:29 PM, Kevin Olbrich wrote: > Yeah, I'm in. I like to fiddle with the knobs and push all the > buttons. > > _Kevin > > On 11/21/06, Ryan Daigle wrote: >> Nothing turns me on quite like beta-access to a web 2.0 product. As >> such I find myself getting invites all the time to cool new stuff. >> >> I got one the other day from a site called Tangler (http:// >> tangler.com) that appears to be a combination of Campfire and a >> message board. I know we've tried lingr.com in the past and there's >> no sense in muddying the waters - but anybody want to play? Let me >> know and I can invite you into our little test raleigh.rb group. >> (oooh, it must be great if you have to be invited!) >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > -- > Kevin Olbrich > kevin.olbrich at gmail.com > > CONFIDENTIAL > Unless otherwise indicated or obvious from the nature of the following > communication, the information contained herein is a privileged and > confidential information/work product. The communication is intended > for the use of the individual or entity named above. It the reader of > this transmission is not the intended recipient, you are hereby > notified that any dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error or are not sure whether it is privileged, > please immediately notify us by return e-mail and destroy any copies, > electronic, paper, or otherwise, which you may have of this > communication. > _______________________________________________ > 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 Nov 21 23:53:36 2006 From: adam at thewilliams.ws (Adam Williams) Date: Tue, 21 Nov 2006 23:53:36 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: Who would I be if I weren't part of this?? Count me in, please! aiwilliams On Nov 21, 2006, at 11:00 PM, TJ Stankus wrote: > I'm in. What's one more record in my Keychain? > > -TJ > > On 11/21/06, Kevin Olbrich wrote: >> Yeah, I'm in. I like to fiddle with the knobs and push all the >> buttons. >> >> _Kevin >> >> On 11/21/06, Ryan Daigle wrote: >>> Nothing turns me on quite like beta-access to a web 2.0 product. As >>> such I find myself getting invites all the time to cool new stuff. >>> >>> I got one the other day from a site called Tangler (http:// >>> tangler.com) that appears to be a combination of Campfire and a >>> message board. I know we've tried lingr.com in the past and there's >>> no sense in muddying the waters - but anybody want to play? Let me >>> know and I can invite you into our little test raleigh.rb group. >>> (oooh, it must be great if you have to be invited!) >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> >> -- >> Kevin Olbrich >> kevin.olbrich at gmail.com >> >> CONFIDENTIAL >> Unless otherwise indicated or obvious from the nature of the >> following >> communication, the information contained herein is a privileged and >> confidential information/work product. The communication is intended >> for the use of the individual or entity named above. It the reader of >> this transmission is not the intended recipient, you are hereby >> notified that any dissemination, distribution, or copying of this >> communication is strictly prohibited. If you have received this >> communication in error or are not sure whether it is privileged, >> please immediately notify us by return e-mail and destroy any copies, >> electronic, paper, or otherwise, which you may have of this >> communication. >> _______________________________________________ >> 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 Wed Nov 22 09:10:07 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 22 Nov 2006 09:10:07 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: Can I play too? :) Jared http://jaredrichardson.net On Nov 21, 2006, at 7:14 PM, Ryan Daigle wrote: > Nothing turns me on quite like beta-access to a web 2.0 product. As > such I find myself getting invites all the time to cool new stuff. > > I got one the other day from a site called Tangler (http:// > tangler.com) that appears to be a combination of Campfire and a > message board. I know we've tried lingr.com in the past and there's > no sense in muddying the waters - but anybody want to play? Let me > know and I can invite you into our little test raleigh.rb group. > (oooh, it must be great if you have to be invited!) > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From pelargir at gmail.com Wed Nov 22 09:43:52 2006 From: pelargir at gmail.com (Matthew) Date: Wed, 22 Nov 2006 09:43:52 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: Add me please, Ryan. Matthew On 11/21/06, Adam Williams wrote: > > Who would I be if I weren't part of this?? Count me in, please! > > aiwilliams > > On Nov 21, 2006, at 11:00 PM, TJ Stankus wrote: > > > I'm in. What's one more record in my Keychain? > > > > -TJ > > > > On 11/21/06, Kevin Olbrich wrote: > >> Yeah, I'm in. I like to fiddle with the knobs and push all the > >> buttons. > >> > >> _Kevin > >> > >> On 11/21/06, Ryan Daigle wrote: > >>> Nothing turns me on quite like beta-access to a web 2.0 product. As > >>> such I find myself getting invites all the time to cool new stuff. > >>> > >>> I got one the other day from a site called Tangler (http:// > >>> tangler.com) that appears to be a combination of Campfire and a > >>> message board. I know we've tried lingr.com in the past and there's > >>> no sense in muddying the waters - but anybody want to play? Let me > >>> know and I can invite you into our little test raleigh.rb group. > >>> (oooh, it must be great if you have to be invited!) > >>> _______________________________________________ > >>> raleigh-rb-members mailing list > >>> raleigh-rb-members at rubyforge.org > >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > >>> > >> > >> > >> -- > >> Kevin Olbrich > >> kevin.olbrich at gmail.com > >> > >> CONFIDENTIAL > >> Unless otherwise indicated or obvious from the nature of the > >> following > >> communication, the information contained herein is a privileged and > >> confidential information/work product. The communication is intended > >> for the use of the individual or entity named above. It the reader of > >> this transmission is not the intended recipient, you are hereby > >> notified that any dissemination, distribution, or copying of this > >> communication is strictly prohibited. If you have received this > >> communication in error or are not sure whether it is privileged, > >> please immediately notify us by return e-mail and destroy any copies, > >> electronic, paper, or otherwise, which you may have of this > >> communication. > >> _______________________________________________ > >> 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/20061122/d377c0f4/attachment.html From lists-jared at nc.rr.com Wed Nov 22 09:44:27 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 22 Nov 2006 09:44:27 -0500 Subject: [raleigh.rb] Threads in Rails.... In-Reply-To: References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> I'll put this on the mailing list too... but since we're playing w/ Tangler. :) In a Rails app I'm spinning off a thread to populate my cache... I'm wondering if anyone's seen an upper end on the number of threads a Ruby VM can handle.... searching on it returns non-relevant hits. :) I'm not planning on going crazy with it, but thought it might be worth asking. Also, are there negative implications to having a Rails controller leave a running thread 'behind'? Jared http://jaredrichardson.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061122/46f4b15a/attachment.html From atomgiant at gmail.com Wed Nov 22 12:11:05 2006 From: atomgiant at gmail.com (Tom Davies) Date: Wed, 22 Nov 2006 12:11:05 -0500 Subject: [raleigh.rb] Another IM/Collaboration tool? In-Reply-To: References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> Message-ID: Count me in too. Tom On 11/22/06, Matthew wrote: > Add me please, Ryan. > > Matthew > > > > On 11/21/06, Adam Williams wrote: > > Who would I be if I weren't part of this?? Count me in, please! > > > > aiwilliams > > > > On Nov 21, 2006, at 11:00 PM, TJ Stankus wrote: > > > > > I'm in. What's one more record in my Keychain? > > > > > > -TJ > > > > > > On 11/21/06, Kevin Olbrich wrote: > > >> Yeah, I'm in. I like to fiddle with the knobs and push all the > > >> buttons. > > >> > > >> _Kevin > > >> > > >> On 11/21/06, Ryan Daigle wrote: > > >>> Nothing turns me on quite like beta-access to a web 2.0 product. As > > >>> such I find myself getting invites all the time to cool new stuff. > > >>> > > >>> I got one the other day from a site called Tangler (http:// > > >>> tangler.com) that appears to be a combination of Campfire and a > > >>> message board. I know we've tried lingr.com in the past and there's > > >>> no sense in muddying the waters - but anybody want to play? Let me > > >>> know and I can invite you into our little test raleigh.rb group. > > >>> (oooh, it must be great if you have to be invited!) > > >>> _______________________________________________ > > >>> raleigh-rb-members mailing list > > >>> raleigh-rb-members at rubyforge.org > > >>> > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > >>> > > >> > > >> > > >> -- > > >> Kevin Olbrich > > >> kevin.olbrich at gmail.com > > >> > > >> CONFIDENTIAL > > >> Unless otherwise indicated or obvious from the nature of the > > >> following > > >> communication, the information contained herein is a privileged and > > >> confidential information/work product. The communication is intended > > >> for the use of the individual or entity named above. It the reader of > > >> this transmission is not the intended recipient, you are hereby > > >> notified that any dissemination, distribution, or copying of this > > >> communication is strictly prohibited. If you have received this > > >> communication in error or are not sure whether it is privileged, > > >> please immediately notify us by return e-mail and destroy any copies, > > >> electronic, paper, or otherwise, which you may have of this > > >> communication. > > >> _______________________________________________ > > >> 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 > > -- Tom Davies http://atomgiant.com http://gifthat.com From lists-jared at nc.rr.com Wed Nov 22 14:58:02 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 22 Nov 2006 14:58:02 -0500 Subject: [raleigh.rb] Threads in Rails.... In-Reply-To: <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> Message-ID: <14111F1C-5B20-4840-9735-FACAA5431CEF@nc.rr.com> http://wiki.rubyonrails.org/rails/pages/HowToRunBackgroundJobsInRails/ Jared http://jaredrichardson.net On Nov 22, 2006, at 9:44 AM, Jared Richardson wrote: > I'll put this on the mailing list too... but since we're playing w/ > Tangler. :) > > In a Rails app I'm spinning off a thread to populate my cache... > I'm wondering if anyone's seen an upper end on the number of > threads a Ruby VM can handle.... searching on it returns non- > relevant hits. :) > > I'm not planning on going crazy with it, but thought it might be > worth asking. > > Also, are there negative implications to having a Rails controller > leave a running thread 'behind'? > > Jared > http://jaredrichardson.net > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061122/484fa745/attachment-0001.html From ryan.daigle at gmail.com Wed Nov 22 16:24:29 2006 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Wed, 22 Nov 2006 16:24:29 -0500 Subject: [raleigh.rb] Threads in Rails.... In-Reply-To: <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> Message-ID: <748ff3ff0611221324l240c8104u1d4874bf960d94d@mail.gmail.com> I would imagine it?s more of an OS level limit than a ruby one...at least that what I remember hitting when in java and can?t imagine it being much different w/ ruby. So, check out those cryptic kernel params for the limit. -Ryan On 11/22/06, Jared Richardson wrote: > I'll put this on the mailing list too... but since we're playing w/ > Tangler. :) > > In a Rails app I'm spinning off a thread to populate my cache... I'm > wondering if anyone's seen an upper end on the number of threads a > Ruby VM can handle.... searching on it returns non-relevant hits. :) > > I'm not planning on going crazy with it, but thought it might be > worth asking. > > Also, are there negative implications to having a Rails controller > leave a running thread 'behind'? > > Jared > http://jaredrichardson.net > > > From ryan.daigle at gmail.com Wed Nov 22 16:26:44 2006 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Wed, 22 Nov 2006 16:26:44 -0500 Subject: [raleigh.rb] Threads in Rails.... In-Reply-To: <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> Message-ID: <748ff3ff0611221326k351933c2we594ff63adecb70e@mail.gmail.com> And what do you mean by a "ruby VM"? You mean a standard process, yeah? On 11/22/06, Jared Richardson wrote: > I'll put this on the mailing list too... but since we're playing w/ > Tangler. :) > > In a Rails app I'm spinning off a thread to populate my cache... I'm > wondering if anyone's seen an upper end on the number of threads a > Ruby VM can handle.... searching on it returns non-relevant hits. :) > > I'm not planning on going crazy with it, but thought it might be > worth asking. > > Also, are there negative implications to having a Rails controller > leave a running thread 'behind'? > > Jared > http://jaredrichardson.net > > > From lists-jared at nc.rr.com Wed Nov 22 17:28:44 2006 From: lists-jared at nc.rr.com (Jared Richardson) Date: Wed, 22 Nov 2006 17:28:44 -0500 Subject: [raleigh.rb] Threads in Rails.... References: <9238457D-B239-4849-B332-BC282B5C93FE@gmail.com> <4BE86B7D-B88F-4124-B202-140BF7A45375@nc.rr.com> <748ff3ff0611221324l240c8104u1d4874bf960d94d@mail.gmail.com> Message-ID: <013301c70e85$92f864e0$6402a8c0@Kristel> I mean Ruby threads, which are internal to Ruby, not real OS threads. They're like Java green threads from a few years ago. Jared http://jaredrichardson.net ----- Original Message ----- From: "Ryan Daigle" To: "The mailing list of raleigh.rb" Sent: Wednesday, November 22, 2006 4:24 PM Subject: Re: [raleigh.rb] Threads in Rails.... I would imagine it?s more of an OS level limit than a ruby one...at least that what I remember hitting when in java and can?t imagine it being much different w/ ruby. So, check out those cryptic kernel params for the limit. -Ryan On 11/22/06, Jared Richardson wrote: > I'll put this on the mailing list too... but since we're playing w/ > Tangler. :) > > In a Rails app I'm spinning off a thread to populate my cache... I'm > wondering if anyone's seen an upper end on the number of threads a > Ruby VM can handle.... searching on it returns non-relevant hits. :) > > I'm not planning on going crazy with it, but thought it might be > worth asking. > > Also, are there negative implications to having a Rails controller > leave a running thread 'behind'? > > Jared > http://jaredrichardson.net > > > _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From Keefe.Hayes at sas.com Mon Nov 27 08:38:39 2006 From: Keefe.Hayes at sas.com (Keefe Hayes) Date: Mon, 27 Nov 2006 08:38:39 -0500 Subject: [raleigh.rb] Threads in Rails.... In-Reply-To: <013301c70e85$92f864e0$6402a8c0@Kristel> Message-ID: Ruby uses a pseudo threading approach. Check out eval.c. The limits would be memory, and for threads using i/o, descriptor count. Dispatches are done from select(). Keefe -----Original Message----- From: raleigh-rb-members-bounces at rubyforge.org [mailto:raleigh-rb-members-bounces at rubyforge.org] On Behalf Of Jared Richardson Sent: Wednesday, November 22, 2006 5:29 PM To: The mailing list of raleigh.rb Subject: Re: [raleigh.rb] Threads in Rails.... I mean Ruby threads, which are internal to Ruby, not real OS threads. They're like Java green threads from a few years ago. Jared http://jaredrichardson.net ----- Original Message ----- From: "Ryan Daigle" To: "The mailing list of raleigh.rb" Sent: Wednesday, November 22, 2006 4:24 PM Subject: Re: [raleigh.rb] Threads in Rails.... I would imagine it?s more of an OS level limit than a ruby one...at least that what I remember hitting when in java and can?t imagine it being much different w/ ruby. So, check out those cryptic kernel params for the limit. -Ryan On 11/22/06, Jared Richardson wrote: > I'll put this on the mailing list too... but since we're playing w/ > Tangler. :) > > In a Rails app I'm spinning off a thread to populate my cache... I'm > wondering if anyone's seen an upper end on the number of threads a > Ruby VM can handle.... searching on it returns non-relevant hits. :) > > I'm not planning on going crazy with it, but thought it might be > worth asking. > > Also, are there negative implications to having a Rails controller > leave a running thread 'behind'? > > Jared > http://jaredrichardson.net > > > _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members From nathaniel at talbott.ws Tue Nov 28 09:40:28 2006 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 28 Nov 2006 09:40:28 -0500 Subject: [raleigh.rb] December meetings Message-ID: <79C9F731-DABC-4B03-B45D-6C92396A9B32@talbott.ws> I hope everyone's Thanksgiving went well - I know I ate too much turkey, and hope you got to, too :-) This is a quick heads-up on the December meetings, since I know things get busier around the holidays and it helps to get things on the calendar sooner rather than later. First of all, Hack Night will be on December 7th, and will be the informal, come-work-on-whatever- and-shoot-the-breeze night it usually is. Second, the regular meeting will be on its usual third Tuesday of the month (December 19th), which puts it a week before Christmas. The format will be a bit different - we'll be doing a codefest, which should be a lot of fun for oldies and newbies alike. I hope you can make it to one or both! Details are available on Meetup (http://ruby.meetup.com/3/), and an RSVP is always appreciated. Whether I see you in December or not, I just want to wish everyone a Merry Christmas and Happy New Year. I can't wait to see what 2007 has in store for Raleigh.rb! Your Organizer, -- Nathaniel Talbott <:((>< From fatcatt316 at yahoo.com Wed Nov 29 16:30:47 2006 From: fatcatt316 at yahoo.com (Joe Peck) Date: Wed, 29 Nov 2006 13:30:47 -0800 (PST) Subject: [raleigh.rb] Paypal with Ruby on Rails In-Reply-To: Message-ID: <696097.92851.qm@web61220.mail.yahoo.com> Hey, I've been looking for a good plugin or tutorial concerning using PayPal through Ruby on Rails, but am having little luck. Does anyone know of a good way to implement PayPal using RoR? Joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20061129/d5328bed/attachment.html From nathaniel at talbott.ws Wed Nov 29 17:01:54 2006 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Wed, 29 Nov 2006 17:01:54 -0500 Subject: [raleigh.rb] Paypal with Ruby on Rails In-Reply-To: <696097.92851.qm@web61220.mail.yahoo.com> References: <696097.92851.qm@web61220.mail.yahoo.com> Message-ID: <1CBD3D24-17C1-4721-91CF-DB22D480C064@talbott.ws> On Nov 29, 2006, at 16:30 , Joe Peck wrote: > I've been looking for a good plugin or tutorial concerning using > PayPal through Ruby on Rails, but am having little luck. Does > anyone know of a good way to implement PayPal using RoR? You should have a look at ActiveMerchant: http://home.leetsoft.com/am The PayPal support is pretty good. -- Nathaniel Talbott <:((>< From andy at pragmaticprogrammer.com Wed Nov 29 16:59:22 2006 From: andy at pragmaticprogrammer.com (Andrew Hunt) Date: Wed, 29 Nov 2006 16:59:22 -0500 Subject: [raleigh.rb] Paypal with Ruby on Rails In-Reply-To: <696097.92851.qm@web61220.mail.yahoo.com> References: <696097.92851.qm@web61220.mail.yahoo.com> Message-ID: <90CCCF47-8775-46CF-8E01-BD1431121C9E@pragmaticprogrammer.com> On Nov 29, 2006, at 4:30 PM, Joe Peck wrote: > Hey, > > I've been looking for a good plugin or tutorial concerning using > PayPal through Ruby on Rails, but am having little luck. Does > anyone know of a good way to implement PayPal using RoR? > http://www.pragmaticprogrammer.com/titles/jfpaypal/index.html "Payment Processing with Paypal and Ruby" As the publisher, I am of course biased :-) /\ndy From nathaniel at talbott.ws Wed Nov 29 17:31:44 2006 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Wed, 29 Nov 2006 17:31:44 -0500 Subject: [raleigh.rb] Paypal with Ruby on Rails In-Reply-To: <90CCCF47-8775-46CF-8E01-BD1431121C9E@pragmaticprogrammer.com> References: <696097.92851.qm@web61220.mail.yahoo.com> <90CCCF47-8775-46CF-8E01-BD1431121C9E@pragmaticprogrammer.com> Message-ID: <826FB613-6721-48CC-9264-1E3F09F2BA04@talbott.ws> On Nov 29, 2006, at 16:59 , Andrew Hunt wrote: > On Nov 29, 2006, at 4:30 PM, Joe Peck wrote: > >> I've been looking for a good plugin or tutorial concerning using >> PayPal through Ruby on Rails, but am having little luck. Does >> anyone know of a good way to implement PayPal using RoR? > > http://www.pragmaticprogrammer.com/titles/jfpaypal/index.html > > "Payment Processing with Paypal and Ruby" > > As the publisher, I am of course biased :-) I bought this one, and it's a good, simple walkthrough of what needs to be done. Would be nice if it was updated with ActiveMerchant details, though. *hint*, *hint*, *nudge*, *nudge* :-) -- Nathaniel Talbott <:((>< From andy at pragmaticprogrammer.com Wed Nov 29 19:05:24 2006 From: andy at pragmaticprogrammer.com (Andrew Hunt) Date: Wed, 29 Nov 2006 19:05:24 -0500 Subject: [raleigh.rb] Paypal with Ruby on Rails In-Reply-To: <826FB613-6721-48CC-9264-1E3F09F2BA04@talbott.ws> References: <696097.92851.qm@web61220.mail.yahoo.com> <90CCCF47-8775-46CF-8E01-BD1431121C9E@pragmaticprogrammer.com> <826FB613-6721-48CC-9264-1E3F09F2BA04@talbott.ws> Message-ID: <9EC367C9-D8F6-4322-AD3A-314501803F31@pragmaticprogrammer.com> On Nov 29, 2006, at 5:31 PM, Nathaniel Talbott wrote: > On Nov 29, 2006, at 16:59 , Andrew Hunt wrote: > >> On Nov 29, 2006, at 4:30 PM, Joe Peck wrote: >> >>> I've been looking for a good plugin or tutorial concerning using >>> PayPal through Ruby on Rails, but am having little luck. Does >>> anyone know of a good way to implement PayPal using RoR? >> >> http://www.pragmaticprogrammer.com/titles/jfpaypal/index.html >> >> "Payment Processing with Paypal and Ruby" >> >> As the publisher, I am of course biased :-) > > I bought this one, and it's a good, simple walkthrough of what needs > to be done. Would be nice if it was updated with ActiveMerchant > details, though. > > *hint*, *hint*, *nudge*, *nudge* :-) On Nov 29, 2006, at 5:31 PM, Nathaniel Talbott wrote: > On Nov 29, 2006, at 16:59 , Andrew Hunt wrote: > > >> On Nov 29, 2006, at 4:30 PM, Joe Peck wrote: >> >> >>> I've been looking for a good plugin or tutorial concerning using >>> PayPal through Ruby on Rails, but am having little luck. Does >>> anyone know of a good way to implement PayPal using RoR? >>> >> >> http://www.pragmaticprogrammer.com/titles/jfpaypal/index.html >> >> "Payment Processing with Paypal and Ruby" >> >> As the publisher, I am of course biased :-) >> > > I bought this one, and it's a good, simple walkthrough of what needs > to be done. Would be nice if it was updated with ActiveMerchant > details, though. > > *hint*, *hint*, *nudge*, *nudge* :-) > Gee, what are you trying to say? :-) I'll forward your comments on to the author. We just released a new version of the Google Web Toolkit with a whole new chapter based on user's requests, so I'll see if Joe can pony up as well. thanks! /\ndy From lon at speedymac.com Wed Nov 29 19:28:03 2006 From: lon at speedymac.com (Lon Baker) Date: Wed, 29 Nov 2006 19:28:03 -0500 Subject: [raleigh.rb] Paypal with Ruby on Rails In-Reply-To: References: Message-ID: <8FF7D1B1-6ACA-4F39-AA7D-7EF895BF6AE0@speedymac.com> Hola! First time poster, long time lurker. I have used the Paypal and Money gems available from RubyForge a few time. They are pretty straight forward for basic processing. -- Lon Baker http://speedymac.com From chris at coderhythm.com Thu Nov 30 13:11:45 2006 From: chris at coderhythm.com (Chris O'Meara) Date: Thu, 30 Nov 2006 13:11:45 -0500 Subject: [raleigh.rb] Rails Studio Message-ID: <1164910305.31648.278242015@webmail.messagingengine.com> Disclaimer: I know Andy hangs out here so... Can anyone offer an opinion on the Rails Studio training offered by the Pragmatic Programmers? If I've built an app or two will the studio experience help me get to the point of confident proficiency? Thanks, Chris From tj at stank.us Thu Nov 30 13:44:22 2006 From: tj at stank.us (TJ Stankus) Date: Thu, 30 Nov 2006 13:44:22 -0500 Subject: [raleigh.rb] Rails Studio In-Reply-To: <1164910305.31648.278242015@webmail.messagingengine.com> References: <1164910305.31648.278242015@webmail.messagingengine.com> Message-ID: > Can anyone offer an opinion on the Rails Studio training offered by the > Pragmatic Programmers? If I've built an app or two will the studio > experience help me get to the point of confident proficiency? Having been to one Rails-specific training session that Dave Thomas and Mike Clark conducted (Rails Guidebook - the day before Rails Conf), and having been to several of their conference sessions, I wouldn't hesitate to look to them for Rails training. They're both great communicators and very passionate about Rails and software quality. -TJ From minter at lunenburg.org Thu Nov 30 13:44:43 2006 From: minter at lunenburg.org (H. Wade Minter) Date: Thu, 30 Nov 2006 13:44:43 -0500 Subject: [raleigh.rb] Rails Studio In-Reply-To: <1164910305.31648.278242015@webmail.messagingengine.com> References: <1164910305.31648.278242015@webmail.messagingengine.com> Message-ID: <976EDE64-C01D-4674-8AB8-AE2944AEBA69@lunenburg.org> I took the first one in Reston last year, and it was really, really good. I'd love to take the intro class again just to get the Pragmatic(tm) perspective on the Rails changes since that time. Money well spent for me. --Wade On Nov 30, 2006, at 1:11 PM, Chris O'Meara wrote: > Disclaimer: I know Andy hangs out here so... > > Can anyone offer an opinion on the Rails Studio training offered by > the > Pragmatic Programmers? If I've built an app or two will the studio > experience help me get to the point of confident proficiency? > > Thanks, > Chris > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From andy at pragmaticprogrammer.com Thu Nov 30 15:02:21 2006 From: andy at pragmaticprogrammer.com (Andrew Hunt) Date: Thu, 30 Nov 2006 15:02:21 -0500 Subject: [raleigh.rb] Rails Studio In-Reply-To: <1164910305.31648.278242015@webmail.messagingengine.com> References: <1164910305.31648.278242015@webmail.messagingengine.com> Message-ID: <5DBB31D2-C1DA-411D-BB80-E0C46CB6E152@pragmaticprogrammer.com> On Nov 30, 2006, at 1:11 PM, Chris O'Meara wrote: > Disclaimer: I know Andy hangs out here so... *I* think it's really good, but i don't spend much time in Rails space these days... /\ndy