# Top

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

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

---

## [Including spec/rails/mocks into other classes](https://www.ruby-forum.com/t/including-spec-rails-mocks-into-other-classes/152071)

<div class="topic-metadata">

**Author:** [@cdb](https://www.ruby-forum.com/u/cdb)\
**Replies:** 2\
**Last updated:** [October 30, 2008, 5:56am UTC](https://www.ruby-forum.com/t/including-spec-rails-mocks-into-other-classes/152071 "2008-10-30T05:56:56Z")

</div>

Hi all, So my potentially crazy but I think good idea right now is to take the factory\_girl gem and adapt it to generate stubbed models instead of actual ActiveRecord objects that get saved to the DB. My main reasoni…

---

## [Mapping betwing a standard type and a user defined type with SWIG](https://www.ruby-forum.com/t/mapping-betwing-a-standard-type-and-a-user-defined-type-with-swig/146394)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 2\
**Last updated:** [August 20, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/mapping-betwing-a-standard-type-and-a-user-defined-type-with-swig/146394 "2008-08-20T18:05:34Z")

</div>

Hello! I’ve wrote a C library where I redefined (with typedef) the “char” and I gave it the name “my\_char”. Every things worked well when I gave constant strings to my wrapped functions which takes a “my\_char \*” as a…

---

## [Controller vars for examples](https://www.ruby-forum.com/t/controller-vars-for-examples/142627)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 2\
**Last updated:** [July 9, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/controller-vars-for-examples/142627 "2008-07-09T21:49:54Z")

</div>

Hi, How do I override the value of a controller variable in a controller spec. For ex, if I have an action with an array, I want to have examples with different variables in the array def testing my\_array = \[1,2,4\] …

---

## ["Marshal Data Too Short" error reading Session Data](https://www.ruby-forum.com/t/marshal-data-too-short-error-reading-session-data/142066)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 2\
**Last updated:** [July 3, 2008, 12:43pm UTC](https://www.ruby-forum.com/t/marshal-data-too-short-error-reading-session-data/142066 "2008-07-03T12:43:00Z")

</div>

Hi all, I am experiencing an error when reading session data. The problem is that it doesn’t happen all the time, in most cases it doesn’t occur. But it does so enough to start to become annoying. It happens when try…

---

## [Ruby-plsql gem ported to JRuby](https://www.ruby-forum.com/t/ruby-plsql-gem-ported-to-jruby/141578)

<div class="topic-metadata">

**Author:** [@Raimonds\_Simanovski](https://www.ruby-forum.com/u/Raimonds_Simanovski)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 10:35am UTC](https://www.ruby-forum.com/t/ruby-plsql-gem-ported-to-jruby/141578 "2008-06-27T10:35:16Z")

</div>

Hi all Wanted to announce that I have ported ruby-plsql gem to JRuby and Oracle JDBC driver. ruby-plsql gem provides simple Ruby API for accessing Oracle PL/SQL stored procedures. To learn more about the gem please…

---

## [Powerfull XML Deserialization of ActiveRecord object](https://www.ruby-forum.com/t/powerfull-xml-deserialization-of-activerecord-object/138762)

<div class="topic-metadata">

**Author:** [@differenthink](https://www.ruby-forum.com/u/differenthink)\
**Replies:** 2\
**Last updated:** [May 28, 2008, 12:17am UTC](https://www.ruby-forum.com/t/powerfull-xml-deserialization-of-activerecord-object/138762 "2008-05-28T00:17:11Z")

</div>

Hi, i m trying to deserialize XML that came from a model class. To serialize i use “to\_xml” method like : Foo.find(:all).to\_xml(:include=\>\[:foo2\]) Now i m trying to deserialize it. I tried to use “Hash.from\_xml” but…

---

## [Sqlite3, inserting values in database](https://www.ruby-forum.com/t/sqlite3-inserting-values-in-database/136580)

<div class="topic-metadata">

**Author:** [@gerapcik](https://www.ruby-forum.com/u/gerapcik)\
**Replies:** 2\
**Last updated:** [May 3, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/sqlite3-inserting-values-in-database/136580 "2008-05-03T23:37:41Z")

</div>

hi, i have a small form of textfields and i need to add these informations to a table in sqlite3 database. but i dont know how to do it. i mean that its small address book program. and ‘id’ from ‘clients’ table has t…

---

## [Deploy / maitain / devel tool survey](https://www.ruby-forum.com/t/deploy-maitain-devel-tool-survey/135429)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 2\
**Last updated:** [April 22, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/deploy-maitain-devel-tool-survey/135429 "2008-04-22T13:17:55Z")

</div>

Hello. Do you know some tools to ease deploy/maitain/devel/update tasks? I know Capistrano… Are there any other tools or tips? All suggestions are welcome. rndrfero

---

## [Patch to warn that "ferret\_server appears to be already running"](https://www.ruby-forum.com/t/patch-to-warn-that-ferret-server-appears-to-be-already-running/134083)

<div class="topic-metadata">

**Author:** [@elegant](https://www.ruby-forum.com/u/elegant)\
**Replies:** 2\
**Last updated:** [April 11, 2008, 12:14am UTC](https://www.ruby-forum.com/t/patch-to-warn-that-ferret-server-appears-to-be-already-running/134083 "2008-04-11T00:14:16Z")

</div>

Hi, I added the following two lines to the top of the start method in ferret\_server.rb (acts\_as\_ferret) pid = read\_pid\_file raise “ferret\_server appears to be already running” if pid Without this, I found that: I …

---

## [Limiting children from r:aggregate](https://www.ruby-forum.com/t/limiting-children-from-r-aggregate/123660)

<div class="topic-metadata">

**Author:** [@jimgroom](https://www.ruby-forum.com/u/jimgroom)\
**Replies:** 2\
**Last updated:** [December 27, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/limiting-children-from-r-aggregate/123660 "2007-12-27T16:58:30Z")

</div>

I’m trying to aggregate several pages and then limit their children. \<r:aggregate … for 10 urls \<r:children limit=“1” … \<r:children limit=“3” offset=“1” … What I want is to display 1 + 3 children. What I’m getting is…

---

## [Acts\_as\_ferret auf PowerPC-Architektur](https://www.ruby-forum.com/t/acts-as-ferret-auf-powerpc-architektur/118284)

<div class="topic-metadata">

**Author:** [@Matthias\_Aschenbach](https://www.ruby-forum.com/u/Matthias_Aschenbach)\
**Replies:** 2\
**Last updated:** [October 25, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-auf-powerpc-architektur/118284 "2007-10-25T16:43:18Z")

</div>

Hallo Liste, ich versuche acts\_as\_ferret auf einem Powerbook zu installieren. Allerdings scheitert ein gem install ferret mit folgender Fehlermeldung: gcc -I. -I/usr/local/lib/ruby/1.8/universal-darwin8.0 -I/usr/loc…

---

## [Problemas comparando floats](https://www.ruby-forum.com/t/problemas-comparando-floats/117054)

<div class="topic-metadata">

**Author:** [@Ernesto\_JimSSSSnez\_S](https://www.ruby-forum.com/u/Ernesto_JimSSSSnez_S)\
**Replies:** 2\
**Last updated:** [October 12, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/problemas-comparando-floats/117054 "2007-10-12T16:55:28Z")

</div>

Hola a todos :slight\_smile: Tengo una pregunta de esas que tienen premio… AtenciÃ³n a cÃ³mo me estÃ¡n fallando unos tests en la mÃ¡quina de integraciÃ³n continua. 14) Failure: test\_reduce\_credit\_method(UserTest) \[./…

---

## [Folders/subfolders/document structure.. any plugin?](https://www.ruby-forum.com/t/folders-subfolders-document-structure-any-plugin/116534)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 10:56pm UTC](https://www.ruby-forum.com/t/folders-subfolders-document-structure-any-plugin/116534 "2007-10-07T22:56:09Z")

</div>

I need to model a folders/subfolders/documents structure , is there any interesting readings about that ? any useful plugin ? thanks for you i nfo … kad

---

## [FIFO size and duplex mode](https://www.ruby-forum.com/t/fifo-size-and-duplex-mode/116191)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 3, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/fifo-size-and-duplex-mode/116191 "2007-10-03T16:45:15Z")

</div>

Hi! We are considering the possibility of bying a couple of USRP boards for building the MIMO 2 RX 2 TX duplex system. For us it is critical to know the precise size on FIFO buffers. So we could evaluate overrun / u…

---

## [Symbol.all\_symbols](https://www.ruby-forum.com/t/symbol-all-symbols/115428)

<div class="topic-metadata">

**Author:** [@eklerni](https://www.ruby-forum.com/u/eklerni)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/symbol-all-symbols/115428 "2007-09-27T20:05:17Z")

</div>

eklernie$B$G$9!#e(B e$B%j%U%!%l%s%9JT=8Cf$K5$$E$$$?$3$H$K$D$$$F$N\<ALd$G$9!#e(B Symbol.all\_symbolse$B%a%=%C%I$N!"\<0E83+$r4^$\`%7%s%%k%j%F%i%ke(B e$B$N07$$$,e(B1.8e$B$He(B1.9e$B$GJQ2=$7$F$$$k$N$G$9$,!"$3$l$O0U?^$7$?JQ99$…

---

## [Inputting part of array into Excel](https://www.ruby-forum.com/t/inputting-part-of-array-into-excel/110226)

<div class="topic-metadata">

**Author:** [@qwerty](https://www.ruby-forum.com/u/qwerty)\
**Replies:** 2\
**Last updated:** [July 24, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/inputting-part-of-array-into-excel/110226 "2007-07-24T15:30:10Z")

</div>

Newby Excel question I am trying to input data from a column, iterate through the column, do some tests and then output the results into an adjacent column. For example I have a basic script below, which reads in an a…

---

## [Unit Testing Custom Validation Method](https://www.ruby-forum.com/t/unit-testing-custom-validation-method/107451)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 25, 2007, 1:06am UTC](https://www.ruby-forum.com/t/unit-testing-custom-validation-method/107451 "2007-06-25T01:06:11Z")

</div>

Hey there I’ve written a custom validation method (to validate an email address). It looks like module ActiveRecord module Validations module ClassMethods def validates\_as\_email ... end end end end I’v…

---

## [Non-blocking IO & Maxima](https://www.ruby-forum.com/t/non-blocking-io-maxima/107611)

<div class="topic-metadata">

**Author:** [@mindtriggerz](https://www.ruby-forum.com/u/mindtriggerz)\
**Replies:** 2\
**Last updated:** [June 24, 2007, 2:13pm UTC](https://www.ruby-forum.com/t/non-blocking-io-maxima/107611 "2007-06-24T14:13:52Z")

</div>

Ok, here’s something that seems wierd. While writing some code to call Maxima (http://maxima.sourceforge.net/) from Ruby, I wrote the following: class IO Read a line without blocking. If there isn’t a line to be rea…

---

## [Nav](https://www.ruby-forum.com/t/nav/89990)

<div class="topic-metadata">

**Author:** [@keith](https://www.ruby-forum.com/u/keith)\
**Replies:** 2\
**Last updated:** [March 25, 2007, 7:16am UTC](https://www.ruby-forum.com/t/nav/89990 "2007-03-25T07:16:28Z")

</div>

Hi All, I am trying to build a site that has the following structure: Home Departments Stores Articles On each department page - sport for example - I need to add a nav for the articles within t…

---

## [Store\_class\_name for Comatose:Page model](https://www.ruby-forum.com/t/store-class-name-for-comatose-page-model/89594)

<div class="topic-metadata">

**Author:** [@linus](https://www.ruby-forum.com/u/linus)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/store-class-name-for-comatose-page-model/89594 "2007-03-21T16:20:09Z")

</div>

Hi, I have three models: Comatose::Page, Article and Product. In all of them, store\_class\_name is set to true. Now, when i do: results = Comatose::Page.multi\_search("\*", \[Article,Product\], options) I get: wrong con…

---

## [Acentos](https://www.ruby-forum.com/t/acentos/88173)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/acentos/88173 "2007-03-08T18:35:38Z")

</div>

Buenas, tengo una duda, si en mi base de datos los textos están con acentos, al sacarlos en la plantilla por qué me salen caracteres raros? gracias

---

## [Trapping error not caught by rescue Exception -- How to?](https://www.ruby-forum.com/t/trapping-error-not-caught-by-rescue-exception-how-to/79611)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 2\
**Last updated:** [December 17, 2006, 5:05am UTC](https://www.ruby-forum.com/t/trapping-error-not-caught-by-rescue-exception-how-to/79611 "2006-12-17T05:05:39Z")

</div>

Hi, The fourth data line in the program below hangs rather than submitting to the rescue clause. How can I trap that kind of error? I’m running WinXP-Pro/SP2, Ruby 1.8.2-15, Rails 1.1.6, MySQL 5.0.15-nt, SciTE 1.59 …

---

## [Chardet (etait : Bizarrerie d'upload (Webrick))](https://www.ruby-forum.com/t/chardet-etait-bizarrerie-dupload-webrick/75912)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 2\
**Last updated:** [November 14, 2006, 11:22am UTC](https://www.ruby-forum.com/t/chardet-etait-bizarrerie-dupload-webrick/75912 "2006-11-14T11:22:05Z")

</div>

Yann : Sinon tu peux laisser faire le boulot de conversion Ã un programme Python puisque la bibliothÃ¨que “chardet” est un peu plus “accessible” que ce que l’on trouve dans le monde Ruby (amis trolleurs, bonsoir). …

---

## [Re: Win32ole & Adobe Acrobat Reader](https://www.ruby-forum.com/t/re-win32ole-adobe-acrobat-reader/75045)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/re-win32ole-adobe-acrobat-reader/75045 "2006-11-07T11:08:02Z")

</div>

M. Edward (Ed) Borasky wrote: require ‘win32ole’ pdf = PDF::Writer.new pdf.select\_font “Times-Roman” pdf.text “Hello, Ruby.”, :font\_size =\> 72, :justification =\> :center pdf.save\_as(“hello.pdf”) acrobat = WIN32OL…

---

## [Text Munger (#76): A solution](https://www.ruby-forum.com/t/text-munger-76-a-solution/58572)

<div class="topic-metadata">

**Author:** [@Stefano\_T](https://www.ruby-forum.com/u/Stefano_T)\
**Replies:** 2\
**Last updated:** [April 23, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/text-munger-76-a-solution/58572 "2006-04-23T17:43:34Z")

</div>

First the solution and then the comments: 1 #!/usr/bin/env ruby 2 require 'unicode' 3 class String 4 Diacritic = Regexp.new("\[\\xcc\\x80-\\xcd\\xaf\]",nil,'u') 5 Specials = “\\xc3\\x86\\xc3\\x90\\xc3\\x98\\xc3\\x9e…

---

## [How do you create the first index?](https://www.ruby-forum.com/t/how-do-you-create-the-first-index/57088)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 9:35am UTC](https://www.ruby-forum.com/t/how-do-you-create-the-first-index/57088 "2006-04-07T09:35:00Z")

</div>

I’m attempting to implement acts\_as\_ferret, but I haven’t been able to find out how to create the first index. I see the “rebuild\_index.rb” file, but it tells me “Uninitialized constant: Content” if I try to run it b…

---

## [Convert each element in an array](https://www.ruby-forum.com/t/convert-each-element-in-an-array/53965)

<div class="topic-metadata">

**Author:** [@braas](https://www.ruby-forum.com/u/braas)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/convert-each-element-in-an-array/53965 "2006-02-18T21:37:14Z")

</div>

Hi, I can’t find out how to convert each integer in my array to a float. I’ve tried: array.each {|x| x.to\_f} But it did not work. Can anyone tell me the correct method?

---

## [Multi Web Apps](https://www.ruby-forum.com/t/multi-web-apps/95263)

<div class="topic-metadata">

**Author:** [@micpringle](https://www.ruby-forum.com/u/micpringle)\
**Replies:** 2\
**Last updated:** [January 15, 2006, 10:35pm UTC](https://www.ruby-forum.com/t/multi-web-apps/95263 "2006-01-15T22:35:52Z")

</div>

Hi, I’ve just setup Ruby on Rails using the guide I found at And was just wondering if it’s possible to host PHP on the same box as well !? I don’t seem to be able to find any info on this so any help would be gre…

---

## [How write input form (layout/controller) so I can enter Id](https://www.ruby-forum.com/t/how-write-input-form-layout-controller-so-i-can-enter-id/78755)

<div class="topic-metadata">

**Author:** [@radek](https://www.ruby-forum.com/u/radek)\
**Replies:** 2\
**Last updated:** [December 28, 2005, 10:14pm UTC](https://www.ruby-forum.com/t/how-write-input-form-layout-controller-so-i-can-enter-id/78755 "2005-12-28T22:14:39Z")

</div>

I reformulate my needs. How I can write (layout/controller) so I can read value of Id from the new form when creating new record. With following structure: CREATE TABLE words ( id INTEGER PRIMARY KEY, word VARCHAR…

---

## [How to do it the rest way Question from fledgeling Ruby programmer](https://www.ruby-forum.com/t/how-to-do-it-the-rest-way-question-from-fledgeling-ruby-programmer/245372)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [May 24, 2013, 12:11am UTC](https://www.ruby-forum.com/t/how-to-do-it-the-rest-way-question-from-fledgeling-ruby-programmer/245372 "2013-05-24T00:11:54Z")

</div>

Hi! Reading “Rails For .NET Developers” i started to consider the example of building the flight system with cancellations. So, I’ve generated flights scaffold and passengers scaffold and I’d like that we could cance…

---

## [Joomla and zend](https://www.ruby-forum.com/t/joomla-and-zend/223348)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 8, 2012, 11:07am UTC](https://www.ruby-forum.com/t/joomla-and-zend/223348 "2012-10-08T11:07:51Z")

</div>

Hi, I’m trying to figure out how use a zend application within a joomla website which is not in the document root of a website. The website is located in /www/customer/some.name and the zend application is located in…

---

## [Script for Nagios](https://www.ruby-forum.com/t/script-for-nagios/219769)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 15, 2012, 11:28pm UTC](https://www.ruby-forum.com/t/script-for-nagios/219769 "2012-05-15T23:28:50Z")

</div>

Hi guys, I sant because this is my first email to the list. I’m a web developer from Argentina, and use nginx ago one year. In my job, are installing a Negios monitor, and i need a nginx script for check connections …

---

## [I need some advice for a project I am working on](https://www.ruby-forum.com/t/i-need-some-advice-for-a-project-i-am-working-on/219342)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [April 30, 2012, 9:38pm UTC](https://www.ruby-forum.com/t/i-need-some-advice-for-a-project-i-am-working-on/219342 "2012-04-30T21:38:33Z")

</div>

Hi, Attached is an overview of my project I am working on. I am having a bit of trouble starting and i wanted to get some advice as to how I should approach this (design patterns, methods, etc). I DO NOT WANT ANYONE T…

---

## [Unable to install rails using rvm](https://www.ruby-forum.com/t/unable-to-install-rails-using-rvm/215404)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 4, 2012, 11:26am UTC](https://www.ruby-forum.com/t/unable-to-install-rails-using-rvm/215404 "2012-01-04T11:26:18Z")

</div>

Hi , I m unable to install rails by using rvm(ruby version manager ). \*Error im getting : \* gem install rails ERROR: Loading command: install (LoadError) no such file to load – zlib ERROR: While executing gem … …

---

## [How to make interface explicit with Hash stores?](https://www.ruby-forum.com/t/how-to-make-interface-explicit-with-hash-stores/213398)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 2, 2011, 10:33pm UTC](https://www.ruby-forum.com/t/how-to-make-interface-explicit-with-hash-stores/213398 "2011-11-02T22:33:52Z")

</div>

I have a class that uses hash as its internal store. What’s a good way to communicate the interface of my methods. It seems like the user would only know how to use it if there’s a comment or a test case. This is the …

---

## [Distribution and integration - any debs?](https://www.ruby-forum.com/t/distribution-and-integration-any-debs/212560)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 11, 2011, 5:42pm UTC](https://www.ruby-forum.com/t/distribution-and-integration-any-debs/212560 "2011-10-11T17:42:25Z")

</div>

Hi! I’m currently trying to build a newer Debian/Ubuntu package of GNU Radio (with the 3.3 stable and 3.4git, including UHD and QT/WX GUIs). It seems the current binary distribution lacks updates (3.2 is the last vers…

---

## [Passing multiple parameters](https://www.ruby-forum.com/t/passing-multiple-parameters/210540)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 10, 2011, 9:47pm UTC](https://www.ruby-forum.com/t/passing-multiple-parameters/210540 "2011-08-10T21:47:09Z")

</div>

Hi, I have a method & i wanna pass around 25 parameters to it and i hav to make string from that, as follows… def method1(email, b\_day, b\_month, b\_year, gender, f\_name, l\_name, mdl\_name, title, country, …) params =…

---

## [Handling validation](https://www.ruby-forum.com/t/handling-validation/205879)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 19, 2011, 5:45am UTC](https://www.ruby-forum.com/t/handling-validation/205879 "2011-04-19T05:45:49Z")

</div>

Hi list, I’ve started migrating to rails 3 and right now I’m getting to grips with the different methods for handling validation error message. I’ve found this on asciiguides which seems good, the first code examples …

---

## [\[ANN\] AffirmIt! 3.1.4 announced](https://www.ruby-forum.com/t/ann-affirmit-3-1-4-announced/205239)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 2, 2011, 11:50pm UTC](https://www.ruby-forum.com/t/ann-affirmit-3-1-4-announced/205239 "2011-04-02T23:50:35Z")

</div>

Are you a developer? Testing framework got you down? Have you had: \* Difficulty concentrating, remembering details, and making decisions? \* Persistent sad, anxious, or “empty” feelings? \* Feelings of guilt, worthle…

---

## [How do i find the trigger of an 'unknown' action](https://www.ruby-forum.com/t/how-do-i-find-the-trigger-of-an-unknown-action/198264)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 1, 2010, 9:36pm UTC](https://www.ruby-forum.com/t/how-do-i-find-the-trigger-of-an-unknown-action/198264 "2010-11-01T21:36:45Z")

</div>

hi , in my logs i see that: Completed in 1480ms (View: 267, DB: 90) | 200 OK \[http://192.168.2.9/xyz/99\] SQL (1.4ms) SET NAMES ‘utf8’ SQL (0.7ms) SET SQL\_AUTO\_IS\_NULL=0 Processing xyzsController#images to gif (f…

---

## [Unable to download file from rubyforge.org](https://www.ruby-forum.com/t/unable-to-download-file-from-rubyforge-org/197696)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 27, 2010, 2:02am UTC](https://www.ruby-forum.com/t/unable-to-download-file-from-rubyforge-org/197696 "2010-10-27T02:02:44Z")

</div>

Hi all, I cannot download rubyinstaller file Actually from http://rubyforge.org/frs/download.php/72170/rubyinstaller-1.9.2-p0.exe It seems that all files in rubyforge.org cannot be downloaded. Can anyone confirm? …

---

## [Creating routes at run-time](https://www.ruby-forum.com/t/creating-routes-at-run-time/192312)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 4\
**Last updated:** [July 29, 2010, 4:07am UTC](https://www.ruby-forum.com/t/creating-routes-at-run-time/192312 "2010-07-29T04:07:55Z")

</div>

Hey guys. In Rails 2, is there a way to create a route at run-time? I want to do this because a gem that I’m writing requires a single resource route, and I’d prefer that the gem create it at run-time instead of forci…

---

## [Una semplice ricerca in rails su tabelle mirate](https://www.ruby-forum.com/t/una-semplice-ricerca-in-rails-su-tabelle-mirate/190355)

<div class="topic-metadata">

**Author:** [@punkaruby](https://www.ruby-forum.com/u/punkaruby)\
**Replies:** 4\
**Last updated:** [June 24, 2010, 2:12pm UTC](https://www.ruby-forum.com/t/una-semplice-ricerca-in-rails-su-tabelle-mirate/190355 "2010-06-24T14:12:48Z")

</div>

Ciao a tutti, evo sviluppare una semplice funzione di ricerca mirata su un pezzo della mia applicazione 1- il form in app/views/layouts/teachers.html.erb \<% form\_tag({:controller =\> “teachers”, :action =\> “search”}, …

---

## [Ruby one-file launcher that sets up environment?](https://www.ruby-forum.com/t/ruby-one-file-launcher-that-sets-up-environment/189054)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 4\
**Last updated:** [May 25, 2010, 9:57pm UTC](https://www.ruby-forum.com/t/ruby-one-file-launcher-that-sets-up-environment/189054 "2010-05-25T21:57:16Z")

</div>

Hello I am trying to run some JRuby script and I have to set the CLASSPATH for my script to work. I use a launcher locally so I can run the script as ./scripts/mylauncher script.rb but if I wanted to distribute a sa…

---

## [XML Editing Tools](https://www.ruby-forum.com/t/xml-editing-tools/186845)

<div class="topic-metadata">

**Author:** [@fmalem](https://www.ruby-forum.com/u/fmalem)\
**Replies:** 4\
**Last updated:** [April 14, 2010, 6:31am UTC](https://www.ruby-forum.com/t/xml-editing-tools/186845 "2010-04-14T06:31:14Z")

</div>

Hi. What are the tools used to create the following Gnu Radio documents: a) exploring-gnuradio.xml b) usrp\_guide.xml c) gr-trellis.xml Best Regards, Firas

---

## [Plugin not found: 'attachment\_fu'](https://www.ruby-forum.com/t/plugin-not-found-attachment-fu/182963)

<div class="topic-metadata">

**Author:** [@anilbhat21](https://www.ruby-forum.com/u/anilbhat21)\
**Replies:** 4\
**Last updated:** [February 5, 2010, 12:17pm UTC](https://www.ruby-forum.com/t/plugin-not-found-attachment-fu/182963 "2010-02-05T12:17:58Z")

</div>

Hi, I tried to install ‘attachment\_fu’ by the following command: script/plugin install http://svn.techno-weenie.net/projects/plugins/attachment\_fu/ but its giving me the error: Plugin not found: \["http://svn.techno…

---

## [Error using named routes with resource routes?](https://www.ruby-forum.com/t/error-using-named-routes-with-resource-routes/178627)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [November 9, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/error-using-named-routes-with-resource-routes/178627 "2009-11-09T15:34:12Z")

</div>

I have a simple app – essentially just restful\_authentication at this point. I have the following in my routes.rb: map.resources :attendees map.resource :sessions nice named routes map.signup ‘/signup’, :controller…

---

## [SQL query viewer plugin](https://www.ruby-forum.com/t/sql-query-viewer-plugin/177484)

<div class="topic-metadata">

**Author:** [@leo72](https://www.ruby-forum.com/u/leo72)\
**Replies:** 4\
**Last updated:** [October 20, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/sql-query-viewer-plugin/177484 "2009-10-20T22:06:37Z")

</div>

Hello guys, I’ve used a plugin, a while ago, that shows on a absolute positioned div, links to the queries that were executed on that page, identifying by colors how much time they took. It was great for profiling, a…

---

## [Newbie: Does Ruby have event driven network libraries?](https://www.ruby-forum.com/t/newbie-does-ruby-have-event-driven-network-libraries/176534)

<div class="topic-metadata">

**Author:** [@wyattbiker](https://www.ruby-forum.com/u/wyattbiker)\
**Replies:** 4\
**Last updated:** [October 1, 2009, 7:43pm UTC](https://www.ruby-forum.com/t/newbie-does-ruby-have-event-driven-network-libraries/176534 "2009-10-01T19:43:56Z")

</div>

I made a turn based game and would like to make a back end engine running on Linux or Mac. The game is turnbased 2 player (think chess like) but there can be many games going on at once. Speed would not be the problem…

---

## [How to handle absolute URL that user inputs into a table?](https://www.ruby-forum.com/t/how-to-handle-absolute-url-that-user-inputs-into-a-table/174391)

<div class="topic-metadata">

**Author:** [@AnhHung](https://www.ruby-forum.com/u/AnhHung)\
**Replies:** 4\
**Last updated:** [August 26, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/how-to-handle-absolute-url-that-user-inputs-into-a-table/174391 "2009-08-26T12:58:30Z")

</div>

Hi, I have a User table that has a Website column. In the form I would have the user type in the URL to their website. If they type the full-blown address “http://www.example.com” then “link\_to @user.website, @user.w…

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

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