# Top

**URL:** https://www.ruby-forum.com/top.md?page=1198

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1199

---

## [While loop with fixnum - not working](https://www.ruby-forum.com/t/while-loop-with-fixnum-not-working/145082)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 4\
**Last updated:** [August 6, 2008, 2:33pm UTC](https://www.ruby-forum.com/t/while-loop-with-fixnum-not-working/145082 "2008-08-06T14:33:10Z")

</div>

I can’t get the while loop to work. When I set ErrorCount.Class it outputs Fixnum. Do you think that this is the reason that that the while will not execute? Thanks in advance. Mom Mcolli00 it (“Search for FieldId Tag…

---

## [Role of stories vs specs, revisited](https://www.ruby-forum.com/t/role-of-stories-vs-specs-revisited/125773)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/role-of-stories-vs-specs-revisited/125773 "2008-01-11T22:48:53Z")

</div>

A couple months ago I asked how stories and specs might impact each other. \[1\] If you look at Dan N.'s example of what’s in a story \[2\], and you imagine using the spec framework to drive the design, you can probabl…

---

## [What is wrong with class variables? (newby)](https://www.ruby-forum.com/t/what-is-wrong-with-class-variables-newby/120434)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 17, 2007, 12:19am UTC](https://www.ruby-forum.com/t/what-is-wrong-with-class-variables-newby/120434 "2007-11-17T00:19:10Z")

</div>

Hello. I’m new to programming and new to ruby. I’ve recently written a script and have asked people (including this group) about components of the script. When people see that I’m using class variables they ask m…

---

## [Experience using SQL Server and RoR?](https://www.ruby-forum.com/t/experience-using-sql-server-and-ror/120290)

<div class="topic-metadata">

**Author:** [@bikle](https://www.ruby-forum.com/u/bikle)\
**Replies:** 4\
**Last updated:** [November 15, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/experience-using-sql-server-and-ror/120290 "2007-11-15T17:07:11Z")

</div>

I’m building an app for a large enterprise, and the corporate IT folks are suggesting using SQL Server (latest version I assume) instead of MySQL, due to their familiarity with it. I have limited experience with SQL…

---

## [Improperly exiting loop with DATA and \_\_END\_\_](https://www.ruby-forum.com/t/improperly-exiting-loop-with-data-and-end/118444)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 4\
**Last updated:** [October 27, 2007, 11:50am UTC](https://www.ruby-forum.com/t/improperly-exiting-loop-with-data-and-end/118444 "2007-10-27T11:50:52Z")

</div>

I have this bit of code that loops through the END data and does some time sheet processing. All that bit works, but when I get to the end of the “DATA” I get an error about calling split for a nil:NilClass…I an sure…

---

## [Question c](https://www.ruby-forum.com/t/question-c/104903)

<div class="topic-metadata">

**Author:** [@nibbler61](https://www.ruby-forum.com/u/nibbler61)\
**Replies:** 4\
**Last updated:** [May 24, 2007, 1:10am UTC](https://www.ruby-forum.com/t/question-c/104903 "2007-05-24T01:10:01Z")

</div>

Comment on fait pour faire passer une valeur d’un controller Ã un autre ?

---

## [Acts\_as\_whatever](https://www.ruby-forum.com/t/acts-as-whatever/53182)

<div class="topic-metadata">

**Author:** [@samj](https://www.ruby-forum.com/u/samj)\
**Replies:** 4\
**Last updated:** [May 2, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/acts-as-whatever/53182 "2007-05-02T16:15:26Z")

</div>

Hi there, I love the acts\_as\_\* family that rails uses. I’ve also found I can create something similar by dropping the following code into my activerecord classes: class MyClass \< ActiveRecord::Base class \<\< self al…

---

## [Beatify html?](https://www.ruby-forum.com/t/beatify-html/92957)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 4\
**Last updated:** [April 27, 2007, 12:08am UTC](https://www.ruby-forum.com/t/beatify-html/92957 "2007-04-27T00:08:44Z")

</div>

Is there any way to beatify the html that is emitted? Some of the html that I generate dynamically is poorly formatted, and it would be somewhat difficult to make it pretty (particularly in the context of the static …

---

## [Ruby and Windows CE](https://www.ruby-forum.com/t/ruby-and-windows-ce/91406)

<div class="topic-metadata">

**Author:** [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Replies:** 4\
**Last updated:** [April 10, 2007, 1:27am UTC](https://www.ruby-forum.com/t/ruby-and-windows-ce/91406 "2007-04-10T01:27:09Z")

</div>

Hi, I’ve been trying to get ruby going on my windows CE device, but I can’t get it to compile correctly. Has anyone here managed to get Ruby going on a windows CE device? I know there are some binaries on ruby-mswinc…

---

## [Freeze extra gems?](https://www.ruby-forum.com/t/freeze-extra-gems/90318)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/freeze-extra-gems/90318 "2007-03-27T22:50:07Z")

</div>

I’m just now getting around to freezing rails into my app. Is there a way to freeze extra gems into my app as well, e.g. ezcrypto or even the dreaded rmagick? donald

---

## [Cache sweeper not getting called](https://www.ruby-forum.com/t/cache-sweeper-not-getting-called/85526)

<div class="topic-metadata">

**Author:** [@dang](https://www.ruby-forum.com/u/dang)\
**Replies:** 4\
**Last updated:** [February 18, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/cache-sweeper-not-getting-called/85526 "2007-02-18T23:24:48Z")

</div>

Hi, I’ve started to implement page caches but I’ve hit a brick wall getting a sweeper to clear the cache when needed. It seems that any models that I tell it to observe aren’t being observed properly. If I add the sw…

---

## [Community involvement](https://www.ruby-forum.com/t/community-involvement/84622)

<div class="topic-metadata">

**Author:** [@Tech\_G](https://www.ruby-forum.com/u/Tech_G)\
**Replies:** 4\
**Last updated:** [February 7, 2007, 7:35am UTC](https://www.ruby-forum.com/t/community-involvement/84622 "2007-02-07T07:35:54Z")

</div>

I’m getting to the point where I consider myself fairly comfortable with Ruby. I love the way the language works, I’ve used it to solve some fairly complex problems, and I’m working on developing several different w…

---

## [Rails 1.2: REST admiration, HTTP lovefest, and UTF-8 celebra](https://www.ruby-forum.com/t/rails-1-2-rest-admiration-http-lovefest-and-utf-8-celebra/82439)

<div class="topic-metadata">

**Author:** [@DHH](https://www.ruby-forum.com/u/DHH)\
**Replies:** 4\
**Last updated:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/rails-1-2-rest-admiration-http-lovefest-and-utf-8-celebra/82439 "2007-01-19T16:30:50Z")

</div>

Get out your party balloons and funny hats because we’re there, baby. Yes, sire, Rails 1.2 is finally available in all it’s glory. It took a little longer than we initially anticipated to get everything lined up (and …

---

## [Form\_remote\_tag not displaying button](https://www.ruby-forum.com/t/form-remote-tag-not-displaying-button/79889)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 4\
**Last updated:** [December 20, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/form-remote-tag-not-displaying-button/79889 "2006-12-20T23:16:45Z")

</div>

Hello - I’m trying to use a form\_remote\_tag to make a submit button to fire off an Ajax call. When I add this form\_remote\_tag code I don’t see a submit button where there should be one. I’m following the example giv…

---

## [Clearing a remote form](https://www.ruby-forum.com/t/clearing-a-remote-form/67654)

<div class="topic-metadata">

**Author:** [@Sterling\_A](https://www.ruby-forum.com/u/Sterling_A)\
**Replies:** 4\
**Last updated:** [September 6, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/clearing-a-remote-form/67654 "2006-09-06T17:10:16Z")

</div>

I’m using a form\_remote\_tag to create an ajax form, but would like to clear the values in the fields after submitting the form. Is there a way to do this that I am missing or am I going to have to write my own javascr…

---

## [Question sur directive :include dans la mÃ©thode 'find'](https://www.ruby-forum.com/t/question-sur-directive-include-dans-la-ma-thode-find/99362)

<div class="topic-metadata">

**Author:** [@nicolas](https://www.ruby-forum.com/u/nicolas)\
**Replies:** 4\
**Last updated:** [August 14, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/question-sur-directive-include-dans-la-ma-thode-find/99362 "2006-08-14T13:56:42Z")

</div>

Bonjour Ã tous, en faisant par exemple c = Client.find(:first, :include =\> :commandes) je m’attends Ã ce que les commandes du client soient toutes prÃ©chargÃ©es avec mon client c lorsque je veux rechercher des…

---

## [View into a String?](https://www.ruby-forum.com/t/view-into-a-string/62930)

<div class="topic-metadata">

**Author:** [@dmorin](https://www.ruby-forum.com/u/dmorin)\
**Replies:** 4\
**Last updated:** [June 9, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/view-into-a-string/62930 "2006-06-09T17:32:45Z")

</div>

I’ve got a nice XML view of my data that works just fine when I call it from the browser. Now I’d like a different controller method to take that XML and write it to the file system. Since the XML view lives in an R…

---

## [Does TMail support Nested Multipart Messages? (Repost)](https://www.ruby-forum.com/t/does-tmail-support-nested-multipart-messages-repost/61633)

<div class="topic-metadata">

**Author:** [@Mariano\_K](https://www.ruby-forum.com/u/Mariano_K)\
**Replies:** 4\
**Last updated:** [May 26, 2006, 12:40pm UTC](https://www.ruby-forum.com/t/does-tmail-support-nested-multipart-messages-repost/61633 "2006-05-26T12:40:02Z")

</div>

Hi, does anybody know if TMail supports nested multipart messages? I read a changelog that indicates so (http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but I haven’t been able to get it working s…

---

## [Single Table Inheritance problem](https://www.ruby-forum.com/t/single-table-inheritance-problem/60161)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 4\
**Last updated:** [May 10, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/single-table-inheritance-problem/60161 "2006-05-10T20:05:24Z")

</div>

I have two tables I am using single table inheritance with: Page and Item. “Page” has many “Items”; “Item” belongs to “Page”. Item Model: class Item \< ActiveRecord::Base end class Article \< Item belongs\_to :page …

---

## [Multiple file uploads - only one file object gets posted](https://www.ruby-forum.com/t/multiple-file-uploads-only-one-file-object-gets-posted/56769)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [April 17, 2006, 12:22am UTC](https://www.ruby-forum.com/t/multiple-file-uploads-only-one-file-object-gets-posted/56769 "2006-04-17T00:22:39Z")

</div>

All, Trying to upload multiple files. Form: \<% index = 0 for @image in images do %\> \<%= @image.path.split('/').last\[0..39\] %\>: \<% if ((! @image.path.nil?) && (@image.path.length \> 40)) %\> …

---

## [ANN: capistrano-runit-tasks 0.2.0](https://www.ruby-forum.com/t/ann-capistrano-runit-tasks-0-2-0/55781)

<div class="topic-metadata">

**Author:** [@Chris\_McGrath](https://www.ruby-forum.com/u/Chris_McGrath)\
**Replies:** 4\
**Last updated:** [March 27, 2006, 3:22am UTC](https://www.ruby-forum.com/t/ann-capistrano-runit-tasks-0-2-0/55781 "2006-03-27T03:22:59Z")

</div>

I’d like to announce the second release of capistrano-runit-tasks, available from http://rubyforge.org/projects/cappy-runit/ It now supports: File based templates sv as the service control command in addition to runs…

---

## [(resend - sorry!) Which controllers?](https://www.ruby-forum.com/t/resend-sorry-which-controllers/54227)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 4\
**Last updated:** [February 27, 2006, 6:02am UTC](https://www.ruby-forum.com/t/resend-sorry-which-controllers/54227 "2006-02-27T06:02:15Z")

</div>

Hello, I have recently started learning RoR. I think it’s fantastic. I am absolutely blown away. OK, this is to prepare you to my idiotic question. Hopefully, I won’t be stoned. I am designing a simple application, …

---

## [Textarea problem with accentued chars](https://www.ruby-forum.com/t/textarea-problem-with-accentued-chars/62139)

<div class="topic-metadata">

**Author:** [@oo00oo](https://www.ruby-forum.com/u/oo00oo)\
**Replies:** 4\
**Last updated:** [January 29, 2006, 1:19pm UTC](https://www.ruby-forum.com/t/textarea-problem-with-accentued-chars/62139 "2006-01-29T13:19:44Z")

</div>

Hello, I have a problem with accentued characters return from a textarea I have 3 simple files to show example ( below ). index.rhml : If I put “énial” inside the textarea, then submit to :action =\> post post.rhml : …

---

## [Rails Wiki solution on Windows?](https://www.ruby-forum.com/t/rails-wiki-solution-on-windows/235694)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 10, 2013, 2:20pm UTC](https://www.ruby-forum.com/t/rails-wiki-solution-on-windows/235694 "2013-07-10T14:20:35Z")

</div>

I’ve been asked to put together a simple intranet Wiki, but the only “server” I have available is a Windows 7 machine with Rails ( on Ruby 2.0 ) installed. I’ve been looking around for options which will work on this …

---

## [Configure/Integration of MYSQL in Tomcat using Ruby script](https://www.ruby-forum.com/t/configure-integration-of-mysql-in-tomcat-using-ruby-script/229012)

<div class="topic-metadata">

**Author:** [@paramesh](https://www.ruby-forum.com/u/paramesh)\
**Replies:** 5\
**Last updated:** [May 28, 2013, 11:29am UTC](https://www.ruby-forum.com/t/configure-integration-of-mysql-in-tomcat-using-ruby-script/229012 "2013-05-28T11:29:03Z")

</div>

Hi, I have installed MySQL with the help of MySQL msi package through command prompt and now trying to do configuration of MySQL in Tomcat help of Ruby recipes. I have downloaded Mysql and Tomcat recipes from Opscode…

---

## [PLL or PLC clock module for USRP1](https://www.ruby-forum.com/t/pll-or-plc-clock-module-for-usrp1/205678)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 13, 2011, 4:42am UTC](https://www.ruby-forum.com/t/pll-or-plc-clock-module-for-usrp1/205678 "2011-04-13T04:42:58Z")

</div>

Hi all, I wonder if you know of a clock module for USRP1 with phased locked loop or phase locked crystal (preferred) which has a 10MHz reference clock input and provide ~64MHz clock that will be used on USRP1 Thanks…

---

## [Alternative Hardware](https://www.ruby-forum.com/t/alternative-hardware/201539)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 11, 2011, 7:03am UTC](https://www.ruby-forum.com/t/alternative-hardware/201539 "2011-01-11T07:03:57Z")

</div>

\[Please! M

---

## [\[Ruby 1.9-Feature#4204\]\[Open\] IO#advise should raise error for unknown symbol](https://www.ruby-forum.com/t/ruby-1-9-feature-4204-open-io-advise-should-raise-error-for-unknown-symbol/200938)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 25, 2010, 5:40pm UTC](https://www.ruby-forum.com/t/ruby-1-9-feature-4204-open-io-advise-should-raise-error-for-unknown-symbol/200938 "2010-12-25T17:40:16Z")

</div>

Feature #4204: IO#advise should raise error for unknown symbol http://redmine.ruby-lang.org/issues/show/4204 起票者: Tomoyuki C. ステータス: Open, 優先度: Normal Target version: 1.9.3 r30299 で導入された IO#advise メソッドは、引数に Symbol で…

---

## [Switching of UHD/Raw-Ethernet Driver](https://www.ruby-forum.com/t/switching-of-uhd-raw-ethernet-driver/199304)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 18, 2010, 9:44pm UTC](https://www.ruby-forum.com/t/switching-of-uhd-raw-ethernet-driver/199304 "2010-11-18T21:44:20Z")

</div>

I have two small questions… I successfully installed UHD (gr-uhd) following the guide " http://www.ettus.com/uhd\_docs/manual/html/usrp2.html" But now, I want to be able to switch back and forth between the UHD and …

---

## [Hpricot test for equivalence of two xml segments?](https://www.ruby-forum.com/t/hpricot-test-for-equivalence-of-two-xml-segments/191731)

<div class="topic-metadata">

**Author:** [@Xeno\_CSS\_Eskimo\_No](https://www.ruby-forum.com/u/Xeno_CSS_Eskimo_No)\
**Replies:** 5\
**Last updated:** [July 17, 2010, 3:15am UTC](https://www.ruby-forum.com/t/hpricot-test-for-equivalence-of-two-xml-segments/191731 "2010-07-17T03:15:47Z")

</div>

I’m looking through what documentation I can find for Hpricot (nokogirl wouldn’t install for me, and I just wand a quick an simple solution), and I cannot find a simple method to take two xml strings and find out if …

---

## [Rendering a partial on a two column page](https://www.ruby-forum.com/t/rendering-a-partial-on-a-two-column-page/188941)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 5\
**Last updated:** [May 21, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/rendering-a-partial-on-a-two-column-page/188941 "2010-05-21T14:41:06Z")

</div>

Hi, I attached a page for clarity of what I want. I have a two column page (index.html.erb). On the left hand side, I have the order ID and order NAME displayed. There is a SHOW link next to each entry. I want to be…

---

## [Module with a class?](https://www.ruby-forum.com/t/module-with-a-class/178936)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 5\
**Last updated:** [November 19, 2009, 1:10am UTC](https://www.ruby-forum.com/t/module-with-a-class/178936 "2009-11-19T01:10:04Z")

</div>

I have a file that has a class called “Core” that defines tons of generic methods which populate tons of @instance variables and has methods to talk to another machine over tcp, etc… I have other files, such as hello.…

---

## [Forking behaves differently when using apache](https://www.ruby-forum.com/t/forking-behaves-differently-when-using-apache/178841)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 5\
**Last updated:** [November 12, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/forking-behaves-differently-when-using-apache/178841 "2009-11-12T16:10:42Z")

</div>

I want a CGI script to fire off another process and continue executing (or even terminate) without waiting for the process to finish. I wrote this: #!/usr/bin/ruby require ‘cgi’ c = CGI.new fork do sleep 5 end c.o…

---

## [Need remote\_function help](https://www.ruby-forum.com/t/need-remote-function-help/167103)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 5\
**Last updated:** [May 4, 2009, 8:39pm UTC](https://www.ruby-forum.com/t/need-remote-function-help/167103 "2009-05-04T20:39:42Z")

</div>

This is the first time I have used remote\_function and I’m unclear on why my code is not working as I would expect. I am trying to have my select box load the specified action and pass a few params to it when an item …

---

## [Curious how params, flash etc work in rails?](https://www.ruby-forum.com/t/curious-how-params-flash-etc-work-in-rails/163887)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 25, 2009, 11:24pm UTC](https://www.ruby-forum.com/t/curious-how-params-flash-etc-work-in-rails/163887 "2009-03-25T23:24:20Z")

</div>

I am curious how stuff like params and flash work in the controller ? Typically an instance variable is something like @params, or maybe self.params. How does rails make params appear as if it’s an instance variable ? …

---

## [Problem in Installing gnuradio-3.2\_Please help](https://www.ruby-forum.com/t/problem-in-installing-gnuradio-3-2-please-help/162935)

<div class="topic-metadata">

**Author:** [@ajmerasomya](https://www.ruby-forum.com/u/ajmerasomya)\
**Replies:** 5\
**Last updated:** [March 15, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/problem-in-installing-gnuradio-3-2-please-help/162935 "2009-03-15T23:47:50Z")

</div>

Hi , I am facing a problem in installing gnuradio-3.2. I was able to install gnuradio-3.1.3 properly but when I tried to install thisÂ newer version on the top of the older version, maximum of the packages are not g…

---

## [Prototype not working with rails 2.2.2?](https://www.ruby-forum.com/t/prototype-not-working-with-rails-2-2-2/196889)

<div class="topic-metadata">

**Author:** [@riky](https://www.ruby-forum.com/u/riky)\
**Replies:** 5\
**Last updated:** [January 29, 2009, 1:59pm UTC](https://www.ruby-forum.com/t/prototype-not-working-with-rails-2-2-2/196889 "2009-01-29T13:59:03Z")

</div>

Hi, i made an application using rails and prototype and all worked fine… But today i upgraded rails to 2.2.2 and from that moment when i open the webpage with firefox it gives me an error like “object is null” and so…

---

## [2-phase proxying](https://www.ruby-forum.com/t/2-phase-proxying/158679)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 5\
**Last updated:** [January 28, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/2-phase-proxying/158679 "2009-01-28T21:03:59Z")

</div>

Hi, I need to configure/modify nginx to use it in a 2-phase proxy kind of configuration in which: use the hash value of one of the arguments in the original uri to find the index of the first backend server (defined…

---

## [Ruby 1.9.1 preview1 is out](https://www.ruby-forum.com/t/ruby-1-9-1-preview1-is-out/151941)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 3:19pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-preview1-is-out/151941 "2008-10-31T15:19:17Z")

</div>

Hi all, I released Ruby 1.9.1-preview 1. You can download it from the following locations. This is a preview release of Ruby 1.9.1, which will be the first stable version of Ruby 1.9 series. Try it early and have a e…

---

## [Netgear GA511](https://www.ruby-forum.com/t/netgear-ga511/152070)

<div class="topic-metadata">

**Author:** [@Catalin\_Lacatus](https://www.ruby-forum.com/u/Catalin_Lacatus)\
**Replies:** 5\
**Last updated:** [October 29, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/netgear-ga511/152070 "2008-10-29T21:51:42Z")

</div>

Hello, I am trying to run the /find\_usrp/s and I got the following error “n/o USRP2 found”/. My configuration is Ubuntu 8.04 with a Netgear GA511 Gigabit PCMCIA card with USRP2. I successfully installed boost librar…

---

## [Passing a variable from a block back to the method](https://www.ruby-forum.com/t/passing-a-variable-from-a-block-back-to-the-method/146220)

<div class="topic-metadata">

**Author:** [@jimdeuc](https://www.ruby-forum.com/u/jimdeuc)\
**Replies:** 5\
**Last updated:** [August 20, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/passing-a-variable-from-a-block-back-to-the-method/146220 "2008-08-20T17:04:39Z")

</div>

I have several files that I have to read, check the contents, and then write any changes. I overloaded the File class to help me out with this: class File def self.change(filename) # read the file, execute a block…

---

## [Has\_one and has\_many creation inconsistencies](https://www.ruby-forum.com/t/has-one-and-has-many-creation-inconsistencies/142395)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 5\
**Last updated:** [July 7, 2008, 4:14pm UTC](https://www.ruby-forum.com/t/has-one-and-has-many-creation-inconsistencies/142395 "2008-07-07T16:14:19Z")

</div>

So, imagine the following: class User \< ActiveRecord::Base has\_many :emails has\_one :address end class Email \< ActiveRecord::Base belongs\_to :user end class Address \< ActiveRecord::Base belongs\_to :user end No…

---

## [Where did the monsters go?](https://www.ruby-forum.com/t/where-did-the-monsters-go/135522)

<div class="topic-metadata">

**Author:** [@gastrogreen](https://www.ruby-forum.com/u/gastrogreen)\
**Replies:** 5\
**Last updated:** [April 22, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/where-did-the-monsters-go/135522 "2008-04-22T21:48:22Z")

</div>

Stuck again. My random monster-fight generator works, but it’s so BASIC. How can I do this without the if-statements? Is it a bad thing to stick class objects into an array? Also, I know Moblist\[0\].fight works, but wh…

---

## [\[patch\] Sink floating gstreamer objects](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270)

<div class="topic-metadata">

**Author:** [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Replies:** 5\
**Last updated:** [April 5, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270 "2008-04-05T18:25:45Z")

</div>

Hi, Attached is the first patch in my patchset intended to merge both current gstreamer bindings into one with the best of both :slight\_smile: Please review and let me know if it’s ok to commit? See the patch itsel…

---

## [RESTful Routes](https://www.ruby-forum.com/t/restful-routes/123208)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [February 5, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/restful-routes/123208 "2008-02-05T18:38:59Z")

</div>

I have purchased the peepcode tutorial on RESTful and I have to say it is brilliant, one thing it does not answer is this question though. I have been experimenting with rails on nothing serious and managed to setup a…

---

## [Ways of running functional tests](https://www.ruby-forum.com/t/ways-of-running-functional-tests/80294)

<div class="topic-metadata">

**Author:** [@richtext](https://www.ruby-forum.com/u/richtext)\
**Replies:** 5\
**Last updated:** [December 21, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/ways-of-running-functional-tests/80294 "2007-12-21T23:48:09Z")

</div>

If I run all my tests using rake test, they all work. However, when I run rake test:functionals, some functional tests fail on some of my assertions? If I run the individual rb file in which the failing tests appear…

---

## [\[ANN\] Browserized Styles Plugin](https://www.ruby-forum.com/t/ann-browserized-styles-plugin/122582)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [December 10, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/ann-browserized-styles-plugin/122582 "2007-12-10T17:33:11Z")

</div>

Browserized Styles provides a dead simple way to create browser- specific CSS code for use in a Rails application. All you need to do is create a .css file targeted to a browser by appending an underscore and identifi…

---

## [Agile Del with Rails sum problem](https://www.ruby-forum.com/t/agile-del-with-rails-sum-problem/116364)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 5\
**Last updated:** [October 4, 2007, 11:26pm UTC](https://www.ruby-forum.com/t/agile-del-with-rails-sum-problem/116364 "2007-10-04T23:26:59Z")

</div>

Another Rails newbie here :slight\_smile: stuck on a section of Agile Web D. with Rails. The book says: def total\_price @items.sum { |item| item.price } end However this code throws this error. undefined method \`sum…

---

## [Stdin stdout -ing my program](https://www.ruby-forum.com/t/stdin-stdout-ing-my-program/111882)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 5\
**Last updated:** [August 14, 2007, 5:23am UTC](https://www.ruby-forum.com/t/stdin-stdout-ing-my-program/111882 "2007-08-14T05:23:51Z")

</div>

i need to be able to run my program fully from the command line, instead of ‘ruby program.rb’…i need to pipe the commands using standard input and output. How would i do this with the code below? Code: require ‘find…

---

## [Standard IO directory surf](https://www.ruby-forum.com/t/standard-io-directory-surf/111686)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 5\
**Last updated:** [August 10, 2007, 10:20am UTC](https://www.ruby-forum.com/t/standard-io-directory-surf/111686 "2007-08-10T10:20:53Z")

</div>

how would i go about surfing a whole directory instead of using a Dir.glob(\*/\*\*) Basically how would i do it using the Find method. I need to surf the entire file system and pull up my total number of files that arnt …

[Previous page](https://www.ruby-forum.com/top.md?page=1197&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1199&per_page=50)
