# Top

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

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

---

## [Help Required: Host name modification](https://www.ruby-forum.com/t/help-required-host-name-modification/192260)

<div class="topic-metadata">

**Author:** [@Sougata\_Pal](https://www.ruby-forum.com/u/Sougata_Pal)\
**Replies:** 3\
**Last updated:** [July 31, 2010, 12:23am UTC](https://www.ruby-forum.com/t/help-required-host-name-modification/192260 "2010-07-31T00:23:21Z")

</div>

Hi, I need to modify the hostname ( $host ) as follows. Request Hostname: xyz.abc.example.com Required Hostname: xyz.abc I am expecting some sort of regex function to be run on $host. Please feel free to ask quest…

---

## [How to use gcell gang-scheduling in qa\_fft.py (Python) on Cell BE?](https://www.ruby-forum.com/t/how-to-use-gcell-gang-scheduling-in-qa-fft-py-python-on-cell-be/192077)

<div class="topic-metadata">

**Author:** [@matty](https://www.ruby-forum.com/u/matty)\
**Replies:** 3\
**Last updated:** [July 24, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/how-to-use-gcell-gang-scheduling-in-qa-fft-py-python-on-cell-be/192077 "2010-07-24T16:49:58Z")

</div>

Hi, when i run benchmark\_nop on Cell BE (PS3), i can see the speedup pretty well. When i take qa\_fft.py as testcase i can’t see the speedup. All SPEs run the same code for same time. So when i use 6 SPEs, computing …

---

## [Create a Request from a String](https://www.ruby-forum.com/t/create-a-request-from-a-string/189133)

<div class="topic-metadata">

**Author:** [@Matthieu\_T](https://www.ruby-forum.com/u/Matthieu_T)\
**Replies:** 3\
**Last updated:** [May 26, 2010, 3:40am UTC](https://www.ruby-forum.com/t/create-a-request-from-a-string/189133 "2010-05-26T03:40:14Z")

</div>

Hi, I’m trying to store requests that comes in (let’s call it request A), and I want to be able to “replay” them later, when another query comes in with a specific argument (request B). I can store the request to m…

---

## [Inserting Javascript dinamically with DOM](https://www.ruby-forum.com/t/inserting-javascript-dinamically-with-dom/183193)

<div class="topic-metadata">

**Author:** [@denommus](https://www.ruby-forum.com/u/denommus)\
**Replies:** 3\
**Last updated:** [February 10, 2010, 5:54pm UTC](https://www.ruby-forum.com/t/inserting-javascript-dinamically-with-dom/183193 "2010-02-10T17:54:07Z")

</div>

I want to do simple stuff. In my controller I have this: render :update do |page| page.replace\_html ‘scripts’, :partial =\> ‘scripts’, :locals =\> {:question =\> @question} end And in the partial I have this: \<% if qu…

---

## [\#system() hangs, child is defunct](https://www.ruby-forum.com/t/system-hangs-child-is-defunct/178147)

<div class="topic-metadata">

**Author:** [@Tor\_Erik\_L](https://www.ruby-forum.com/u/Tor_Erik_L)\
**Replies:** 3\
**Last updated:** [November 2, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/system-hangs-child-is-defunct/178147 "2009-11-02T18:54:21Z")

</div>

Hi all, I am trying to track down the source of an intermittent and tricky problem. The ruby version is 1.8.6 patchlevel 287. The OS is virtualized Gentoo, using the free Express image provided by Engine Y., so the s…

---

## [ChangeLog for r2004 (ruby-mode.el)](https://www.ruby-forum.com/t/changelog-for-r2004-ruby-mode-el/173544)

<div class="topic-metadata">

**Author:** [@TAKAHASHI\_Kaoru](https://www.ruby-forum.com/u/TAKAHASHI_Kaoru)\
**Replies:** 3\
**Last updated:** [August 14, 2009, 6:32am UTC](https://www.ruby-forum.com/t/changelog-for-r2004-ruby-mode-el/173544 "2009-08-14T06:32:05Z")

</div>

é«˜æ©‹@TNTã§ã™ã€‚ \[ruby-list:33415\] \[ruby-list:33417\] ã«é–¢ã™ã‚‹ ChangeLog ã¸ã®ãƒ‘ãƒƒãƒã‚’ æ·»ä»˜ã„ãŸã—ã¾ã™ã€‚svnã§ã¯ r2004 ã®åˆ†ã§ã™ã€‚ Emacs 23.1ã«å…¥ã£ã¦ã„ã‚‹ruby-mode.elã«ã‚‚ã“ã®ã‚³ãƒ¼ãƒ‰ã…

---

## [Running jQuery and prototype scripts together](https://www.ruby-forum.com/t/running-jquery-and-prototype-scripts-together/168780)

<div class="topic-metadata">

**Author:** [@lyntaff](https://www.ruby-forum.com/u/lyntaff)\
**Replies:** 3\
**Last updated:** [June 8, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/running-jquery-and-prototype-scripts-together/168780 "2009-06-08T20:03:52Z")

</div>

Hi I have a rails appplication that uses jquery and prototype for different features. When adding the jquery library it seems all features in the application that uses prototype stop working. Should this happen? and…

---

## [Possible bug in "root" declaration?](https://www.ruby-forum.com/t/possible-bug-in-root-declaration/169031)

<div class="topic-metadata">

**Author:** [@Systems\_Maintenance](https://www.ruby-forum.com/u/Systems_Maintenance)\
**Replies:** 3\
**Last updated:** [May 28, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/possible-bug-in-root-declaration/169031 "2009-05-28T17:04:32Z")

</div>

Below is part of a server block for a particular vhost: server { server\_name mysite.tld ~^.+.mysite.tld$; set $base /var/www/mysite; if ( $host ~\* "^(x|y|z)\\.mysite\\.tld$" ){ set $files misc; } if ( $host ~\* "^(a…

---

## [How I can trap FTPPermError?](https://www.ruby-forum.com/t/how-i-can-trap-ftppermerror/162732)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 9:07am UTC](https://www.ruby-forum.com/t/how-i-can-trap-ftppermerror/162732 "2009-03-13T09:07:54Z")

</div>

Hello, I’m trying to access an FTP tp check if the files from database exists there, and if they have valid size. Some of them are wrong files with zero kbytes. My script stops with: 10944/10948 11978 inf\_A78028800\_…

---

## [Modifications in benchmark\_rx.py for USRP2](https://www.ruby-forum.com/t/modifications-in-benchmark-rx-py-for-usrp2/161494)

<div class="topic-metadata">

**Author:** [@Smith\_L](https://www.ruby-forum.com/u/Smith_L)\
**Replies:** 3\
**Last updated:** [March 4, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/modifications-in-benchmark-rx-py-for-usrp2/161494 "2009-03-04T23:44:13Z")

</div>

Hi, I have been trying to use USRP2 as a receiver and USRP1 as a transmitter. The benchmark\_tx.py file is working well for USRP1 but I did some modifications to benchmark\_rx.py so that it can work on USRP2. But it …

---

## [Scaffold macro problem](https://www.ruby-forum.com/t/scaffold-macro-problem/159982)

<div class="topic-metadata">

**Author:** [@adeel\_1103](https://www.ruby-forum.com/u/adeel_1103)\
**Replies:** 3\
**Last updated:** [February 10, 2009, 6:55pm UTC](https://www.ruby-forum.com/t/scaffold-macro-problem/159982 "2009-02-10T18:55:51Z")

</div>

Hello, I am using Komodo Edit 5.0 for ROR. I have made the database by using the macros in it. But when I make model using sacffold, I get error. The details are given below: C:/Ruby/lib/ruby/1.8/yaml.rb:133:in load'…

---

## [Setting a CSS class on select helper](https://www.ruby-forum.com/t/setting-a-css-class-on-select-helper/156066)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [December 20, 2008, 12:28am UTC](https://www.ruby-forum.com/t/setting-a-css-class-on-select-helper/156066 "2008-12-20T00:28:55Z")

</div>

Hi, I’m trying to put a css class on a dropdown box built using a select helper (to make it wider) but I can’t get it to take. I thought for sure, and from what I’ve seen elsewhere, this code should work: \<%= f.sele…

---

## [Why is Ruby Website Search Broken?](https://www.ruby-forum.com/t/why-is-ruby-website-search-broken/150642)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 4:25am UTC](https://www.ruby-forum.com/t/why-is-ruby-website-search-broken/150642 "2008-10-12T04:25:31Z")

</div>

Is it just me, or is everyone aware that the Ruby main search is broken on Here’s what I keep getting for even simple searches like “uninstall” Application error (Apache) Change this error message for exceptions thro…

---

## [OOK reception](https://www.ruby-forum.com/t/ook-reception/150539)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [October 9, 2008, 10:29pm UTC](https://www.ruby-forum.com/t/ook-reception/150539 "2008-10-09T22:29:02Z")

</div>

Hi, I am working on an OOK receiver but am having some problems with the squelch. I wrote a script with the following flow graph: USRP.source\_c -\> complex\_to\_mag -\> add\_const\_ff( -const ) -\> binary\_slicer\_fb -\> file\_…

---

## [How to unit test code that connects to the external resources?](https://www.ruby-forum.com/t/how-to-unit-test-code-that-connects-to-the-external-resources/148057)

<div class="topic-metadata">

**Author:** [@hayafirst](https://www.ruby-forum.com/u/hayafirst)\
**Replies:** 3\
**Last updated:** [September 9, 2008, 1:20am UTC](https://www.ruby-forum.com/t/how-to-unit-test-code-that-connects-to-the-external-resources/148057 "2008-09-09T01:20:52Z")

</div>

By external resources, I mean, the code start a http connection and GET xmls from the url specified. I will definitely not rely my unit test on an external url or anything like that. But how do I unit test the method?…

---

## [Rb\_yield $B$N9bB.HG(B](https://www.ruby-forum.com/t/rb-yield-b-n9bb-hg-b/136377)

<div class="topic-metadata">

**Author:** [@wanabe](https://www.ruby-forum.com/u/wanabe)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 7:16am UTC](https://www.ruby-forum.com/t/rb-yield-b-n9bb-hg-b/136377 "2008-08-14T07:16:40Z")

</div>

e$B%o%J%Y$H?=$7$^$9!#e(B rb\_yield e$B$rO"B3$G8F$S=P$9$H$-$K!"@Q$s$@%U%l!\<%\`$r;H$$$^$o$94X?t$r=q$-$^$7$?!#e(B e$B;n83E\*$Ke(B Fixnum#times e$B$K$@$1AH$\_9~$s$G$$$^$9$,!"$\[$+$K$be(B Array#each, Range#each e$B$J$I$G;H$($k…

---

## [Writing a new function in the model problem](https://www.ruby-forum.com/t/writing-a-new-function-in-the-model-problem/143844)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 3\
**Last updated:** [July 23, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/writing-a-new-function-in-the-model-problem/143844 "2008-07-23T21:04:36Z")

</div>

If anyone can help with this problem, I would greatly appreciate. In general I am trying to write a new method in one of models (Appointments) that takes a hash of objects and returns formated times that are within …

---

## [Come si fa il refresh?](https://www.ruby-forum.com/t/come-si-fa-il-refresh/143510)

<div class="topic-metadata">

**Author:** [@dneri](https://www.ruby-forum.com/u/dneri)\
**Replies:** 3\
**Last updated:** [July 21, 2008, 10:47am UTC](https://www.ruby-forum.com/t/come-si-fa-il-refresh/143510 "2008-07-21T10:47:18Z")

</div>

Salve a tutti, ho iniziato a imparare ruby dall’altro ieri e incontro diversi problemi nel mandare in esecuzione gli script di esempio. Premetto che ho usato questo HowTo per configurare apache/linux/ruby: http://wik…

---

## [Aiuto su decodifica request\_uri con caratteri giapponesi](https://www.ruby-forum.com/t/aiuto-su-decodifica-request-uri-con-caratteri-giapponesi/143393)

<div class="topic-metadata">

**Author:** [@gianluca\_t](https://www.ruby-forum.com/u/gianluca_t)\
**Replies:** 3\
**Last updated:** [July 18, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/aiuto-su-decodifica-request-uri-con-caratteri-giapponesi/143393 "2008-07-18T13:41:01Z")

</div>

Ciao a tutti, ho un piccolo problemino… Nell’applicazione rails appena mandata in produzione non riesco a capire come decodificare i caratteri che mi arrivano in request\_uri. Mi spiego meglio, mi vengono fatte delle …

---

## [Is there a Rails portlet like plugin/framework? (i.e. just basic to allow users to move windows arou](https://www.ruby-forum.com/t/is-there-a-rails-portlet-like-plugin-framework-i-e-just-basic-to-allow-users-to-move-windows-arou/139942)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [June 10, 2008, 7:52pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-portlet-like-plugin-framework-i-e-just-basic-to-allow-users-to-move-windows-arou/139942 "2008-06-10T19:52:29Z")

</div>

Hi, Just wondering if there is a Rails Plugin/GEM/Framework to aid in letting users move around (adjust) where the main page windows are. Perhaps maximize and minimize. I guess this pretty much sounds like a portl…

---

## [Rake spec:rcov failing](https://www.ruby-forum.com/t/rake-spec-rcov-failing/136344)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 2:41am UTC](https://www.ruby-forum.com/t/rake-spec-rcov-failing/136344 "2008-05-14T02:41:06Z")

</div>

Trying to run the ‘spec:rcov’ task and failing with error below. I saw a post from last year with a different REXML error but it was a FixNum issue. Any help appreciated. S OS X Ruby 1.8.6 Rails 2.02 RSpec-1.1.3…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/137292)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 3\
**Last updated:** [May 11, 2008, 3:26pm UTC](https://www.ruby-forum.com/t/no-subject/137292 "2008-05-11T15:26:20Z")

</div>

It would be useful to have a helper function to clean up this kind of code. Or is there one and I can’t find it? RubyUtils.GetConstant(context, rubyClass, SymbolTable.StringToId(mutableString.ConvertToString()), true…

---

## [JDBC Oracle](https://www.ruby-forum.com/t/jdbc-oracle/136502)

<div class="topic-metadata">

**Author:** [@lgas](https://www.ruby-forum.com/u/lgas)\
**Replies:** 3\
**Last updated:** [May 6, 2008, 7:40am UTC](https://www.ruby-forum.com/t/jdbc-oracle/136502 "2008-05-06T07:40:05Z")

</div>

Hi, Iâ€™m trying to migrate the AR script on to Oracle database. Im using jdbc adapter. There are number of functions defined in jdbc\_oracle.rb, but when I call them (eg: rename\_column(â€¦)) in my AR script, it says …

---

## [perdÃ³n por el mensaje anterior](https://www.ruby-forum.com/t/perda-n-por-el-mensaje-anterior/132142)

<div class="topic-metadata">

**Author:** [@NeftalSSSSGuerrero](https://www.ruby-forum.com/u/NeftalSSSSGuerrero)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/perda-n-por-el-mensaje-anterior/132142 "2008-03-17T21:56:04Z")

</div>

Haber, no tienes que decirle nada a Fernando, he sido yo el que me he equivocado al mandar el mensaje, ya que justamente acabo de agregarme a la lista y he mandado el mensaje muy rapido ya que tenÃ­a la duda de lo de …

---

## [BBN code-Failed to set Tx frequency to 2.4G](https://www.ruby-forum.com/t/bbn-code-failed-to-set-tx-frequency-to-2-4g/127102)

<div class="topic-metadata">

**Author:** [@Mohammad\_Hamed\_F](https://www.ruby-forum.com/u/Mohammad_Hamed_F)\
**Replies:** 3\
**Last updated:** [January 29, 2008, 2:23am UTC](https://www.ruby-forum.com/t/bbn-code-failed-to-set-tx-frequency-to-2-4g/127102 "2008-01-29T02:23:21Z")

</div>

Hi I’ve tried to use BBN code to transmit 802.11 packets by using RFX2400 dautherboard. When I run “bbn\_80211b\_tx.py” I get the following message: Using TX d’board A: Flex 2400 Tx MIMO B gr\_fir\_ccf: using SSE spb…

---

## [Enhancing page model with acts\_as\_taggable](https://www.ruby-forum.com/t/enhancing-page-model-with-acts-as-taggable/125025)

<div class="topic-metadata">

**Author:** [@jomz](https://www.ruby-forum.com/u/jomz)\
**Replies:** 3\
**Last updated:** [January 8, 2008, 4:09am UTC](https://www.ruby-forum.com/t/enhancing-page-model-with-acts-as-taggable/125025 "2008-01-08T04:09:19Z")

</div>

Hi list, I was wondering if anybody is using acts\_as\_taggable(\_on\_steroids) on their pages yet?

---

## [Signal reconstruction](https://www.ruby-forum.com/t/signal-reconstruction/119652)

<div class="topic-metadata">

**Author:** [@Aadil\_V](https://www.ruby-forum.com/u/Aadil_V)\
**Replies:** 3\
**Last updated:** [November 9, 2007, 6:25am UTC](https://www.ruby-forum.com/t/signal-reconstruction/119652 "2007-11-09T06:25:29Z")

</div>

Hi, I’ve been bashing my head for a couple of days on what should be a trivial process. I would really appreciate it if somebody could please come to my rescue. I’d like to digitise a signal, intented to be off air …

---

## [1 table 2 models](https://www.ruby-forum.com/t/1-table-2-models/115392)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 12:13am UTC](https://www.ruby-forum.com/t/1-table-2-models/115392 "2007-09-25T00:13:41Z")

</div>

I have a single database which contains a single table. The general public will not have access to the table at all. I have 2 classes of users that will have access to the table. The ‘members’ class is to have read…

---

## [Cherche dÃ©veloppeur Rails](https://www.ruby-forum.com/t/cherche-da-veloppeur-rails/115362)

<div class="topic-metadata">

**Author:** [@Done\_G](https://www.ruby-forum.com/u/Done_G)\
**Replies:** 3\
**Last updated:** [September 24, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/cherche-da-veloppeur-rails/115362 "2007-09-24T15:45:22Z")

</div>

Bonjour, Donegarden est un jeune projet dont le but est de crÃ©er des services web simples et utiles. Pour le moment Donegarden est constituÃ© d’une seule personne. Dans le but d’Ã©tendre l’Ã©quipe et pour rendre cett…

---

## ["ri intern" not working?](https://www.ruby-forum.com/t/ri-intern-not-working/114965)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 3\
**Last updated:** [September 19, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/ri-intern-not-working/114965 "2007-09-19T19:52:45Z")

</div>

strange that ri intern is not giving the String#intern but ri superclass will give the Class#superclass have to use ri String#intern (using ri from InstantRails 1.7)

---

## [Update multiple records in the same table](https://www.ruby-forum.com/t/update-multiple-records-in-the-same-table/113621)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 3\
**Last updated:** [September 4, 2007, 12:18pm UTC](https://www.ruby-forum.com/t/update-multiple-records-in-the-same-table/113621 "2007-09-04T12:18:37Z")

</div>

Hey, Sorry to ask this, but I’m really confused! I have an app to handle guest lists. When a user wants to edit a list, I create a one form with fields for each guest to make it easier to update all in one go. Like t…

---

## [Session: a poor man's global?](https://www.ruby-forum.com/t/session-a-poor-mans-global/106772)

<div class="topic-metadata">

**Author:** [@george\_b](https://www.ruby-forum.com/u/george_b)\
**Replies:** 3\
**Last updated:** [June 14, 2007, 2:32am UTC](https://www.ruby-forum.com/t/session-a-poor-mans-global/106772 "2007-06-14T02:32:45Z")

</div>

As I learn Rails I find myself all too often tempted to dump something into the session hash just because I can’t think of a better way to make it briefly persistent (no oxymoron intended!). For instance, I have repor…

---

## [Array troubles](https://www.ruby-forum.com/t/array-troubles/105079)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 25, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/array-troubles/105079 "2007-05-25T18:22:19Z")

</div>

I’m converting a Java calculator program I wrote into Ruby–which, just so you know, has been unbelievable with how quickly the language can be learned and implemented and how easy it made programming what had taken mo…

---

## [Como saber si funcion el fastcgi?](https://www.ruby-forum.com/t/como-saber-si-funcion-el-fastcgi/103293)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 3\
**Last updated:** [May 3, 2007, 11:52pm UTC](https://www.ruby-forum.com/t/como-saber-si-funcion-el-fastcgi/103293 "2007-05-03T23:52:13Z")

</div>

Holas, he instalado fastcgi en mi maquina, he modificado el archivo .httaccess para que corra con el fastcgi pero no consigo ver la vista del controlador que he creado, ademas he direccionado en el archivo routes.rb …

---

## [Can't see ouput of executed command](https://www.ruby-forum.com/t/cant-see-ouput-of-executed-command/87021)

<div class="topic-metadata">

**Author:** [@schacke](https://www.ruby-forum.com/u/schacke)\
**Replies:** 3\
**Last updated:** [February 27, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/cant-see-ouput-of-executed-command/87021 "2007-02-27T18:13:41Z")

</div>

Hi, On a windows system, I execute a command using the ‘backtick’ notation, but I can’t see the output of the command. For example: echo Hello --\> no output mvn.bat -version --\> no output date --\> no output When I…

---

## [Why is my radiant site running so slow?](https://www.ruby-forum.com/t/why-is-my-radiant-site-running-so-slow/77607)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 3\
**Last updated:** [November 29, 2006, 2:43pm UTC](https://www.ruby-forum.com/t/why-is-my-radiant-site-running-so-slow/77607 "2006-11-29T14:43:12Z")

</div>

hello, I am developing the following website using Radiant: laaia.textdriven.com This is the first time I have used radiant on ANY project. I always noticed that this website was always a little slow loading up. I ch…

---

## [Lost connection to MySQL server during query: SHOW FIELDS FR](https://www.ruby-forum.com/t/lost-connection-to-mysql-server-during-query-show-fields-fr/77584)

<div class="topic-metadata">

**Author:** [@minka](https://www.ruby-forum.com/u/minka)\
**Replies:** 3\
**Last updated:** [November 29, 2006, 11:22am UTC](https://www.ruby-forum.com/t/lost-connection-to-mysql-server-during-query-show-fields-fr/77584 "2006-11-29T11:22:39Z")

</div>

I am getting an intermittent error, the one above. I have not gone into production, i am still in development. I seem to lose connection to the MySQL server. If I do a refresh it comes back and all is fine. I have not…

---

## [Directory listing](https://www.ruby-forum.com/t/directory-listing/72236)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 3\
**Last updated:** [October 16, 2006, 6:56am UTC](https://www.ruby-forum.com/t/directory-listing/72236 "2006-10-16T06:56:08Z")

</div>

Hello, I want to list all the files from a directory (but just the files, no other directories). Any ideas how ? I was thinking of using lf -F and then remove all the elements that contain the “/” character, but i …

---

## [Setting focus in a rhtml view](https://www.ruby-forum.com/t/setting-focus-in-a-rhtml-view/58808)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 3\
**Last updated:** [October 5, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/setting-focus-in-a-rhtml-view/58808 "2006-10-05T22:34:24Z")

</div>

How do I set focus on a specific form field when I render a partial from the controller? I can do it with page\[‘name’\].focus from an RJS view, but I can’t figure out how to do it when rendering this rhtml partial from…

---

## [Plugin de paiement](https://www.ruby-forum.com/t/plugin-de-paiement/70281)

<div class="topic-metadata">

**Author:** [@edouard\_cante](https://www.ruby-forum.com/u/edouard_cante)\
**Replies:** 3\
**Last updated:** [September 28, 2006, 3:53pm UTC](https://www.ruby-forum.com/t/plugin-de-paiement/70281 "2006-09-28T15:53:57Z")

</div>

Bonsoir à tous, après avoir fouiné sur le web et plus particulièrement sur ruby forge, je voudrais savoir si quelqu’un a exlpoité un plugin de paiement en ligne à direction d’une banque française ? J’ai trouvé certai…

---

## [Extend dynamically a model](https://www.ruby-forum.com/t/extend-dynamically-a-model/99411)

<div class="topic-metadata">

**Author:** [@Magic\_8](https://www.ruby-forum.com/u/Magic_8)\
**Replies:** 3\
**Last updated:** [July 26, 2006, 7:19am UTC](https://www.ruby-forum.com/t/extend-dynamically-a-model/99411 "2006-07-26T07:19:19Z")

</div>

Hello, I’ve a model defined as class Account \< ActiveRecord::Base end This maps a mysql table Accounts. I want to be a able to dynamically change this model. During the life of my app, the table Accounts may change…

---

## [Whitespace Issues](https://www.ruby-forum.com/t/whitespace-issues/98413)

<div class="topic-metadata">

**Author:** [@bluejay](https://www.ruby-forum.com/u/bluejay)\
**Replies:** 3\
**Last updated:** [July 14, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/whitespace-issues/98413 "2006-07-14T20:18:14Z")

</div>

I am trying to build up a filtered search using the logic below. bq = Ferret::Search::BooleanQuery.new bq.add\_query(Ferret::Search::TermQuery.new(Ferret::Index::Term.new("section",section.downcase!)), Ferret::Search:…

---

## [Using pack/unpack to go from string to address and back to s](https://www.ruby-forum.com/t/using-pack-unpack-to-go-from-string-to-address-and-back-to-s/64040)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [June 23, 2006, 3:07am UTC](https://www.ruby-forum.com/t/using-pack-unpack-to-go-from-string-to-address-and-back-to-s/64040 "2006-06-23T03:07:00Z")

</div>

Hi all, Is there a way, given a pointer address, to get back to the original object? I’m thinking specifically of strings here. irb(main):006:0\> str = “hello” =\> “hello” irb(main):007:0\> addr = \[str\].pack(‘p\*’).unp…

---

## [Books, other resources for new Rails VPS sysadmin](https://www.ruby-forum.com/t/books-other-resources-for-new-rails-vps-sysadmin/58943)

<div class="topic-metadata">

**Author:** [@Izidor\_J](https://www.ruby-forum.com/u/Izidor_J)\
**Replies:** 3\
**Last updated:** [April 27, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/books-other-resources-for-new-rails-vps-sysadmin/58943 "2006-04-27T17:35:35Z")

</div>

Hello! Since Virtual Private Server seems to be the only way to run Rails apps without problems, so in the future I will need to become a Linux sysadmin. I plan on using debian (as per Ezra’s instructions in \<http:// …

---

## [Gem update activerecord ne trouve pas la derniere version](https://www.ruby-forum.com/t/gem-update-activerecord-ne-trouve-pas-la-derniere-version/57143)

<div class="topic-metadata">

**Author:** [@iojik](https://www.ruby-forum.com/u/iojik)\
**Replies:** 3\
**Last updated:** [April 7, 2006, 4:12pm UTC](https://www.ruby-forum.com/t/gem-update-activerecord-ne-trouve-pas-la-derniere-version/57143 "2006-04-07T16:12:04Z")

</div>

Je voulais updater activerecord avec la 1.14.1 mais gem update m’a remis la 1.14.0 que j’avais deja : tetu ! est-ce que quelqu’un a une idee ? (j’ai essaye gem update activerecord-1.14.1 mais il me dit que ca n’exist…

---

## [Model.find(:all) where Model.association has more then 0 ite](https://www.ruby-forum.com/t/model-find-all-where-model-association-has-more-then-0-ite/56383)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 3\
**Last updated:** [March 31, 2006, 4:50am UTC](https://www.ruby-forum.com/t/model-find-all-where-model-association-has-more-then-0-ite/56383 "2006-03-31T04:50:44Z")

</div>

Hi everyone, I have a Department model that has\_many people. How do I go about finding all departments with more than 0 people? Department.find(:all, :conditions =\> Department.people.size \> 0) That, of course, doesn…

---

## [DreamHost problems (SSH)](https://www.ruby-forum.com/t/dreamhost-problems-ssh/80195)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 3\
**Last updated:** [March 14, 2006, 12:31am UTC](https://www.ruby-forum.com/t/dreamhost-problems-ssh/80195 "2006-03-14T00:31:09Z")

</div>

I’m trying to setup my rails app using a command line tool, but I can’t connect. I’m using SSH Secure Shell, and when I do connect, it says “This account is setup for FTP access only.” How can I setup my rails applic…

---

## [Adding methods to a singleton dynamically](https://www.ruby-forum.com/t/adding-methods-to-a-singleton-dynamically/80023)

<div class="topic-metadata">

**Author:** [@exile](https://www.ruby-forum.com/u/exile)\
**Replies:** 3\
**Last updated:** [March 12, 2006, 9:51pm UTC](https://www.ruby-forum.com/t/adding-methods-to-a-singleton-dynamically/80023 "2006-03-12T21:51:21Z")

</div>

I’m building a view hierarchy from a file, and I would like it to add getter methods for every subview created. For example, I should be able to write: window.bottom\_panel.save\_button.left = 20 I played around with…

---

## [Getting porn from rails link](https://www.ruby-forum.com/t/getting-porn-from-rails-link/51673)

<div class="topic-metadata">

**Author:** [@frank](https://www.ruby-forum.com/u/frank)\
**Replies:** 3\
**Last updated:** [January 7, 2006, 1:37pm UTC](https://www.ruby-forum.com/t/getting-porn-from-rails-link/51673 "2006-01-07T13:37:05Z")

</div>

Hello, http://wiki.rubyonrails.com/rails/pages/Tutorial is showing me links to porn sites Frank

---

## [Ruby equivalent of Lex (or Flex)?](https://www.ruby-forum.com/t/ruby-equivalent-of-lex-or-flex/56255)

<div class="topic-metadata">

**Author:** [@twp](https://www.ruby-forum.com/u/twp)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/ruby-equivalent-of-lex-or-flex/56255 "2006-01-05T22:33:47Z")

</div>

I’m interested in writing compilers in Ruby. It appears that Racc is a suitable replacement for Yacc, but I’ve not found any replacement for Lex. I’ve probably missed something. In any case, I’d much appreciate som…

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

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