# Top

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

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

---

## [Singleton classes and methods (was Re: Reformat Ruby source](https://www.ruby-forum.com/t/singleton-classes-and-methods-was-re-reformat-ruby-source/66835)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 4\
**Last updated:** [August 29, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/singleton-classes-and-methods-was-re-reformat-ruby-source/66835 "2006-08-29T20:54:19Z")

</div>

On 8/28/06, James Edward G. II removed\_email\_address@domain.invalid wrote: On Aug 28, 2006, at 12:26 PM, Robert D. wrote: Not at all. That’s why I said “singleton class” in the first place. Hey man, all this singl…

---

## [How to export data](https://www.ruby-forum.com/t/how-to-export-data/96480)

<div class="topic-metadata">

**Author:** [@lunamaria](https://www.ruby-forum.com/u/lunamaria)\
**Replies:** 4\
**Last updated:** [June 29, 2006, 3:15am UTC](https://www.ruby-forum.com/t/how-to-export-data/96480 "2006-06-29T03:15:21Z")

</div>

Hello I would like to know if there is a webpage or something else (even another thread in this forum) where there’s an explanation (preferably simple and detailed)on how to export data from a rail application to a .…

---

## [Gems not working](https://www.ruby-forum.com/t/gems-not-working/108051)

<div class="topic-metadata">

**Author:** [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Replies:** 6\
**Last updated:** [June 28, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/gems-not-working/108051 "2007-06-28T21:00:04Z")

</div>

I do not have rails, but I like to use Ruby Gems. I installed gem hpricot and when I run my script with ‘ruby’, it has trouble finding the Hpricot library. When I run the same code in IRB, it finds the gem. I do have…

---

## [Listing all of a nested Resources](https://www.ruby-forum.com/t/listing-all-of-a-nested-resources/101234)

<div class="topic-metadata">

**Author:** [@jpigford](https://www.ruby-forum.com/u/jpigford)\
**Replies:** 6\
**Last updated:** [August 4, 2006, 3:16am UTC](https://www.ruby-forum.com/t/listing-all-of-a-nested-resources/101234 "2006-08-04T03:16:25Z")

</div>

I’ll use the example on the Rails blog. map.resources :posts do |posts| posts.resources :comments, :trackbacks end Now comments are at /posts/:post\_id/comments. Okay but what if I want to list all the comments for a…

---

## [Mongo 2.2.2 runCommand and serverStatus](https://www.ruby-forum.com/t/mongo-2-2-2-runcommand-and-serverstatus/243939)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 27, 2016, 12:37am UTC](https://www.ruby-forum.com/t/mongo-2-2-2-runcommand-and-serverstatus/243939 "2016-01-27T00:37:22Z")

</div>

When I run the code below, I get undefined method ‘runCommand’. If I switch to use the db.serverStatus() method instead, I get the error undefined method ‘serverStatus’. Not sure what is going on. I’m relatively n…

---

## [SDR Processing/Computational Requirements](https://www.ruby-forum.com/t/sdr-processing-computational-requirements/243429)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 24, 2015, 11:54pm UTC](https://www.ruby-forum.com/t/sdr-processing-computational-requirements/243429 "2015-10-24T23:54:00Z")

</div>

Hello Gents, I am in the phase of designing a Software Defined Radio, and I should state the (Processing/Computational Requirements) of the processor/FPGA/DSP to be used. SDR Parameters: Operational band: 70-3800…

---

## [Miniruby.exe : fatal error LNK1169: one or more multiply defined symbols found](https://www.ruby-forum.com/t/miniruby-exe-fatal-error-lnk1169-one-or-more-multiply-defined-symbols-found/234367)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 27, 2015, 7:02am UTC](https://www.ruby-forum.com/t/miniruby-exe-fatal-error-lnk1169-one-or-more-multiply-defined-symbols-found/234367 "2015-02-27T07:02:45Z")

</div>

how to fix this ? Microsoft ® Program Maintenance Utility Version 6.00.8168.0 Copyright © Microsoft Corp 1988-1998. All rights reserved. CC = cl -nologo LD = cl -nologo LDSHARED = cl -nologo -LD CFLA…

---

## [JRuby 1.7.18 Released](https://www.ruby-forum.com/t/jruby-1-7-18-released/233533)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 22, 2014, 10:24pm UTC](https://www.ruby-forum.com/t/jruby-1-7-18-released/233533 "2014-12-22T22:24:52Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.7.18 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org JRuby 1.7.18 is our twenty-first update release since JRuby 1.7.0. The primary …

---

## [\[ruby-trunk - Bug #10464\] Bignum同士の乗算の不具合](https://www.ruby-forum.com/t/ruby-trunk-bug-10464-bignum/232875)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 1, 2014, 5:07pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10464-bignum/232875 "2014-11-01T17:07:47Z")

</div>

Issue #10464 has been updated by Tomoyuki C… Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: REQUIRED Bug #10464: Bignum同士の乗算の不具合 Author: Kohji Nishihama Status: Closed Priority: Normal …

---

## [JRuby 1.7.16.1 Released](https://www.ruby-forum.com/t/jruby-1-7-16-1-released/232800)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 28, 2014, 9:18pm UTC](https://www.ruby-forum.com/t/jruby-1-7-16-1-released/232800 "2014-10-28T21:18:02Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.7.16.1 Homepage: http://www.jruby.org/ Download: http://www.jruby.org/download JRuby 1.7.16.1 is our seventeenth update release since JRuby 1.7.0. The …

---

## [Do not expose no-pinned down IDs](https://www.ruby-forum.com/t/do-not-expose-no-pinned-down-ids/230861)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 9, 2014, 3:47am UTC](https://www.ruby-forum.com/t/do-not-expose-no-pinned-down-ids/230861 "2014-07-09T03:47:03Z")

</div>

Issue #10014 has been updated by Narihiro N… パッチ作成と内容説明ありがとうございます。賛成します。 Bug #10014: Do not expose no-pinned down IDs Author: Koichi Sasada Status: Open Priority: Normal Assignee: Koichi Sasada Category: core Targe…

---

## [A German company wants you!](https://www.ruby-forum.com/t/a-german-company-wants-you/240437)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 14, 2014, 11:39am UTC](https://www.ruby-forum.com/t/a-german-company-wants-you/240437 "2014-04-14T11:39:36Z")

</div>

Would you like to be a part of a team developing highly innovative firewall? Do you want to work in a German company, who is a 100% subsidiary of a German electronics Group? Would you like to work in an environment w…

---

## [Ngx\_small\_light](https://www.ruby-forum.com/t/ngx-small-light/236838)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 7, 2013, 3:37am UTC](https://www.ruby-forum.com/t/ngx-small-light/236838 "2013-10-07T03:37:15Z")

</div>

Hello, folks! I have decided to announce abount ngx\_small\_light here. ngx\_small\_light is the extension module for converting image dynamically like NginxImageFilter. ngx\_small\_light supports following features. Sup…

---

## [GnuRadio 3.3 on Ubuntu 12.04LTS](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502)

<div class="topic-metadata">

**Author:** [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Replies:** 3\
**Last updated:** [February 12, 2013, 8:11pm UTC](https://www.ruby-forum.com/t/gnuradio-3-3-on-ubuntu-12-04lts/229502 "2013-02-12T20:11:57Z")

</div>

I have an odd question. I’ve been requested to duplicate a system I built a couple of years ago based on GnuRadio 3.3 and Ubuntu 10.04LTS. Unfortunately, the laptop that was used is no longer made, and it’s new equiv…

---

## [\[ANN\] Ruby-GNOME2 1.2.1](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-2-1/225805)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 0\
**Last updated:** [January 30, 2013, 3:22pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-2-1/225805 "2013-01-30T15:22:16Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.2.1: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20130130\_1 Many people help us for the release! Thanks! This release fixes a crash bug on Mac OS X. We can conf…

---

## [Find from array and move](https://www.ruby-forum.com/t/find-from-array-and-move/217973)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 19, 2012, 3:21am UTC](https://www.ruby-forum.com/t/find-from-array-and-move/217973 "2012-03-19T03:21:54Z")

</div>

HI, I’m needing to cull 900 files from about 3500 files in 100 different directories. I have an array with the 900 files ie. \[“2100\_01”, “2102\_05”, “2105\_04”, “etc…”\] The files in question are named like so…“2100\_01…

---

## [Oh btw](https://www.ruby-forum.com/t/oh-btw/215350)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 3, 2012, 8:47am UTC](https://www.ruby-forum.com/t/oh-btw/215350 "2012-01-03T08:47:53Z")

</div>

HAPPY NEW YEAR from my I&iPhone

---

## [USRP1 FPGA modification problem](https://www.ruby-forum.com/t/usrp1-fpga-modification-problem/207555)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 15, 2011, 10:06pm UTC](https://www.ruby-forum.com/t/usrp1-fpga-modification-problem/207555 "2011-06-15T22:06:22Z")

</div>

Hi, We have been working with an (old) USRP1 and doing some modifications in the FPGA code. After our modifications (we added an extra layer of DDCs to perform channel separation in the FPGA), the things didn’t work …

---

## [Cache manager](https://www.ruby-forum.com/t/cache-manager/205593)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 11, 2011, 8:24am UTC](https://www.ruby-forum.com/t/cache-manager/205593 "2011-04-11T08:24:06Z")

</div>

Hi I have the line in my config like this… proxy\_cache\_path /var/cache/disk1/nginx\_proxy\_cache levels=2:2:2 keys\_zone=disk1:500m inactive=36h max\_size=95000m; This regularly finds its way over 100GB… anything more …

---

## [Nginx and ipv6](https://www.ruby-forum.com/t/nginx-and-ipv6/201829)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 16, 2011, 10:04pm UTC](https://www.ruby-forum.com/t/nginx-and-ipv6/201829 "2011-01-16T22:04:05Z")

</div>

Hi, I have a small server running nginx and hosting a dokuwiki site. For security reason some directories of the dokuwiki install should be accessed by the outside world so my nginx site file is like that : server { …

---

## [\[Rails 3\] link\_to\_remote, no action](https://www.ruby-forum.com/t/rails-3-link-to-remote-no-action/201367)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 6, 2011, 4:39pm UTC](https://www.ruby-forum.com/t/rails-3-link-to-remote-no-action/201367 "2011-01-06T16:39:18Z")

</div>

The url in the link to remote below does not have the action in the url. Ideas? link\_to\_remote(comment.text, :url =\> {:controller=\>‘workshop\_comments’,:action=\>‘index’,:id=\>comment}))

---

## [Redirect old domain to new domain](https://www.ruby-forum.com/t/redirect-old-domain-to-new-domain/201380)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 6, 2011, 11:02am UTC](https://www.ruby-forum.com/t/redirect-old-domain-to-new-domain/201380 "2011-01-06T11:02:42Z")

</div>

Hi, I have an old domain & new domain, let’s call the old domain is www.olddomain.com and the new one is www.newdomain.com. Yesterday, I’ve register the new domain (www.newdomain.com), but, the olddomain.com still ac…

---

## [Saving records from multiple tables](https://www.ruby-forum.com/t/saving-records-from-multiple-tables/200839)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 23, 2010, 10:27pm UTC](https://www.ruby-forum.com/t/saving-records-from-multiple-tables/200839 "2010-12-23T22:27:30Z")

</div>

I hav page where I am saving a “client” record and a “person” record. Sometimes the “person” is an existing record and sometimes it is a new record. The “client” is always new. Here is some code: class Person \< Activ…

---

## [Call set\_output\_multiple() on the fly](https://www.ruby-forum.com/t/call-set-output-multiple-on-the-fly/199630)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 26, 2010, 4:43am UTC](https://www.ruby-forum.com/t/call-set-output-multiple-on-the-fly/199630 "2010-11-26T04:43:28Z")

</div>

I am writing a module that might need dynamic change to the block length. So I want to call set\_output\_multiple(blk\_len) when the flow graph is running. Firstly, is this allowed? Secondly, what are the effects? If …

---

## [Hal Fulton on Twitter](https://www.ruby-forum.com/t/hal-fulton-on-twitter/199044)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 13, 2010, 3:56am UTC](https://www.ruby-forum.com/t/hal-fulton-on-twitter/199044 "2010-11-13T03:56:58Z")

</div>

If you have any interest in following me, feel free. I plan to be more active on Twitter starting this week. For those of you asking about The Ruby Way – the 3rd edition is still months away. If you want the 2nd edit…

---

## [Regular Expression](https://www.ruby-forum.com/t/regular-expression/197535)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 16, 2010, 10:00am UTC](https://www.ruby-forum.com/t/regular-expression/197535 "2010-10-16T10:00:03Z")

</div>

Dear All, I need to apply a regular expression in html.erb \<% taxon\_name.strains.each do |strain| %\> \<% taxon\_name.strain\_appendices.each\_with\_index do |strain\_appendice, i| %\> \<% if ((strain\_appendice.data\_source =…

---

## [Ruby 1.8.7 and1.9.1 installation problems](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050)

<div class="topic-metadata">

**Author:** [@d\_v](https://www.ruby-forum.com/u/d_v)\
**Replies:** 3\
**Last updated:** [May 24, 2010, 3:34am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050 "2010-05-24T03:34:55Z")

</div>

Hi all I’m running on my machine vindows vista home and ajust can not install ruby 1.8.7 or 1.9.1 on my machine. I used window-installer for this ruby release but after installing i can not install any gems like rail…

---

## [Re: UHD Announcement - April 23rd 2010](https://www.ruby-forum.com/t/re-uhd-announcement-april-23rd-2010/187642)

<div class="topic-metadata">

**Author:** [@mawi](https://www.ruby-forum.com/u/mawi)\
**Replies:** 3\
**Last updated:** [April 27, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/re-uhd-announcement-april-23rd-2010/187642 "2010-04-27T22:40:41Z")

</div>

Am 24.04.2010 um 01:31 schrieb Josh B.: Thank you, -Josh Hi, I would really like to use the USRP2 with my MacBook. My first test with the driver yields the following result: $ uhd\_find\_devices – UHD Device 0 nam…

---

## [Static HTML in XML Builder or otherwise; With Dynamic Sectio](https://www.ruby-forum.com/t/static-html-in-xml-builder-or-otherwise-with-dynamic-sectio/184589)

<div class="topic-metadata">

**Author:** [@smarter](https://www.ruby-forum.com/u/smarter)\
**Replies:** 3\
**Last updated:** [March 7, 2010, 8:01am UTC](https://www.ruby-forum.com/t/static-html-in-xml-builder-or-otherwise-with-dynamic-sectio/184589 "2010-03-07T08:01:24Z")

</div>

Best way to display HTML file as text or xml where some parts are dynamic? So we have a Static HTML file and some portions will be dynamically changed. The Idea is to render as text or xml simply. If we read this Te…

---

## [Submitting search term in quotation marks](https://www.ruby-forum.com/t/submitting-search-term-in-quotation-marks/184398)

<div class="topic-metadata">

**Author:** [@roger99999](https://www.ruby-forum.com/u/roger99999)\
**Replies:** 3\
**Last updated:** [March 2, 2010, 2:56am UTC](https://www.ruby-forum.com/t/submitting-search-term-in-quotation-marks/184398 "2010-03-02T02:56:36Z")

</div>

Silly question but I can’t seem to find the answer online. I’m submitting a search phrase in a scraper and I would like that to be in quotation marks. Because the sterm="\*\*\*\*" is already in quotation marks in the code…

---

## [Show/hide some few fields according to a value selected](https://www.ruby-forum.com/t/show-hide-some-few-fields-according-to-a-value-selected/183206)

<div class="topic-metadata">

**Author:** [@salma](https://www.ruby-forum.com/u/salma)\
**Replies:** 3\
**Last updated:** [February 12, 2010, 12:05pm UTC](https://www.ruby-forum.com/t/show-hide-some-few-fields-according-to-a-value-selected/183206 "2010-02-12T12:05:01Z")

</div>

Hola a todos, Soy nueva en rails. Lo que quiero es dentro de un form\_for segun lo que se seleciona de una lista se muestra una parte del formulario o otra. He esta buscando y rebuscando y he entendido que se puede ha…

---

## [NginxHttpUploadProgressModule constantly hangs](https://www.ruby-forum.com/t/nginxhttpuploadprogressmodule-constantly-hangs/182587)

<div class="topic-metadata">

**Author:** [@nginxhound](https://www.ruby-forum.com/u/nginxhound)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/nginxhttpuploadprogressmodule-constantly-hangs/182587 "2010-02-01T18:05:03Z")

</div>

Hello, Ive been trying to get this module to work for days now. It works, sorta. It consistently makes it about 1.3 megs and then freezes. Ive looked at hundreds of nginx.conf file, have set every parameter known to…

---

## [Validates\_format\_of :phone,](https://www.ruby-forum.com/t/validates-format-of-phone/181786)

<div class="topic-metadata">

**Author:** [@ashu](https://www.ruby-forum.com/u/ashu)\
**Replies:** 3\
**Last updated:** [January 19, 2010, 8:45am UTC](https://www.ruby-forum.com/t/validates-format-of-phone/181786 "2010-01-19T08:45:40Z")

</div>

validates\_format\_of :phone, :with =\> /\\A\\s\*(?:(?:+?(?:\\d{1,3}(?:\\s\*|\[-.\])))?(?\\d{3}\[-/)\]?\\s\*) (?:\[2-9\]\[0-9 -.\]{6,})\\s\*\\z/, i pit it on my reuriments but error whlie entering 666.111.9999 i want it should be ok any…

---

## [Help: about ./benchmark\_rx.py](https://www.ruby-forum.com/t/help-about-benchmark-rx-py/181788)

<div class="topic-metadata">

**Author:** [@Li\_Mei-Wen](https://www.ruby-forum.com/u/Li_Mei-Wen)\
**Replies:** 3\
**Last updated:** [January 18, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/help-about-benchmark-rx-py/181788 "2010-01-18T17:38:21Z")

</div>

Hi: I want to try my daughterborad basic\_TX and TV\_RX. I try to use ./benchmark\_tx.py -f 100M and ./benchmark\_rx.py -f 100M Only the ./benchmark\_tx.py can run, The ./benchmark\_rx.py can’t receive any signal. So, wha…

---

## [ActionController::InvalidAuthenticityToken](https://www.ruby-forum.com/t/actioncontroller-invalidauthenticitytoken/127736)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 3\
**Last updated:** [January 13, 2010, 7:27am UTC](https://www.ruby-forum.com/t/actioncontroller-invalidauthenticitytoken/127736 "2010-01-13T07:27:50Z")

</div>

I am new to RoR. I am running Linux Red Hat Enterprise with MySQL for my db, and when I go and either create/update the database I get this message: ActionController::InvalidAuthenticityToken in Test1Controller#creat…

---

## [Casting null](https://www.ruby-forum.com/t/casting-null/180159)

<div class="topic-metadata">

**Author:** [@Fabio\_Y](https://www.ruby-forum.com/u/Fabio_Y)\
**Replies:** 3\
**Last updated:** [December 13, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/casting-null/180159 "2009-12-13T23:00:13Z")

</div>

Hi, I was looking for a way to cast null to a class, is that possible? I didn’t find any info related to this. Thanks

---

## [Chain Method in Class with Method in Module](https://www.ruby-forum.com/t/chain-method-in-class-with-method-in-module/180042)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 3\
**Last updated:** [December 10, 2009, 8:36am UTC](https://www.ruby-forum.com/t/chain-method-in-class-with-method-in-module/180042 "2009-12-10T08:36:47Z")

</div>

I’d like to chain setup in a unit test, so that it calls a method in a module BEFORE running through the setup code. I’d like to do it without having to put super() in the test’s setup method. module MyModule module…

---

## [How can I improve a Ruby on Rails code that hast a lot of SQL as strings?](https://www.ruby-forum.com/t/how-can-i-improve-a-ruby-on-rails-code-that-hast-a-lot-of-sql-as-strings/178658)

<div class="topic-metadata">

**Author:** [@JSPablo\_FernSSSSnd](https://www.ruby-forum.com/u/JSPablo_FernSSSSnd)\
**Replies:** 3\
**Last updated:** [November 9, 2009, 5:26am UTC](https://www.ruby-forum.com/t/how-can-i-improve-a-ruby-on-rails-code-that-hast-a-lot-of-sql-as-strings/178658 "2009-11-09T05:26:02Z")

</div>

Hello Railists, I have a piece of Ruby on Rails code that has a complex SQL query (well, not that complex, but as far as I know beyond the ORM capabilities) and for my taste it has too many strings and harcoded valu…

---

## [How to call an foreign program(compiled) from ruby?](https://www.ruby-forum.com/t/how-to-call-an-foreign-program-compiled-from-ruby/177194)

<div class="topic-metadata">

**Author:** [@harry](https://www.ruby-forum.com/u/harry)\
**Replies:** 3\
**Last updated:** [October 13, 2009, 8:55am UTC](https://www.ruby-forum.com/t/how-to-call-an-foreign-program-compiled-from-ruby/177194 "2009-10-13T08:55:26Z")

</div>

Hi, I am trying to use some bin(like exe files under windows) file under linux , these program is compiled from c++ source, can be executed in command line . I am just wondering what is the simple way to call these pr…

---

## [Text\_field\_with\_auto\_complete question](https://www.ruby-forum.com/t/text-field-with-auto-complete-question/176449)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [October 5, 2009, 5:06pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-question/176449 "2009-10-05T17:06:17Z")

</div>

This code below will display “Search Friends” in the text box IF {:select =\> ‘friend’} is not there and the ajax call also does not work. Any ideas how to get the text and to disaply and have the ajax call work? \<%…

---

## [\[Rspec\] Using Mocha results in uninitialized constant, using a 'fix' breaks RSpec output](https://www.ruby-forum.com/t/rspec-using-mocha-results-in-uninitialized-constant-using-a-fix-breaks-rspec-output/175195)

<div class="topic-metadata">

**Author:** [@Lb2007](https://www.ruby-forum.com/u/Lb2007)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/rspec-using-mocha-results-in-uninitialized-constant-using-a-fix-breaks-rspec-output/175195 "2009-10-02T16:35:23Z")

</div>

After installation of Mocha (0.9.7), running “script/spec spec” results in a “\`const\_missing’: uninitialized constant Test::Unit::TestResult::TestResultFailureSupport (NameError)” error. (As shown here; Ruby code - 15…

---

## [Set worker\_processes to \_SERVER](https://www.ruby-forum.com/t/set-worker-processes-to-server/175744)

<div class="topic-metadata">

**Author:** [@myschizobuddy](https://www.ruby-forum.com/u/myschizobuddy)\
**Replies:** 3\
**Last updated:** [September 19, 2009, 7:52am UTC](https://www.ruby-forum.com/t/set-worker-processes-to-server/175744 "2009-09-19T07:52:32Z")

</div>

can i set worker\_processes to \_SERVER\[“NUMBER\_OF\_PROCESSORS”\] looking in phpinfo there is a server variable that mentions the number of processors

---

## [Compute\_public\_path should be public instead of private](https://www.ruby-forum.com/t/compute-public-path-should-be-public-instead-of-private/175376)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 3\
**Last updated:** [September 13, 2009, 3:02am UTC](https://www.ruby-forum.com/t/compute-public-path-should-be-public-instead-of-private/175376 "2009-09-13T03:02:12Z")

</div>

Hello, I’m in the middle of a situation where the method compute\_public\_path must be public instead of private. Some times we need to add .mov, .flv or even another kind of asset like swf and I want use my correct pub…

---

## [Erfahrungen mit Speicher- und CPUBedarf](https://www.ruby-forum.com/t/erfahrungen-mit-speicher-und-cpubedarf/172489)

<div class="topic-metadata">

**Author:** [@enduro](https://www.ruby-forum.com/u/enduro)\
**Replies:** 0\
**Last updated:** [July 22, 2009, 9:41am UTC](https://www.ruby-forum.com/t/erfahrungen-mit-speicher-und-cpubedarf/172489 "2009-07-22T09:41:35Z")

</div>

Hallo, angesichts der Vielzahl an unterschiedlichen Hostingangeboten, -parametern, und -technologien wollte ich mich erkundigen ob es so Heuristiken oder Daumenregeln fÃ¼r die Bedarfsberechnung der eigenen Railsappli…

---

## [ActionMailer Attachment zerschiesst Body](https://www.ruby-forum.com/t/actionmailer-attachment-zerschiesst-body/171152)

<div class="topic-metadata">

**Author:** [@Stefan\_Feigl](https://www.ruby-forum.com/u/Stefan_Feigl)\
**Replies:** 0\
**Last updated:** [June 27, 2009, 2:06am UTC](https://www.ruby-forum.com/t/actionmailer-attachment-zerschiesst-body/171152 "2009-06-27T02:06:30Z")

</div>

Hi. Hab mal wieder ein Problem. Diesmal mit dem ActionMailer Ich will eine Newsletter versenden. Der eigentliche Newsletter wird als Pdf immer mitgeschickt. Doch das System wird auch für kurze InfoMails verwendet wer…

---

## [Compiling gnuradio](https://www.ruby-forum.com/t/compiling-gnuradio/168175)

<div class="topic-metadata">

**Author:** [@hgplus](https://www.ruby-forum.com/u/hgplus)\
**Replies:** 3\
**Last updated:** [May 17, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/compiling-gnuradio/168175 "2009-05-17T19:08:04Z")

</div>

Hi, I am a newbie to gnuradio. To begin with, I was trying to download and compile gnuradio. I did an svn checkout, and did bootstrap followed by configure. But I got the following message in configure output. check…

---

## [A brief history of programming languages](https://www.ruby-forum.com/t/a-brief-history-of-programming-languages/167505)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [May 8, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/a-brief-history-of-programming-languages/167505 "2009-05-08T23:23:48Z")

</div>

I like the nickname “Mad Matz”. :slight\_smile: Dan

---

## [\[ANN\] New rails-based site helps you release your anger](https://www.ruby-forum.com/t/ann-new-rails-based-site-helps-you-release-your-anger/166311)

<div class="topic-metadata">

**Author:** [@dburkes](https://www.ruby-forum.com/u/dburkes)\
**Replies:** 3\
**Last updated:** [May 6, 2009, 5:38am UTC](https://www.ruby-forum.com/t/ann-new-rails-based-site-helps-you-release-your-anger/166311 "2009-05-06T05:38:40Z")

</div>

When you’re doing something this important, you have to get the word out any way you can: http://istotalbullshit.com Enjoy

---

## [UltraSphinx help anyone?](https://www.ruby-forum.com/t/ultrasphinx-help-anyone/166188)

<div class="topic-metadata">

**Author:** [@internetchris](https://www.ruby-forum.com/u/internetchris)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 11:43pm UTC](https://www.ruby-forum.com/t/ultrasphinx-help-anyone/166188 "2009-04-22T23:43:27Z")

</div>

Hey Everyone, So I posted a thread last night with my problem, but since then I have figured out the syntax a little better. I am trying to create indexes on 2 separate models. I have an Account model that “has\_many :…

---

## [Background tasks + multi processing](https://www.ruby-forum.com/t/background-tasks-multi-processing/165904)

<div class="topic-metadata">

**Author:** [@petrjanda](https://www.ruby-forum.com/u/petrjanda)\
**Replies:** 3\
**Last updated:** [April 19, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/background-tasks-multi-processing/165904 "2009-04-19T15:56:10Z")

</div>

Hi all, Ive recently been trying to figure out a way to make a long running background task scale accross all CPUs in Ruby on Rails, since multi-processing (not multi-threading) seems like the way to go. A theoretica…

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

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