# Top

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

[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:** 1849

---

## [Understanding the Data Structure for the USB transfer](https://www.ruby-forum.com/t/understanding-the-data-structure-for-the-usb-transfer/119509)

<div class="topic-metadata">

**Author:** [@Uwe\_Bonnes](https://www.ruby-forum.com/u/Uwe_Bonnes)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/understanding-the-data-structure-for-the-usb-transfer/119509 "2007-11-07T19:07:14Z")

</div>

Hello, the last day I am banging my head against the problem how the data is structured for the USB transfer between the FX2 and the PC. Datasheet, FX2 reference and the web didn’t givve me the right clue. What I und…

---

## [Test\_usrp\_inband\_tx crash](https://www.ruby-forum.com/t/test-usrp-inband-tx-crash/119210)

<div class="topic-metadata">

**Author:** [@sanmi](https://www.ruby-forum.com/u/sanmi)\
**Replies:** 2\
**Last updated:** [November 5, 2007, 8:26am UTC](https://www.ruby-forum.com/t/test-usrp-inband-tx-crash/119210 "2007-11-05T08:26:23Z")

</div>

Hi, While using the inband code, I tried to test \<test\_usrp\_inband\_tx\> in the apps-inband folder, I noticed that the test crashes after 20 packets. I am currently trying to debug this problem. I traced the crash to …

---

## [\-v Command Line Option](https://www.ruby-forum.com/t/v-command-line-option/116877)

<div class="topic-metadata">

**Author:** [@Brian\_Leonard](https://www.ruby-forum.com/u/Brian_Leonard)\
**Replies:** 2\
**Last updated:** [October 12, 2007, 3:25am UTC](https://www.ruby-forum.com/t/v-command-line-option/116877 "2007-10-12T03:25:32Z")

</div>

According to the help: -v print version number, then turn on verbose mode However, I only see that it prints the version number. My program doesn’t even run, never mind verbose mode. Are there any other …

---

## [Nginx-Mongrel almost working; just need a little help](https://www.ruby-forum.com/t/nginx-mongrel-almost-working-just-need-a-little-help/114908)

<div class="topic-metadata">

**Author:** [@eeby](https://www.ruby-forum.com/u/eeby)\
**Replies:** 2\
**Last updated:** [September 18, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/nginx-mongrel-almost-working-just-need-a-little-help/114908 "2007-09-18T20:45:35Z")

</div>

Hello Rails experts. I’m trying to set up Nginx with Mongrel cluster for my Rails app. I got Nginx and Mongrel cluster to each work. I got Nginx to serve static files no problem. It displays the Rails intro page, for …

---

## [Server rails](https://www.ruby-forum.com/t/server-rails/114353)

<div class="topic-metadata">

**Author:** [@mirko](https://www.ruby-forum.com/u/mirko)\
**Replies:** 2\
**Last updated:** [September 11, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/server-rails/114353 "2007-09-11T23:55:36Z")

</div>

Ho appena inizato con Rails… Hopassato anni scrivere codice php e sinceramente questo framework sembra fantastico! Colto dall’entusiasmo ho subito preso una vps… Ora mi rendo conto di non sapere come integrare rails. …

---

## [Slow database imports with active record](https://www.ruby-forum.com/t/slow-database-imports-with-active-record/55738)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 2\
**Last updated:** [August 24, 2007, 8:01am UTC](https://www.ruby-forum.com/t/slow-database-imports-with-active-record/55738 "2007-08-24T08:01:48Z")

</div>

Hey Folks, Im looking for some suggestions here. Each day I need to process 200 GZ compressed files each day that contain comma delimited information in the following format: HostName, FileName, DirName, Modified\_On …

---

## [Link\_to\_remote fix, should this be added to edge rails?](https://www.ruby-forum.com/t/link-to-remote-fix-should-this-be-added-to-edge-rails/103854)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 9:34am UTC](https://www.ruby-forum.com/t/link-to-remote-fix-should-this-be-added-to-edge-rails/103854 "2007-05-12T09:34:09Z")

</div>

After looking at the link\_to\_remote tag for the first time, I found it broke when javascript was disabled. Below is one possible solution I found and would like to suggest that this idea is promoted into rails. # # p…

---

## [Insertar un read more](https://www.ruby-forum.com/t/insertar-un-read-more/90960)

<div class="topic-metadata">

**Author:** [@Jeronimo\_Palacios](https://www.ruby-forum.com/u/Jeronimo_Palacios)\
**Replies:** 2\
**Last updated:** [April 3, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/insertar-un-read-more/90960 "2007-04-03T12:41:10Z")

</div>

Buenos dias: QuerÃ­a preguntaros a ver si alguno habÃ­as resuelto un problema similar a este. Tengo un campo en una tabla que almacena HTML a pelo que se introduce en un formulario. La cuestiÃ³n es que luego saco ese…

---

## [Re: Atom Feeds](https://www.ruby-forum.com/t/re-atom-feeds/88062)

<div class="topic-metadata">

**Author:** [@poopsmith](https://www.ruby-forum.com/u/poopsmith)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 11:14pm UTC](https://www.ruby-forum.com/t/re-atom-feeds/88062 "2007-03-07T23:14:17Z")

</div>

Sean S. technique (http://seansantry.com/development/articles/2006/12/15creating-an-atom-feed-in-radiant/) is fine, but not quite right. #1 - It uses the \<r:date\> tag for the updated field, but this tag only displays…

---

## [Active::record and postgres schemas](https://www.ruby-forum.com/t/active-record-and-postgres-schemas/87830)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 2\
**Last updated:** [March 6, 2007, 11:23am UTC](https://www.ruby-forum.com/t/active-record-and-postgres-schemas/87830 "2007-03-06T11:23:23Z")

</div>

Hi It seems that active record only supports views from the public schema in postgres? but i feel that there must be a way to overide this. Somebody with an idea about how to achive this? i have a database with 3 dif…

---

## [Issue running migrations from MySQL](https://www.ruby-forum.com/t/issue-running-migrations-from-mysql/86600)

<div class="topic-metadata">

**Author:** [@KendallJ](https://www.ruby-forum.com/u/KendallJ)\
**Replies:** 2\
**Last updated:** [February 23, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/issue-running-migrations-from-mysql/86600 "2007-02-23T17:41:18Z")

</div>

I’m a little new to migrations, and would appreciate any help… This is the migration I am attempting to run: class CreateEmployees \< ActiveRecord::Migration def self.up create\_table :employees do |t| t.column :id, :…

---

## [Layout that loads only for specific actions](https://www.ruby-forum.com/t/layout-that-loads-only-for-specific-actions/83938)

<div class="topic-metadata">

**Author:** [@colemanm](https://www.ruby-forum.com/u/colemanm)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/layout-that-loads-only-for-specific-actions/83938 "2007-01-30T22:12:16Z")

</div>

Is there an easy way to have a piece of code or even an entire layout that not only loads for a given controller, but only a given action on that controller? Specifically, I’m trying to load a small Google Map using …

---

## [Formattare un numero di tipo FLOAT](https://www.ruby-forum.com/t/formattare-un-numero-di-tipo-float/82654)

<div class="topic-metadata">

**Author:** [@guzziii](https://www.ruby-forum.com/u/guzziii)\
**Replies:** 2\
**Last updated:** [January 22, 2007, 11:40am UTC](https://www.ruby-forum.com/t/formattare-un-numero-di-tipo-float/82654 "2007-01-22T11:40:30Z")

</div>

Ciao con questo comando @prezzo = sprintf("%0.2f", “#{@p}”).to\_f ottengo il seguente numero 180228.01 Dovrei formattarlo con il seguente formato 180.228,01. Come posso fare?

---

## [Does AR::Base#save update the entire object tree on update?](https://www.ruby-forum.com/t/does-ar-base-save-update-the-entire-object-tree-on-update/82723)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [January 21, 2007, 12:08am UTC](https://www.ruby-forum.com/t/does-ar-base-save-update-the-entire-object-tree-on-update/82723 "2007-01-21T00:08:15Z")

</div>

On update (new\_record? == false), if I call save on an AR::Base descendant, is it guaranteed that the entire object graph is traversed and each of the children is saved? What I’m seeing is give an arbitrarily complex …

---

## [Including source in RDoc](https://www.ruby-forum.com/t/including-source-in-rdoc/81686)

<div class="topic-metadata">

**Author:** [@oscar-alexander](https://www.ruby-forum.com/u/oscar-alexander)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/including-source-in-rdoc/81686 "2007-01-19T16:29:42Z")

</div>

Hi, There was a Ruby Q. on literate programming a little while back, but I couldn’t quite find an answer to my problem there, so I’m coming to the group. I’m writing some small example scripts to demo my library, and…

---

## [Traduction et relecture pour o'reilly](https://www.ruby-forum.com/t/traduction-et-relecture-pour-oreilly/80527)

<div class="topic-metadata">

**Author:** [@FrSSSSdSSSSric\_Logi](https://www.ruby-forum.com/u/FrSSSSdSSSSric_Logi)\
**Replies:** 2\
**Last updated:** [December 29, 2006, 9:16am UTC](https://www.ruby-forum.com/t/traduction-et-relecture-pour-oreilly/80527 "2006-12-29T09:16:22Z")

</div>

Bonjour, je suis actuellement en relation avec Dominique Buraud responsable d’Ã©dition chez O’Reilly. J’ai participÃ© Ã la relecture de la traduction du shortcuts sur Mongrel ( Mongrel \[Book\]) qui devrait sortir e…

---

## [Modeling a simple cpu](https://www.ruby-forum.com/t/modeling-a-simple-cpu/73758)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 27, 2006, 1:09am UTC](https://www.ruby-forum.com/t/modeling-a-simple-cpu/73758 "2006-10-27T01:09:11Z")

</div>

i need to model the on board cpu of a satellite in order to mock running uploaded commands. basically i need to model the internal state and all incoming commands so i can determine register states at a given point in …

---

## [\[SoC\] GlimR 0.1.0](https://www.ruby-forum.com/t/soc-glimr-0-1-0/98556)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 2\
**Last updated:** [July 17, 2006, 1:37am UTC](https://www.ruby-forum.com/t/soc-glimr-0-1-0/98556 "2006-07-17T01:37:14Z")

</div>

== GlimR 0.1.0 - Ruby OpenGL GUI Widget Kit == Homepage: http://glimr.rubyforge.org/ Download: http://rubyforge.org/frs/?group\_id=1736 Blog: http://glimr.blogspot.com/ This is one of Ruby Central Inc.'s Google Summe…

---

## [Per Session Database Connection](https://www.ruby-forum.com/t/per-session-database-connection/98449)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [July 14, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/per-session-database-connection/98449 "2006-07-14T22:47:06Z")

</div>

Hi, I am creating a Rails front-end for a legacy application. For this application the username and password for the database must be provided by the user. i.e. each session needs a separate connection to the databas…

---

## [Questions about GTK button box](https://www.ruby-forum.com/t/questions-about-gtk-button-box/97668)

<div class="topic-metadata">

**Author:** [@Laurent\_J](https://www.ruby-forum.com/u/Laurent_J)\
**Replies:** 2\
**Last updated:** [July 9, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/questions-about-gtk-button-box/97668 "2006-07-09T14:18:06Z")

</div>

I looked at the GTK VButtonBOx and HButtonBox classes today and I have a few question. In rbgtkvbbox.c for instance there is an ‘initialize’ method to create a new object but I don’t see that Gtk::VButtonBox is declar…

---

## [Problem with http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ru](https://www.ruby-forum.com/t/problem-with-http-blade-nagaokaut-ac-jp-cgi-bin-scat-rb-ru/97508)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/problem-with-http-blade-nagaokaut-ac-jp-cgi-bin-scat-rb-ru/97508 "2006-07-07T19:04:10Z")

</div>

Hi, There seems to be a problem with the web interface to ruby-talk at http://blade.nagaokaut.ac.jp/. For example, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/1 returns an email from Robert K. dated …

---

## [Error log for views?](https://www.ruby-forum.com/t/error-log-for-views/64372)

<div class="topic-metadata">

**Author:** [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 9:26pm UTC](https://www.ruby-forum.com/t/error-log-for-views/64372 "2006-06-24T21:26:34Z")

</div>

This may be a bonehead question, but when I have some error in a view I’m testing, the server spits out a generic page: "Application error Change this error message for exceptions thrown outside of an action (like in…

---

## [Migration or model first](https://www.ruby-forum.com/t/migration-or-model-first/63261)

<div class="topic-metadata">

**Author:** [@Dark\_A](https://www.ruby-forum.com/u/Dark_A)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/migration-or-model-first/63261 "2006-06-13T18:22:06Z")

</div>

I sort of asked this the other day but with no replies. I’m new to rails btw. Question: Is there a preferred way to create migrations ? What I’ve noticed is if I create a model first , it sets up the skelton of the m…

---

## [Trying to turn params field into a variable](https://www.ruby-forum.com/t/trying-to-turn-params-field-into-a-variable/59044)

<div class="topic-metadata">

**Author:** [@Bing](https://www.ruby-forum.com/u/Bing)\
**Replies:** 2\
**Last updated:** [April 28, 2006, 9:29am UTC](https://www.ruby-forum.com/t/trying-to-turn-params-field-into-a-variable/59044 "2006-04-28T09:29:46Z")

</div>

Hi guys, I have another question, we have this line on our .rb code: @variable = params \[:user\]\[:bird\] I need to be able to change the 2nd field into a variable because it is a changing valuename, I was wondering if …

---

## [:through and STI](https://www.ruby-forum.com/t/through-and-sti/56070)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 2\
**Last updated:** [March 28, 2006, 8:08am UTC](https://www.ruby-forum.com/t/through-and-sti/56070 "2006-03-28T08:08:49Z")

</div>

Hi, I’m trying to use :through and STI using the trunk version of Rails, but I get the following error see bottom of this msg\[1\] here are my classes. class Player \< ActiveRecord::Base end class Ladder \< ActiveRecor…

---

## [Inventory Project](https://www.ruby-forum.com/t/inventory-project/82061)

<div class="topic-metadata">

**Author:** [@rahul\_m](https://www.ruby-forum.com/u/rahul_m)\
**Replies:** 2\
**Last updated:** [March 15, 2006, 4:48am UTC](https://www.ruby-forum.com/t/inventory-project/82061 "2006-03-15T04:48:26Z")

</div>

I am trying to write a inventory web application with RoR so that I can keep track of hardware and software purchased by the company. I would also like to be able to associate products we buy with users and department…

---

## [Agile Web Development book - version 4.0 released](https://www.ruby-forum.com/t/agile-web-development-book-version-4-0-released/87881)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 2\
**Last updated:** [January 3, 2006, 5:57am UTC](https://www.ruby-forum.com/t/agile-web-development-book-version-4-0-released/87881 "2006-01-03T05:57:52Z")

</div>

I don’t know if I missed this on the list, but the Agile Web D. with Rails book is now at version 4.0, for those of us who bought the PDF from the Prag Prog site. Just a few typos and corrections from the looks of it,…

---

## [Mangled database record ids](https://www.ruby-forum.com/t/mangled-database-record-ids/51363)

<div class="topic-metadata">

**Author:** [@Mary\_Cook](https://www.ruby-forum.com/u/Mary_Cook)\
**Replies:** 2\
**Last updated:** [January 1, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/mangled-database-record-ids/51363 "2006-01-01T17:00:52Z")

</div>

I’ve been going through the excellent tutorial in Agile Web Development With Rails, and hit a bit of a snag. After doing the ‘pretty listings’ functionality for the Admin controller, attempting to click ‘Show’ next t…

---

## [Newbie going blind on test from book](https://www.ruby-forum.com/t/newbie-going-blind-on-test-from-book/49830)

<div class="topic-metadata">

**Author:** [@mailing](https://www.ruby-forum.com/u/mailing)\
**Replies:** 2\
**Last updated:** [December 9, 2005, 9:59am UTC](https://www.ruby-forum.com/t/newbie-going-blind-on-test-from-book/49830 "2005-12-09T09:59:45Z")

</div>

Hi all, I’m working on the rails book and the test definition shown further below gives the following error. test\_read\_with\_hash(ProductTest): NoMethodError: You have a nil object when you didn’t expect it! You mig…

---

## [Test::Unit Console Runner](https://www.ruby-forum.com/t/test-unit-console-runner/62683)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 2\
**Last updated:** [December 7, 2005, 9:50am UTC](https://www.ruby-forum.com/t/test-unit-console-runner/62683 "2005-12-07T09:50:12Z")

</div>

Is there anyway to pass options to the (wonderful!) Test::Unit Console Runner to do things like increase verbosity: Print all passing tests Print all passing assertions or decrease verbosity: Just the error message…

---

## [Rails quick reference?](https://www.ruby-forum.com/t/rails-quick-reference/100630)

<div class="topic-metadata">

**Author:** [@mark.ericson](https://www.ruby-forum.com/u/mark.ericson)\
**Replies:** 2\
**Last updated:** [December 6, 2005, 5:04pm UTC](https://www.ruby-forum.com/t/rails-quick-reference/100630 "2005-12-06T17:04:28Z")

</div>

I’m curious if anybody has developed a handy Rails Quick Reference, perhaps something like the “Ruby Cheat Sheet” I’ve seen? The problem is I have yet to write enough Rails code to have all of the scaffolds commited …

---

## [One liner please](https://www.ruby-forum.com/t/one-liner-please/47592)

<div class="topic-metadata">

**Author:** [@leonleslie](https://www.ruby-forum.com/u/leonleslie)\
**Replies:** 2\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/one-liner-please/47592 "2005-11-12T12:49:35Z")

</div>

Hi Railers, I have the following code which attempts to find missing years in a list of active records. It creates a range of years for which filing documents are required. Then deletes all the years for which there …

---

## [What;s the right url in this case](https://www.ruby-forum.com/t/what-s-the-right-url-in-this-case/223624)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 11, 2012, 2:27pm UTC](https://www.ruby-forum.com/t/what-s-the-right-url-in-this-case/223624 "2012-10-11T14:27:18Z")

</div>

Hello, I have this models class Berichten \< ActiveRecord::Base attr\_accessible :bericht, :user belongs\_to :user belongs\_to :Category end class User \< ActiveRecord::Base attr\_accessible :email, :name has\_many :be…

---

## [Commands of creating new app. are different](https://www.ruby-forum.com/t/commands-of-creating-new-app-are-different/222236)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 18, 2012, 8:36pm UTC](https://www.ruby-forum.com/t/commands-of-creating-new-app-are-different/222236 "2012-08-18T20:36:39Z")

</div>

I am following “Head First Rails” to learn Rails Web Application Development. To create a new web application from command prompt, the books says: rails \<app\_name\> When I try the above command, it doesn’t work. After…

---

## [Rails compatibility with Ubuntu](https://www.ruby-forum.com/t/rails-compatibility-with-ubuntu/221161)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 3, 2012, 9:10am UTC](https://www.ruby-forum.com/t/rails-compatibility-with-ubuntu/221161 "2012-07-03T09:10:13Z")

</div>

Hi All, I want to know the compatibility of Ubuntu with Rails. Anyone know which Ubuntu version support Rails 2.x and Rails 3.x. – Mandeep K.

---

## [Ruby convertion](https://www.ruby-forum.com/t/ruby-convertion/217432)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 4, 2012, 12:56pm UTC](https://www.ruby-forum.com/t/ruby-convertion/217432 "2012-03-04T12:56:14Z")

</div>

hai frnds… im beginer. i want to know how to convert text box fields to text file and download the file… plz help me

---

## ["cheat" gem](https://www.ruby-forum.com/t/cheat-gem/206261)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 26, 2011, 11:09pm UTC](https://www.ruby-forum.com/t/cheat-gem/206261 "2011-04-26T23:09:41Z")

</div>

dnormandin@select-man:~$ sudo gem install cheat \[sudo\] password for dnormandin: Successfully installed cheat-1.3.0 1 gem installed Installing ri documentation for cheat-1.3.0… Installing RDoc documentation for chea…

---

## [Help with ncurses](https://www.ruby-forum.com/t/help-with-ncurses/201955)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 20, 2011, 5:27am UTC](https://www.ruby-forum.com/t/help-with-ncurses/201955 "2011-01-20T05:27:53Z")

</div>

When I try to require ncurses the following error message comes up. no such file to load – ncurses\_bin.so (LoadError) What can I do to remedy this?

---

## [Use has\_one or belongs\_to](https://www.ruby-forum.com/t/use-has-one-or-belongs-to/199066)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 13, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/use-has-one-or-belongs-to/199066 "2010-11-13T23:37:28Z")

</div>

There are two models: Companies and Employees table companies integer :ceo\_id integer :cfo\_id end table employees string :name end How should I implement .ceo and .cfo which will return the CEO’s and CFO’s emplo…

---

## [Net-http-persistent 1.4.1 Released](https://www.ruby-forum.com/t/net-http-persistent-1-4-1-released/197408)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 18, 2010, 10:50pm UTC](https://www.ruby-forum.com/t/net-http-persistent-1-4-1-released/197408 "2010-10-18T22:50:34Z")

</div>

net-http-persistent version 1.4.1 has been released! http://seattlerb.rubyforge.org/net-http-persistent Persistent connections using Net::HTTP plus a speed fix for 1.8. It’s thread-safe too! Changes: 1.4.1 / 2010…

---

## [Bug in if?](https://www.ruby-forum.com/t/bug-in-if/195345)

<div class="topic-metadata">

**Author:** [@Marcin\_SWMPSS\_Janow](https://www.ruby-forum.com/u/Marcin_SWMPSS_Janow)\
**Replies:** 4\
**Last updated:** [September 22, 2010, 4:13pm UTC](https://www.ruby-forum.com/t/bug-in-if/195345 "2010-09-22T16:13:15Z")

</div>

Hello, I’m running a small shell server for me and my friends and would like every user to have his own example.com/user web-accessible, password-protected directory not available to other users. Preferably, with aut…

---

## [Wrong class being returned in association](https://www.ruby-forum.com/t/wrong-class-being-returned-in-association/194057)

<div class="topic-metadata">

**Author:** [@ji123](https://www.ruby-forum.com/u/ji123)\
**Replies:** 4\
**Last updated:** [August 29, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/wrong-class-being-returned-in-association/194057 "2010-08-29T16:44:26Z")

</div>

I’m using Rails 3.0.0rc and have the following models: class User Â has\_many :readings Â has\_many :conversations, :through=\>:readings end class Reading Â belongs\_to :user Â belongs\_to :conversation end class Con…

---

## [Redirect loop](https://www.ruby-forum.com/t/redirect-loop/193106)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 4\
**Last updated:** [August 11, 2010, 4:11pm UTC](https://www.ruby-forum.com/t/redirect-loop/193106 "2010-08-11T16:11:31Z")

</div>

I have one record in a database that is encountering a redirect loop. When I point my browser to “www.sitenamehere.co.uk/case\_studies/1”, it displays a redirect loop error message. When I point my browser to “www.site…

---

## [Transaction not rolled back in Functional Test](https://www.ruby-forum.com/t/transaction-not-rolled-back-in-functional-test/183260)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 4\
**Last updated:** [February 11, 2010, 2:31pm UTC](https://www.ruby-forum.com/t/transaction-not-rolled-back-in-functional-test/183260 "2010-02-11T14:31:40Z")

</div>

Using rails 2.3 and MySQL 5. I have code in a controller that is something like begin User.transaction do user\_object.save do something that might raise an exeception end rescue Log the error give the user the f…

---

## [Route not working](https://www.ruby-forum.com/t/route-not-working/183031)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 4\
**Last updated:** [February 6, 2010, 3:10pm UTC](https://www.ruby-forum.com/t/route-not-working/183031 "2010-02-06T15:10:10Z")

</div>

I’ve added a controller ‘blog/admin’. When I want to access ‘blog/admin/index’ it says that the page doesn’t exist. It works in my local environment. What am I missing?

---

## [Parse a String](https://www.ruby-forum.com/t/parse-a-string/182090)

<div class="topic-metadata">

**Author:** [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Replies:** 4\
**Last updated:** [January 23, 2010, 3:23am UTC](https://www.ruby-forum.com/t/parse-a-string/182090 "2010-01-23T03:23:54Z")

</div>

Hello, I wonder if someone would be able to help. Through necessity I’m learning Ruby and trying to write my own script and while I am getting there and grasping things more, I’m still on first rung of the ladder and…

---

## [Search Pluging , Acts\_as\_ferret with conditions](https://www.ruby-forum.com/t/search-pluging-acts-as-ferret-with-conditions/176059)

<div class="topic-metadata">

**Author:** [@neetal](https://www.ruby-forum.com/u/neetal)\
**Replies:** 4\
**Last updated:** [September 24, 2009, 7:19pm UTC](https://www.ruby-forum.com/t/search-pluging-acts-as-ferret-with-conditions/176059 "2009-09-24T19:19:38Z")

</div>

I have a search feature in my application. I was using acts\_as\_ferret , i tried all possible ways to include the conditions with it. Model.find\_with\_ferret(query, :conditions =\>{}) But dint succeed in it. So please s…

---

## [Instance\_eval](https://www.ruby-forum.com/t/instance-eval/172878)

<div class="topic-metadata">

**Author:** [@abhishek](https://www.ruby-forum.com/u/abhishek)\
**Replies:** 4\
**Last updated:** [July 30, 2009, 7:04am UTC](https://www.ruby-forum.com/t/instance-eval/172878 "2009-07-30T07:04:56Z")

</div>

hii i’m using instance\_eval inside method\_missing to define a new method at run time. bt at the time of calling if i call newly defined method once it doesn’t give any value…so for getting the value from newly define…

---

## [RFX-1800 Tranciever](https://www.ruby-forum.com/t/rfx-1800-tranciever/171362)

<div class="topic-metadata">

**Author:** [@oldmoe](https://www.ruby-forum.com/u/oldmoe)\
**Replies:** 4\
**Last updated:** [July 1, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/rfx-1800-tranciever/171362 "2009-07-01T18:48:17Z")

</div>

Hello Is it possible to run benchmark\_tx and benchmark\_rx on same computer with one USRP with RFX-1800 Transciever daughter board.

---

## [Join strings](https://www.ruby-forum.com/t/join-strings/165233)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 4\
**Last updated:** [April 10, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/join-strings/165233 "2009-04-10T14:40:37Z")

</div>

What is the simples way to join strings? tmp1 = ‘aa’ tmp2 = ‘bb’ tmp3 = nil tmp4 = nil tmp5 = ‘dd’ result = ‘aabbcc’

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

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