# Top

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

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

---

## [Is there an easy way to inject each example text into test.log](https://www.ruby-forum.com/t/is-there-an-easy-way-to-inject-each-example-text-into-test-log/202475)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 30, 2011, 6:15pm UTC](https://www.ruby-forum.com/t/is-there-an-easy-way-to-inject-each-example-text-into-test-log/202475 "2011-01-30T18:15:08Z")

</div>

This was asked back in 2008 but I’m wondering if there is an easier way with rspec2 and rails. Seems like it would make my test log much more meaningful. Surely somebody must have done it. Is there an easy way to inje…

---

## [Gem install blackbook on centos error](https://www.ruby-forum.com/t/gem-install-blackbook-on-centos-error/162737)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 6\
**Last updated:** [January 1, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/gem-install-blackbook-on-centos-error/162737 "2010-01-01T19:00:35Z")

</div>

Hello, I’m trying to install the blackbook gem on my m/c with centos , but i get the following error: Building native extensions. This could take a while… ERROR: Error installing blackbook: ERROR: Failed to build …

---

## [Dde "wait loop"](https://www.ruby-forum.com/t/dde-wait-loop/125370)

<div class="topic-metadata">

**Author:** [@ernsttanaka](https://www.ruby-forum.com/u/ernsttanaka)\
**Replies:** 6\
**Last updated:** [January 10, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/dde-wait-loop/125370 "2008-01-10T12:55:47Z")

</div>

I have a question on DDE I use the following command; d = tk\_call(‘dde’, ‘request’, ‘TOS’, ‘DESCRIPTION’, x.opra) it seems that the call doesnot always give data while I am sure data is available. Tested via a dde c…

---

## [How to setup Single Application and multiple customers/db](https://www.ruby-forum.com/t/how-to-setup-single-application-and-multiple-customers-db/123824)

<div class="topic-metadata">

**Author:** [@tgiridhar](https://www.ruby-forum.com/u/tgiridhar)\
**Replies:** 6\
**Last updated:** [January 7, 2008, 11:20pm UTC](https://www.ruby-forum.com/t/how-to-setup-single-application-and-multiple-customers-db/123824 "2008-01-07T23:20:53Z")

</div>

Hi All, I have an rails application which is designed to connect to one db and work at 1 url. Let say i want to host it 10 customers like http://customer1.coolapp.com -\>customer1 db http://customer2.coolapp.com -\>c…

---

## [Test::Unit: setup per TestCase class or per suite](https://www.ruby-forum.com/t/test-setup-per-testcase-class-or-per-suite/86885)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 6\
**Last updated:** [February 26, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/test-setup-per-testcase-class-or-per-suite/86885 "2007-02-26T21:41:00Z")

</div>

For a performance test I need to populate the database with a large number of records. The individual test cases only read the database contents. It is rather time consuming and, after all, unnecessary to do a full se…

---

## [Connection Pooling / Postgres /MySql](https://www.ruby-forum.com/t/connection-pooling-postgres-mysql/74493)

<div class="topic-metadata">

**Author:** [@Maurice\_Y](https://www.ruby-forum.com/u/Maurice_Y)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 10:47am UTC](https://www.ruby-forum.com/t/connection-pooling-postgres-mysql/74493 "2006-11-07T10:47:50Z")

</div>

Hello RonR -Talk Where should I look for connection pooling for Ruby DB access and also connection pooling for ActiveRecord access ? Are there any examples available ? Maurice Y.

---

## [Moving the repository and issue tracker to GitHub](https://www.ruby-forum.com/t/moving-the-repository-and-issue-tracker-to-github/211910)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 19, 2011, 2:19am UTC](https://www.ruby-forum.com/t/moving-the-repository-and-issue-tracker-to-github/211910 "2011-09-19T02:19:34Z")

</div>

Hi! I would like to move the repository and issue tracker to GitHub. Kouhei, what would it take to perform such a move? I am willing to spend some time on this task, but I need to know what you, as project manager, t…

---

## [Thread-safe FileUtils.cd](https://www.ruby-forum.com/t/thread-safe-fileutils-cd/175820)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 4\
**Last updated:** [September 22, 2009, 10:42am UTC](https://www.ruby-forum.com/t/thread-safe-fileutils-cd/175820 "2009-09-22T10:42:05Z")

</div>

Hi all, I have a build tool that I’ve written in Ruby that uses this construct to enter a directory, perform some long-running (several seconds) tasks then exit back to the original working directory: FileUtils.cd(…

---

## [Dynamically add/remove mongrel on EC2 from Apache balancer](https://www.ruby-forum.com/t/dynamically-add-remove-mongrel-on-ec2-from-apache-balancer/129491)

<div class="topic-metadata">

**Author:** [@yaxm](https://www.ruby-forum.com/u/yaxm)\
**Replies:** 4\
**Last updated:** [March 4, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/dynamically-add-remove-mongrel-on-ec2-from-apache-balancer/129491 "2008-03-04T17:57:03Z")

</div>

Hi, I’d like to scale out by adding more EC2 mongrel instances, and scale down by removing EC2 mongrel instances. Is there a way to dynamically add/remove mongrel instances from Apache mod\_proxy\_balancer. It seems t…

---

## [Ordenar lista por campos de otra tabla](https://www.ruby-forum.com/t/ordenar-lista-por-campos-de-otra-tabla/86311)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 4\
**Last updated:** [February 21, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/ordenar-lista-por-campos-de-otra-tabla/86311 "2007-02-21T20:14:46Z")

</div>

Mi problema es el siguiente: tengo una tabla articles (id, name…) y otra colours(id, name…). Estas dos tablas se relacionan con una tabla que se llama Relations que tiene los campos siguientes: id article\_id colour\_…

---

## [Build array of possible combinations](https://www.ruby-forum.com/t/build-array-of-possible-combinations/49670)

<div class="topic-metadata">

**Author:** [@thoepfner](https://www.ruby-forum.com/u/thoepfner)\
**Replies:** 4\
**Last updated:** [December 9, 2005, 3:43pm UTC](https://www.ruby-forum.com/t/build-array-of-possible-combinations/49670 "2005-12-09T15:43:57Z")

</div>

Hi, I’m looking for an easy way to convert a string representing a boolean expression like “(a and (b or c) or d” to an Array of Arrays (representing sets) representing all possible valid combinations like: \[\[“a”,“…

---

## [Command prompt problem with windows 7](https://www.ruby-forum.com/t/command-prompt-problem-with-windows-7/224184)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [November 4, 2012, 4:32am UTC](https://www.ruby-forum.com/t/command-prompt-problem-with-windows-7/224184 "2012-11-04T04:32:21Z")

</div>

I’m new to this, so forgive me noobishness(is that a word?) and have a problem with my command prompt in windows 7. when I try to run a ruby file, I get this msg “ruby: No such file or directory – argv.rb (LoadError)”…

---

## [RegexpError: Stack overflow in regexp matcher](https://www.ruby-forum.com/t/regexperror-stack-overflow-in-regexp-matcher/150554)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 5\
**Last updated:** [October 10, 2008, 12:05am UTC](https://www.ruby-forum.com/t/regexperror-stack-overflow-in-regexp-matcher/150554 "2008-10-10T00:05:05Z")

</div>

Hola gente, Esto una cosa de Ruby y Regex, así que si se sale mucho del tema RoR pues marcho a la lista de ruby-es a ver… pero como en esta conozco a más gente pues eso. El caso es que tengo este error: RegexpError:…

---

## [Radiant](https://www.ruby-forum.com/t/radiant/110066)

<div class="topic-metadata">

**Author:** [@bigme](https://www.ruby-forum.com/u/bigme)\
**Replies:** 5\
**Last updated:** [July 23, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/radiant/110066 "2007-07-23T17:36:27Z")

</div>

Salve ragazzi, qualcuno di vuoi ha un minimo di esperienza di radiant? Vorrei usarlo per fare un sito molto semplice, ma uno dei requisiti e\` la nazionalizzazione delle pagine, ma non sono riuscito a trovare questa f…

---

## [Problema con ejemplos de libro](https://www.ruby-forum.com/t/problema-con-ejemplos-de-libro/84305)

<div class="topic-metadata">

**Author:** [@Marconi\_P](https://www.ruby-forum.com/u/Marconi_P)\
**Replies:** 5\
**Last updated:** [February 6, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/problema-con-ejemplos-de-libro/84305 "2007-02-06T18:43:48Z")

</div>

Hola a todos, Este es mi primer mensaje, mi info en la firma :smiley: Estoy leyendo el libro de Agile Web D. with Rails - A Pragmatic Guide y me he topado con un error que no entiendo. En la pagina numero 62 del libr…

---

## [Convert shell script to ruby](https://www.ruby-forum.com/t/convert-shell-script-to-ruby/243491)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [November 17, 2015, 9:17pm UTC](https://www.ruby-forum.com/t/convert-shell-script-to-ruby/243491 "2015-11-17T21:17:24Z")

</div>

can someone please help me convert this shell script to ruby? ######################################################################### shell script: ###################################################################…

---

## [Dynamically reading this keys values from json file](https://www.ruby-forum.com/t/dynamically-reading-this-keys-values-from-json-file/253453)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 2\
**Last updated:** [December 17, 2019, 8:59am UTC](https://www.ruby-forum.com/t/dynamically-reading-this-keys-values-from-json-file/253453 "2019-12-17T08:59:53Z")

</div>

Hi i have one array of hash path below userpath = \[“data”,“paging”,“next”\] the above path i want in below formate, hash\[“data”\]\[“paging”\]\[“next”\] please help me how can i achieve this

---

## [Trouble with install of 2.3.9 due to rake requires version of ruby \> 1.9](https://www.ruby-forum.com/t/trouble-with-install-of-2-3-9-due-to-rake-requires-version-of-ruby-1-9/240046)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 25, 2014, 5:15pm UTC](https://www.ruby-forum.com/t/trouble-with-install-of-2-3-9-due-to-rake-requires-version-of-ruby-1-9/240046 "2014-03-25T17:15:24Z")

</div>

hey all i am trying to install rails into a new computer with rvm. i have installed ruby 1.8.7 and rubygems 1.3.7 --force these are both versions that i must have to run my website. the problem is that when i try to…

---

## [I18n partially working in production](https://www.ruby-forum.com/t/i18n-partially-working-in-production/200429)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 28, 2010, 8:55pm UTC](https://www.ruby-forum.com/t/i18n-partially-working-in-production/200429 "2010-12-28T20:55:38Z")

</div>

Hi, I have a problem with i18n in production. I use for form error messages. I don’t know why but it translates but not everything. Here is what I get when I submit a not valid form. (french) Impossible d’enregistrer…

---

## [How to remove spaces from phone number](https://www.ruby-forum.com/t/how-to-remove-spaces-from-phone-number/86575)

<div class="topic-metadata">

**Author:** [@rmehta](https://www.ruby-forum.com/u/rmehta)\
**Replies:** 2\
**Last updated:** [March 11, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/how-to-remove-spaces-from-phone-number/86575 "2007-03-11T21:24:01Z")

</div>

Hi, I need to allow login based on the phone number. During the signup they can give the number in any format with spaces, slash or (). But for storing in database and then during login to compare I just want the 10 …

---

## [Convert Hex Color Value To HTML Color](https://www.ruby-forum.com/t/convert-hex-color-value-to-html-color/235672)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 7, 2013, 10:06pm UTC](https://www.ruby-forum.com/t/convert-hex-color-value-to-html-color/235672 "2013-07-07T22:06:54Z")

</div>

Hey everyone. I’m new to ROR, and I followed and implemented the beginner Ruby On Rails Tutorial (2nd Edition) code, and its working great. For those who are unfamiliar, this creates a site that acts much like Twitter…

---

## [3 Questions about devise](https://www.ruby-forum.com/t/3-questions-about-devise/207182)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 21, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/3-questions-about-devise/207182 "2011-05-21T18:45:13Z")

</div>

Hi, I’ve just gotten started with devise and it’s pretty nifty. I just wondered if people could point me in the right direction for finding info about 3 things. How come the login form does not report error messages…

---

## [Rails3: in production i get uninitialised constant rspec?](https://www.ruby-forum.com/t/rails3-in-production-i-get-uninitialised-constant-rspec/194889)

<div class="topic-metadata">

**Author:** [@nathanvda](https://www.ruby-forum.com/u/nathanvda)\
**Replies:** 3\
**Last updated:** [September 13, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/rails3-in-production-i-get-uninitialised-constant-rspec/194889 "2010-09-13T16:53:12Z")

</div>

I am trying to deploy my rails3 application in a production environment. But when i run my first rake task: RAILS\_ENV=production rake db:setup i always get the following result: rake aborted! uninitialized constant R…

---

## [How can I invoke super class's method](https://www.ruby-forum.com/t/how-can-i-invoke-super-classs-method/147300)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 3\
**Last updated:** [August 31, 2008, 4:42am UTC](https://www.ruby-forum.com/t/how-can-i-invoke-super-classs-method/147300 "2008-08-31T04:42:26Z")

</div>

My class include a Module and overwrite a method of the Module. In this method, I want to invoke the Module’s method first. Just like “super.method()” in Java. How can I do this?

---

## [Hook, or override const\_set, and const\_get](https://www.ruby-forum.com/t/hook-or-override-const-set-and-const-get/116153)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 3\
**Last updated:** [October 3, 2007, 9:47am UTC](https://www.ruby-forum.com/t/hook-or-override-const-set-and-const-get/116153 "2007-10-03T09:47:19Z")

</div>

I have seen some examples of hooking into const\_missing; Howerver, I can’t seem to find anything on const\_set, and const\_get, any ideas? I tried opening class Module, ex. class Module def const\_set(cname, cval) … e…

---

## [New darcs repository](https://www.ruby-forum.com/t/new-darcs-repository/76922)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 3\
**Last updated:** [January 11, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/new-darcs-repository/76922 "2007-01-11T16:41:52Z")

</div>

I moved the RForum repository from SVN to darcs. The reason is that darcs makes maintaining parallel branches a lot more comfortable and thus will allow me to merge back changes from my private branches (for ruby-foru…

---

## [Directory Diff Script](https://www.ruby-forum.com/t/directory-diff-script/61891)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 3\
**Last updated:** [May 29, 2006, 2:14pm UTC](https://www.ruby-forum.com/t/directory-diff-script/61891 "2006-05-29T14:14:49Z")

</div>

Hi, I am after a directory diff script in Ruby, so I can compare all the files in multiple directories. Does anybody know of such a script? Thanks. Nick.

---

## [ICE1712 and ALSA sink](https://www.ruby-forum.com/t/ice1712-and-alsa-sink/209574)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 18, 2011, 11:01pm UTC](https://www.ruby-forum.com/t/ice1712-and-alsa-sink/209574 "2011-07-18T23:01:57Z")

</div>

Built GNUradio from git on Debian Testing AMD64 this afternoon, and intending to use it with a Funcube Dongle and gr-fcd. I am having some difficulty with the ALSA sink and an ICE1712 \[M-Audio 2496\] sound card. I crea…

---

## [Chiamare un metodo da un altro controller](https://www.ruby-forum.com/t/chiamare-un-metodo-da-un-altro-controller/174076)

<div class="topic-metadata">

**Author:** [@nicola55](https://www.ruby-forum.com/u/nicola55)\
**Replies:** 6\
**Last updated:** [August 20, 2009, 6:33pm UTC](https://www.ruby-forum.com/t/chiamare-un-metodo-da-un-altro-controller/174076 "2009-08-20T18:33:31Z")

</div>

Saluti a tutti, ho cominciato da poco con rails e molte cose sono ancora poco chiare. Mi chiedevo se era possibile chiamare un metodo “nome\_metodo” in un controller B da un controller A: eseguendo alcune ricerche ho t…

---

## [Asociacion doble con modelos](https://www.ruby-forum.com/t/asociacion-doble-con-modelos/166244)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 6\
**Last updated:** [April 24, 2009, 11:24am UTC](https://www.ruby-forum.com/t/asociacion-doble-con-modelos/166244 "2009-04-24T11:24:41Z")

</div>

Buenas noches. no se como hacer esta asociacion. tengo un modelo con los meses del aÃ±o y otro donde debo registrar un mes inicial y un mes final, la vista me guarda bien, pero cuando quiero mostrarlo en el show, sie…

---

## [Syntax suggestion](https://www.ruby-forum.com/t/syntax-suggestion/106183)

<div class="topic-metadata">

**Author:** [@jbc](https://www.ruby-forum.com/u/jbc)\
**Replies:** 6\
**Last updated:** [June 7, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/syntax-suggestion/106183 "2007-06-07T18:11:56Z")

</div>

(I posted this before on the google-group rather than the usenet group, but it seems not to have shown up. I don’t know why. If this is a duplicate for anyone, my apologies) def initialize(foo,bar,bat) @foo,@bar,@bat …

---

## [cFerret nearing completion](https://www.ruby-forum.com/t/cferret-nearing-completion/81596)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 6\
**Last updated:** [March 28, 2006, 3:02am UTC](https://www.ruby-forum.com/t/cferret-nearing-completion/81596 "2006-03-28T03:02:19Z")

</div>

Hey folks, Some good news. I’ve finished cFerret and it’s ruby bindings to the point where I can run all of the unit tests. I still have to work out how I’m going to package and release it but it shouldn’t be long now…

---

## [Rake remote\_exec on Windows](https://www.ruby-forum.com/t/rake-remote-exec-on-windows/50453)

<div class="topic-metadata">

**Author:** [@krisleech](https://www.ruby-forum.com/u/krisleech)\
**Replies:** 6\
**Last updated:** [December 19, 2005, 11:02am UTC](https://www.ruby-forum.com/t/rake-remote-exec-on-windows/50453 "2005-12-19T11:02:04Z")

</div>

I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel I have SwitchTower-ized my app, copied the shovel deploy.rb file and put my settings in it. But when I run “rake remote\_exec ACTION=setup\_lighty…

---

## [..in Montreal..see why JRuby is such a powerful tool..for building..desktop applications](https://www.ruby-forum.com/t/in-montreal-see-why-jruby-is-such-a-powerful-tool-for-building-desktop-applications/263302)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 1\
**Last updated:** [October 3, 2022, 12:55pm UTC](https://www.ruby-forum.com/t/in-montreal-see-why-jruby-is-such-a-powerful-tool-for-building-desktop-applications/263302 "2022-10-03T12:55:55Z")

</div>

---

## [Getter'ы и setter'ы](https://www.ruby-forum.com/t/getter-setter/259956)

<div class="topic-metadata">

**Author:** [@Forty](https://www.ruby-forum.com/u/Forty)\
**Replies:** 1\
**Last updated:** [July 9, 2020, 6:12am UTC](https://www.ruby-forum.com/t/getter-setter/259956 "2020-07-09T06:12:45Z")

</div>

Здравствуйте, никак не могу найти информацию о геттерах и сеттерах в Ruby, в основном влазает по JS, а он мне наыиш не сдался, но от этого понятней не становится. Можете рассказать или скинуть источник на тему “Геттеры и…

---

## [Regexp replace every other one](https://www.ruby-forum.com/t/regexp-replace-every-other-one/218447)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [April 4, 2012, 4:13pm UTC](https://www.ruby-forum.com/t/regexp-replace-every-other-one/218447 "2012-04-04T16:13:45Z")

</div>

When i have a string like: puts “Mike Lan move the string abc def”.gsub(/(\\A|\\s)(.{3})($|\\s)/," new\_value ") it only replaces two same as the next one only replaces every other one what a im missing?? puts “gta gtb …

---

## [How to make nginx find my assets that are not in my public/?](https://www.ruby-forum.com/t/how-to-make-nginx-find-my-assets-that-are-not-in-my-public/210738)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [August 17, 2011, 12:26am UTC](https://www.ruby-forum.com/t/how-to-make-nginx-find-my-assets-that-are-not-in-my-public/210738 "2011-08-17T00:26:45Z")

</div>

Hi, So I a rails app that use nginx serving all my assets from my public directory, but my web app also serves some custom assets directly from the db. The problem is that nginx tries to look those assets in my publi…

---

## [Params - is it a method?](https://www.ruby-forum.com/t/params-is-it-a-method/199327)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [November 18, 2010, 11:11pm UTC](https://www.ruby-forum.com/t/params-is-it-a-method/199327 "2010-11-18T23:11:45Z")

</div>

Is params a ruby method? Stepping into line 15 14 debugger =\> 15 if params\[‘localData’\] in the debugger results in this message: \[-4, 5\] in (eval) \*\*\* No sourcefile available for (eval) (eval):1 Why?

---

## [EEPROM warning](https://www.ruby-forum.com/t/eeprom-warning/160439)

<div class="topic-metadata">

**Author:** [@Woody\_D](https://www.ruby-forum.com/u/Woody_D)\
**Replies:** 7\
**Last updated:** [February 19, 2009, 6:40am UTC](https://www.ruby-forum.com/t/eeprom-warning/160439 "2009-02-19T06:40:41Z")

</div>

Hello, Any know what is the cause of the following EEPROM warning? I would appreciate any suggestion on how to resolve this problem. \[root@home usr\]# usrp\_siggen.py -f1 Warning: Treating daughterboard with invalid E…

---

## [How to use a passing argument(returned argument)?](https://www.ruby-forum.com/t/how-to-use-a-passing-argument-returned-argument/154168)

<div class="topic-metadata">

**Author:** [@SSSS\_SSS\_SSS\_SSSSSS](https://www.ruby-forum.com/u/SSSS_SSS_SSS_SSSSSS)\
**Replies:** 7\
**Last updated:** [November 27, 2008, 4:11am UTC](https://www.ruby-forum.com/t/how-to-use-a-passing-argument-returned-argument/154168 "2008-11-27T04:11:32Z")

</div>

Hello, everyone !!! I have question about how to use a passing argument. firstly let me show sample code. a = 0 def set10(aArg) aArg = 10 end set10(a) p a \<— I wanna get 10 as a result. How can I do for this one…

---

## [Hpricot elem index/position](https://www.ruby-forum.com/t/hpricot-elem-index-position/150261)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [October 8, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/hpricot-elem-index-position/150261 "2008-10-08T21:08:49Z")

</div>

Hey, Trying to find the String index of an Hpricot::Elem within its doc. For example… doc = Hpricot(“bobjamesdan”) elem = doc.search(“a”)\[1\] elem.start #=\> 10 ( the first ‘\<’ of the second a tag.) and eventually th…

---

## [ActiveRecord::ConfigurationError in Rails 2.0](https://www.ruby-forum.com/t/activerecord-configurationerror-in-rails-2-0/132960)

<div class="topic-metadata">

**Author:** [@vinay](https://www.ruby-forum.com/u/vinay)\
**Replies:** 7\
**Last updated:** [March 26, 2008, 11:52am UTC](https://www.ruby-forum.com/t/activerecord-configurationerror-in-rails-2-0/132960 "2008-03-26T11:52:00Z")

</div>

Hi, I recently gathered guts and tried implementing the Rails 2.0.2 in one of my existing application that was running on Rails 1.2.3. I ran in to a strange issue. I have a model Post and a model Comment. They have …

---

## [Premature Optimization](https://www.ruby-forum.com/t/premature-optimization/73645)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [October 26, 2006, 9:01am UTC](https://www.ruby-forum.com/t/premature-optimization/73645 "2006-10-26T09:01:39Z")

</div>

Hi everybody, I’m writing a fairly open-ended question. I’m hoping for suggestions, opinions, advice. Suppose I have n arrays, each of which has m entries. m is a fairly large integer, on the order of 10,000. Each …

---

## [N-way joins](https://www.ruby-forum.com/t/n-way-joins/95892)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 7\
**Last updated:** [January 22, 2006, 5:52am UTC](https://www.ruby-forum.com/t/n-way-joins/95892 "2006-01-22T05:52:47Z")

</div>

Hi, I’m somewhat of a Rails newbie and am trying to understand how to formulate n-way (3 or 4 way) joins in Rails (where the join tables contain extra data as well.) Let me give you my basic entities: foos id - pk …

---

## [Virtualhosts and map](https://www.ruby-forum.com/t/virtualhosts-and-map/226933)

<div class="topic-metadata">

**Author:** [@varix](https://www.ruby-forum.com/u/varix)\
**Replies:** 4\
**Last updated:** [February 27, 2013, 2:04pm UTC](https://www.ruby-forum.com/t/virtualhosts-and-map/226933 "2013-02-27T14:04:21Z")

</div>

What is the best way to configure virtualhost with map? Varix Posted at Nginx Forum:

---

## [Validation depends on Controller](https://www.ruby-forum.com/t/validation-depends-on-controller/209751)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 25, 2011, 8:12pm UTC](https://www.ruby-forum.com/t/validation-depends-on-controller/209751 "2011-07-25T20:12:53Z")

</div>

I know in the model we can add validations. But how about if I need different validations depending on the controller. For example… if the User is being created from the accounts controller, I want to REQUIRE the us…

---

## [JSON::ParserError: 376](https://www.ruby-forum.com/t/json-376/207675)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 2, 2011, 1:16am UTC](https://www.ruby-forum.com/t/json-376/207675 "2011-06-02T01:16:49Z")

</div>

I am writing code to parse json response coming from easy interface JSON.parse(e.response\_body) throws below error: JSON::ParserError: 376: unexpected token at Any clue about this? I try to force\_encode e.response\_bo…

---

## [Save selected checkboxes after remote\_function call](https://www.ruby-forum.com/t/save-selected-checkboxes-after-remote-function-call/150568)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 4\
**Last updated:** [October 16, 2008, 6:20am UTC](https://www.ruby-forum.com/t/save-selected-checkboxes-after-remote-function-call/150568 "2008-10-16T06:20:18Z")

</div>

I have an A-Z list that controls a list of check\_box\_tag values. So a user clicks on a A-Z link, the list of checkboxes are displayed, they tic the checkboxes and the value is stored in the session variable, and they …

---

## [Cerrar sesion y boton volver](https://www.ruby-forum.com/t/cerrar-sesion-y-boton-volver/139636)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 4\
**Last updated:** [June 8, 2008, 8:33pm UTC](https://www.ruby-forum.com/t/cerrar-sesion-y-boton-volver/139636 "2008-06-08T20:33:53Z")

</div>

Hola expertos, estoy usando restfull authentication y veo que al cerrar la sesion del usuario , efectivamente cierra la sesion, pero al clicar boton volver del navegador este entra nuevamente al area restringida. en…

---

## [VMWare WSDL Client?](https://www.ruby-forum.com/t/vmware-wsdl-client/85829)

<div class="topic-metadata">

**Author:** [@seeah](https://www.ruby-forum.com/u/seeah)\
**Replies:** 4\
**Last updated:** [February 16, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/vmware-wsdl-client/85829 "2007-02-16T20:58:02Z")

</div>

Greetings, I’m just getting my feet wet with Ruby and have decided that it’s the perfect tool for a couple of projects I have on the go. One component of a project is to be able to query (and eventually manipulate) …

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

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