# Top

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

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

---

## [UHD: get\_center\_freq?](https://www.ruby-forum.com/t/uhd-get-center-freq/202642)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 6, 2011, 8:53pm UTC](https://www.ruby-forum.com/t/uhd-get-center-freq/202642 "2011-02-06T20:53:22Z")

</div>

gr-usrp has set\_tx\_freq and tx\_freq uhd has set\_center\_freq but no get\_center\_freq or center\_freq- I’m trying to port some USRP1 python code to UHD and there doesn’t seem to be a clear analog. Have I overlooked somet…

---

## [Which Xilinx version for USRP2 FPGA code?](https://www.ruby-forum.com/t/which-xilinx-version-for-usrp2-fpga-code/198110)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 26, 2010, 6:01pm UTC](https://www.ruby-forum.com/t/which-xilinx-version-for-usrp2-fpga-code/198110 "2010-10-26T18:01:28Z")

</div>

What version of Xilinx ISE and EDK do I need to build the FPGA code and firmware for USRP2? The instructions here: http://gnuradio.org/redmine/wiki/1/USRP2UserFAQ say Xilinx 10.1.03 but the mail thread here: http://…

---

## [Chain argument expectations?](https://www.ruby-forum.com/t/chain-argument-expectations/190328)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 2\
**Last updated:** [June 18, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/chain-argument-expectations/190328 "2010-06-18T18:33:51Z")

</div>

I’m trying to test some code that can loop once or multiple times and assign some values to another object. I want to test one of the values being assigned to the object in the loop. e.g. class Foo def bar values =…

---

## [Ruby e il calcolo scientifico](https://www.ruby-forum.com/t/ruby-e-il-calcolo-scientifico/183622)

<div class="topic-metadata">

**Author:** [@maidireale](https://www.ruby-forum.com/u/maidireale)\
**Replies:** 2\
**Last updated:** [February 17, 2010, 5:14pm UTC](https://www.ruby-forum.com/t/ruby-e-il-calcolo-scientifico/183622 "2010-02-17T17:14:15Z")

</div>

Sapreste indicarmi una libreria per il calcolo scientifico (tipo numarray per Python)? Grazie

---

## [How to retrieve the \*referring\* action/controller](https://www.ruby-forum.com/t/how-to-retrieve-the-referring-action-controller/182392)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 2\
**Last updated:** [January 27, 2010, 5:43pm UTC](https://www.ruby-forum.com/t/how-to-retrieve-the-referring-action-controller/182392 "2010-01-27T17:43:22Z")

</div>

Hi there, I’m posting because I didn’t find the answer using search engines: How do I get the name of the action and/or controller that have sent the user to the current page? (I know one can access the current actio…

---

## [Code Review: eaccess](https://www.ruby-forum.com/t/code-review-eaccess/182352)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [January 26, 2010, 10:52pm UTC](https://www.ruby-forum.com/t/code-review-eaccess/182352 "2010-01-26T22:52:51Z")

</div>

tfpt review “/shelveset:eaccess;REDMOND\\sborde” Comment : Dir.mkdir should raise Errno::EACCESS instead of System.UnauthorizedException Diables ActiveRecord tests since some fail intermittently

---

## [Help on the dummy module](https://www.ruby-forum.com/t/help-on-the-dummy-module/181911)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 2\
**Last updated:** [January 20, 2010, 6:39am UTC](https://www.ruby-forum.com/t/help-on-the-dummy-module/181911 "2010-01-20T06:39:09Z")

</div>

module ShiftMeansAppend def \<\<(x) #1 end end class String include ShiftMeansAppend end class Array include ShiftMeansAppend end def append\_to\_self(x) unless x.is\_a? ShiftMeansAppend #2 raise ArgumentError, …

---

## [\`make check' hangs, when the source directory is read-only](https://www.ruby-forum.com/t/make-check-hangs-when-the-source-directory-is-read-only/177607)

<div class="topic-metadata">

**Author:** [@kot](https://www.ruby-forum.com/u/kot)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/make-check-hangs-when-the-source-directory-is-read-only/177607 "2009-10-21T17:31:21Z")

</div>

Hello! I’m building platform-specific Ruby-binaries (1.8.7-p174) for each of our several platforms based on a single source-code directory, that’s available read-only. The build is fine (except in the win32ole direct…

---

## [Set a select box with default value selected](https://www.ruby-forum.com/t/set-a-select-box-with-default-value-selected/175501)

<div class="topic-metadata">

**Author:** [@deostroll](https://www.ruby-forum.com/u/deostroll)\
**Replies:** 2\
**Last updated:** [September 21, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/set-a-select-box-with-default-value-selected/175501 "2009-09-21T22:00:35Z")

</div>

I am relating to the book & subject example mentioned in the tutorial mentioned here: There is a file that goes like show\_subjects.html.erb and it will list all the books for that particular subject we’ve selected. …

---

## [Gauge](https://www.ruby-forum.com/t/gauge/69052)

<div class="topic-metadata">

**Author:** [@cole.jeff](https://www.ruby-forum.com/u/cole.jeff)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/gauge/69052 "2009-08-28T16:42:40Z")

</div>

I would love to have some performance monitoring for my production site. Does anyone know what the status of gauge is? I’ve downloaded the subversion repository for it. Is it possible to somehow deploy it in what…

---

## [Format of captured data](https://www.ruby-forum.com/t/format-of-captured-data/168972)

<div class="topic-metadata">

**Author:** [@ujala](https://www.ruby-forum.com/u/ujala)\
**Replies:** 2\
**Last updated:** [May 29, 2009, 12:27am UTC](https://www.ruby-forum.com/t/format-of-captured-data/168972 "2009-05-29T00:27:32Z")

</div>

I am receiving 16-bit data from USRP (data is in the range of -32768 to 32767) in Windows. Now I want to apply some demodulation algorithms to these samples but I am a bit confused. According to the following thread,…

---

## [Deprecation warning](https://www.ruby-forum.com/t/deprecation-warning/168548)

<div class="topic-metadata">

**Author:** [@softwarewin](https://www.ruby-forum.com/u/softwarewin)\
**Replies:** 2\
**Last updated:** [May 23, 2009, 4:39am UTC](https://www.ruby-forum.com/t/deprecation-warning/168548 "2009-05-23T04:39:26Z")

</div>

Salve ragazzi, come da voi suggerito sto cominciando a dare un occhiata al development.log. Ho riscontrato questo DEPRECATION WARNING: Processing ViewController#scarica (for 79.51.42.228 at 2009-05-04 17:04:19) \[GET…

---

## [Controller helpers in app/helpers](https://www.ruby-forum.com/t/controller-helpers-in-app-helpers/166726)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 2\
**Last updated:** [April 29, 2009, 1:13am UTC](https://www.ruby-forum.com/t/controller-helpers-in-app-helpers/166726 "2009-04-29T01:13:31Z")

</div>

Hello list, Originally, afaik, the modules in app/helpers are, by convention, only meant to be used as view helpers. With time, however, we ended up by only calling them helpers, which can cause some confusion and m…

---

## [Parsing a nested set another way](https://www.ruby-forum.com/t/parsing-a-nested-set-another-way/166478)

<div class="topic-metadata">

**Author:** [@aneeley](https://www.ruby-forum.com/u/aneeley)\
**Replies:** 2\
**Last updated:** [April 27, 2009, 1:46am UTC](https://www.ruby-forum.com/t/parsing-a-nested-set-another-way/166478 "2009-04-27T01:46:31Z")

</div>

Hello, new user here. I am trying to render a nested set a certain way. I have code that renders it as a list. But I want to render it another way that I know is possible, but just can’t figure out how to do it. (Look…

---

## [Can you run a find on an existing hash?](https://www.ruby-forum.com/t/can-you-run-a-find-on-an-existing-hash/166249)

<div class="topic-metadata">

**Author:** [@rjsquire](https://www.ruby-forum.com/u/rjsquire)\
**Replies:** 2\
**Last updated:** [April 23, 2009, 1:26pm UTC](https://www.ruby-forum.com/t/can-you-run-a-find-on-an-existing-hash/166249 "2009-04-23T13:26:20Z")

</div>

This is probably a basic question, but I was wondering if / how it’s possible to run a find on an existing hash. For instance: I need to pull all products in the database for a simple list: @products = Products.fin…

---

## [Help: How to deal with content scrapers?](https://www.ruby-forum.com/t/help-how-to-deal-with-content-scrapers/166235)

<div class="topic-metadata">

**Author:** [@davidr](https://www.ruby-forum.com/u/davidr)\
**Replies:** 2\
**Last updated:** [April 23, 2009, 3:48am UTC](https://www.ruby-forum.com/t/help-how-to-deal-with-content-scrapers/166235 "2009-04-23T03:48:58Z")

</div>

Guys, I need some help. In the past few months, the site that I administer (it’s a large medical non-profit/charity) has been attacked by content scraping bots. Basically, these content thieves scrape our sites and t…

---

## [501 \<\>: missing or malformed local part](https://www.ruby-forum.com/t/501-missing-or-malformed-local-part/165160)

<div class="topic-metadata">

**Author:** [@semi](https://www.ruby-forum.com/u/semi)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 5:01pm UTC](https://www.ruby-forum.com/t/501-missing-or-malformed-local-part/165160 "2009-04-10T17:01:48Z")

</div>

I get this error when trying to use the actionmailer gem: Net::SMTPSyntaxError in EmailerController#sendmail 501 \<\>: missing or malformed local part Application Trace | Framework Trace | Full Trace /usr/lib/ruby/1.8/…

---

## [Rails 2.3 Sessions](https://www.ruby-forum.com/t/rails-2-3-sessions/163946)

<div class="topic-metadata">

**Author:** [@dan\_sp](https://www.ruby-forum.com/u/dan_sp)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/rails-2-3-sessions/163946 "2009-04-03T22:14:55Z")

</div>

I’ve just upgraded to Rails 2.3.2. I am using active\_record\_store as my session approach and session.model is deprecated. I was using that to update a couple extra session db columns. Does anyone knows what is the be…

---

## [Linking to an external model/view within an application](https://www.ruby-forum.com/t/linking-to-an-external-model-view-within-an-application/161669)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 2\
**Last updated:** [February 28, 2009, 9:23pm UTC](https://www.ruby-forum.com/t/linking-to-an-external-model-view-within-an-application/161669 "2009-02-28T21:23:49Z")

</div>

Hey guys, I am working on a class project and I have two scaffolded models, articles and sub\_articles. I have the relationships set to articles having many sub\_articles and sub\_articles belonging to articles, which i…

---

## [Ruby-1.9.1 installation on RHEL-4](https://www.ruby-forum.com/t/ruby-1-9-1-installation-on-rhel-4/160966)

<div class="topic-metadata">

**Author:** [@cmsvicky](https://www.ruby-forum.com/u/cmsvicky)\
**Replies:** 2\
**Last updated:** [February 21, 2009, 8:10pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-installation-on-rhel-4/160966 "2009-02-21T20:10:54Z")

</div>

Hi, I am trying to install ruby-1.9.1 on my RHEL-4 system. make install as su gives me this error: . . . . Generating RI… /home/vivek/churp/ruby-1.9.1-p0/lib/yaml.rb:9:in require': no such file to load -- stringi…

---

## [Nginx SSL proxy](https://www.ruby-forum.com/t/nginx-ssl-proxy/160213)

<div class="topic-metadata">

**Author:** [@Pavel\_Ivashkov](https://www.ruby-forum.com/u/Pavel_Ivashkov)\
**Replies:** 2\
**Last updated:** [February 13, 2009, 8:34am UTC](https://www.ruby-forum.com/t/nginx-ssl-proxy/160213 "2009-02-13T08:34:28Z")

</div>

Hello all, I have nginx to reverse proxy SSL site to end users. (And yes, I need SSL on the back-end as well as on the front-end.) The problem is - it is too slow (~200ms overhead per each request). I found this comm…

---

## [Concatenate 2 form fields together](https://www.ruby-forum.com/t/concatenate-2-form-fields-together/158985)

<div class="topic-metadata">

**Author:** [@Sean\_McGilvray](https://www.ruby-forum.com/u/Sean_McGilvray)\
**Replies:** 2\
**Last updated:** [January 30, 2009, 6:00pm UTC](https://www.ruby-forum.com/t/concatenate-2-form-fields-together/158985 "2009-01-30T18:00:57Z")

</div>

I am a newbie at RoR so thank you for your patients. I have a form with the following fields: first\_name last\_name I want to take them and make them into one variable “name” and submit that to my table field named “…

---

## [Is there an activerecord method like "FIND EXISTING OR CREATE NEW IF NONE FOUND"?](https://www.ruby-forum.com/t/is-there-an-activerecord-method-like-find-existing-or-create-new-if-none-found/156172)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [December 22, 2008, 5:20am UTC](https://www.ruby-forum.com/t/is-there-an-activerecord-method-like-find-existing-or-create-new-if-none-found/156172 "2008-12-22T05:20:52Z")

</div>

Just wondering if rails has a method to look for an existing record and return it, but if it’s not existing then create a new record. (i.e. “FIND EXISTING OR CREATE NEW IF NONE FOUND”?) Then when finished updating …

---

## [Ruby fun with MegaMillions](https://www.ruby-forum.com/t/ruby-fun-with-megamillions/154813)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 2\
**Last updated:** [December 4, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/ruby-fun-with-megamillions/154813 "2008-12-04T14:31:06Z")

</div>

I thought I would write a lottery number generator since I have not had any luck winning the big jackpot - http://megamillions.com/. So far, after over 1.2 million tries, I still have not hit all the numbers from yes…

---

## [Tempo di generazione template](https://www.ruby-forum.com/t/tempo-di-generazione-template/154158)

<div class="topic-metadata">

**Author:** [@itmozart](https://www.ruby-forum.com/u/itmozart)\
**Replies:** 2\
**Last updated:** [November 26, 2008, 11:22am UTC](https://www.ruby-forum.com/t/tempo-di-generazione-template/154158 "2008-11-26T11:22:46Z")

</div>

Ciao a tutti, mi chiedevo se su rails ci fosse un helper che desse in ucita il tempo di generazione del template dalla rihiesta alla risposta http. Esiste nulla del genere o me lo devo scrivere visto che sono curioso…

---

## [JRuby 1.1.5 FFI attach\_method arg order](https://www.ruby-forum.com/t/jruby-1-1-5-ffi-attach-method-arg-order/153469)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 2\
**Last updated:** [November 19, 2008, 1:17am UTC](https://www.ruby-forum.com/t/jruby-1-1-5-ffi-attach-method-arg-order/153469 "2008-11-19T01:17:24Z")

</div>

Just starting to play with FFI on my Win32 box…after reading a few of the blog posts mentioned in Charlie’s http://blog.headius.com/2008/10/ffi-for-ruby-now-available.html post I’m seeing that the arg order to attach\_…

---

## [Uso dei layout](https://www.ruby-forum.com/t/uso-dei-layout/153128)

<div class="topic-metadata">

**Author:** [@kerouak](https://www.ruby-forum.com/u/kerouak)\
**Replies:** 2\
**Last updated:** [November 12, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/uso-dei-layout/153128 "2008-11-12T14:52:18Z")

</div>

Mi sapreste dire come fare un layout generale per tutta l’applicazione ?? E soprattutto come gestirlo insieme ai layout specifici dei singoli controller…

---

## [Session destroy link won't work](https://www.ruby-forum.com/t/session-destroy-link-wont-work/150218)

<div class="topic-metadata">

**Author:** [@JHuizingh](https://www.ruby-forum.com/u/JHuizingh)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/session-destroy-link-wont-work/150218 "2008-10-06T19:10:20Z")

</div>

I am trying to destroy a session created by Restful authentication plugin, but everything I’ve tried doesn’t work. I’ve been googling for a while but haven’t found anything that will fix this. These are the relevant …

---

## [\[Ruby 1.9 - Bug #163\] (Open) Thread.priority= is effectively a no-op](https://www.ruby-forum.com/t/ruby-1-9-bug-163-open-thread-priority-is-effectively-a-no-op/140550)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 2\
**Last updated:** [August 21, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-163-open-thread-priority-is-effectively-a-no-op/140550 "2008-08-21T14:50:14Z")

</div>

e$B%A%1%C%He(B #163 e$B$,Js9p$5$l$^$7$?!#e(B (by Dave T.) Bug #163: Thread.priority= is effectively a no-op http://redmine.ruby-lang.org/issues/show/163 e$B5/I\<\<Te(B: Dave T. e$B%9%F!\<%?%9e(B: Open e$BM%@hEYe(B: No…

---

## [Multiple substitution rules per location supported?](https://www.ruby-forum.com/t/multiple-substitution-rules-per-location-supported/146354)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 2\
**Last updated:** [August 20, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/multiple-substitution-rules-per-location-supported/146354 "2008-08-20T18:05:34Z")

</div>

Hi, I want to use the ngx\_http\_sub\_module to substitute the ugly urls in the response. But according to the module reference, only one substitution rule per location is supported. I want to know if there is any pl…

---

## [Rack, Camping and missing require](https://www.ruby-forum.com/t/rack-camping-and-missing-require/143726)

<div class="topic-metadata">

**Author:** [@robber](https://www.ruby-forum.com/u/robber)\
**Replies:** 2\
**Last updated:** [July 22, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/rack-camping-and-missing-require/143726 "2008-07-22T20:46:47Z")

</div>

Hey list, I’m trying to get jruby-rack and camping running together. My test application lives in lib/demo.rb (named Demo). Setting the rackup script to “run Rack::Adapter::Camping.new(Demo)” raises an exception that…

---

## [Ferret on windowsâ€¦](https://www.ruby-forum.com/t/ferret-on-windowsa/143498)

<div class="topic-metadata">

**Author:** [@bbnnt](https://www.ruby-forum.com/u/bbnnt)\
**Replies:** 2\
**Last updated:** [July 20, 2008, 11:49am UTC](https://www.ruby-forum.com/t/ferret-on-windowsa/143498 "2008-07-20T11:49:35Z")

</div>

Tjrs pas mal de pb avec cette gemâ€¦ Le nmake ne prend pas, et impossible Ã installer (avais vu que en installant visual c++ cette commande devenait dispo, mais sans succÃ¨s non plus). J’imagine que c’est possible, …

---

## [Pasar un valor de Javascript a Ruby](https://www.ruby-forum.com/t/pasar-un-valor-de-javascript-a-ruby/143048)

<div class="topic-metadata">

**Author:** [@lexor](https://www.ruby-forum.com/u/lexor)\
**Replies:** 2\
**Last updated:** [July 16, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/pasar-un-valor-de-javascript-a-ruby/143048 "2008-07-16T17:32:41Z")

</div>

Hola Tengo una tabla en la cual tengo la funcion onClick para cambiar el color de la fila cuando se haga click (evidente no??). El hecho es que quiero guardar el valor de la linea para luego en Ruby detectar cual es …

---

## [Nginx 0.7.6 sends original POST body in proxied GET subrequests from SSI](https://www.ruby-forum.com/t/nginx-0-7-6-sends-original-post-body-in-proxied-get-subrequests-from-ssi/142499)

<div class="topic-metadata">

**Author:** [@piespy](https://www.ruby-forum.com/u/piespy)\
**Replies:** 2\
**Last updated:** [July 8, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/nginx-0-7-6-sends-original-post-body-in-proxied-get-subrequests-from-ssi/142499 "2008-07-08T19:14:39Z")

</div>

Apologies if you get this twice, apparently the first time I sent it my confirmation hadn’t been processed yet. I have a PHP script (proxied via Apache) that accepts file uploads. These are then processed by an exter…

---

## [Non standard installed gem question](https://www.ruby-forum.com/t/non-standard-installed-gem-question/138947)

<div class="topic-metadata">

**Author:** [@mdiam](https://www.ruby-forum.com/u/mdiam)\
**Replies:** 2\
**Last updated:** [May 29, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/non-standard-installed-gem-question/138947 "2008-05-29T17:09:30Z")

</div>

Bonjour à tous, I’m trying to install and use one particular gem in a non-standard location. I’d like to keep using both standard or non-standard installed gems. I’v been able to install the “rgl” (Ruby Graph Library…

---

## [Help with Writing Meaningful Specs](https://www.ruby-forum.com/t/help-with-writing-meaningful-specs/138753)

<div class="topic-metadata">

**Author:** [@andypearson](https://www.ruby-forum.com/u/andypearson)\
**Replies:** 2\
**Last updated:** [May 27, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/help-with-writing-meaningful-specs/138753 "2008-05-27T14:27:27Z")

</div>

Hello all, In yet another attempt to learn Ruby on Rails and Rspec I have started writing a simple life streaming app with will aggregate feeds from several places and save them in a database for later use. An inter…

---

## [Question on OpenURI](https://www.ruby-forum.com/t/question-on-openuri/138717)

<div class="topic-metadata">

**Author:** [@Srijayanth\_S](https://www.ruby-forum.com/u/Srijayanth_S)\
**Replies:** 2\
**Last updated:** [May 27, 2008, 6:52am UTC](https://www.ruby-forum.com/t/question-on-openuri/138717 "2008-05-27T06:52:27Z")

</div>

Hello, For the following piece of code: #! /usr/bin/ruby require ‘open-uri’ require ‘rexml/document’ require ‘rexml/xpath’ doc1 = open(“Cricinfo Live Scores”) puts doc1.class doc2 = open(“http://ws.audioscrobble…

---

## [How to implement multiple select box?](https://www.ruby-forum.com/t/how-to-implement-multiple-select-box/137220)

<div class="topic-metadata">

**Author:** [@suneeta](https://www.ruby-forum.com/u/suneeta)\
**Replies:** 2\
**Last updated:** [May 10, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/how-to-implement-multiple-select-box/137220 "2008-05-10T16:44:50Z")

</div>

Hi all… I have to use a select box with multiple selection capability. Also i have to retrieve the selected items from the controller. I used select\_tag. But while retrieving the value i don’t get anything in the con…

---

## [SVN r96 is out](https://www.ruby-forum.com/t/svn-r96-is-out/135909)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 2\
**Last updated:** [April 28, 2008, 2:30am UTC](https://www.ruby-forum.com/t/svn-r96-is-out/135909 "2008-04-28T02:30:52Z")

</div>

This revision integrates a number of smaller community contributions from Eric N., Wayne K., Jayme Edwards, and Seo S… Patches 19708, 19745, 19746, 19748, 19749 from Wayne K. Patch 19754 from Nobody (trivial fix for r…

---

## [New personalizzate, come fare?](https://www.ruby-forum.com/t/new-personalizzate-come-fare/134091)

<div class="topic-metadata">

**Author:** [@matte\_S](https://www.ruby-forum.com/u/matte_S)\
**Replies:** 2\
**Last updated:** [April 9, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/new-personalizzate-come-fare/134091 "2008-04-09T16:27:47Z")

</div>

Salve a tutti, penso di perdere tempo su un problema molto banale: ho una vista che crea un form per un oggetto A e un oggetto B a lui collegato. Nel controller dell’oggetto A ho scritto le seguenti righe di codice: @…

---

## [Handling default values in models](https://www.ruby-forum.com/t/handling-default-values-in-models/131286)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [March 7, 2008, 7:02pm UTC](https://www.ruby-forum.com/t/handling-default-values-in-models/131286 "2008-03-07T19:02:01Z")

</div>

I have been searching for articles and code relating to setting default values inside the model and I have found several different approaches to this issue. I am therefore inquiring if the community has formed any con…

---

## [Stuck on testing validation](https://www.ruby-forum.com/t/stuck-on-testing-validation/130863)

<div class="topic-metadata">

**Author:** [@ol1barn3s](https://www.ruby-forum.com/u/ol1barn3s)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/stuck-on-testing-validation/130863 "2008-03-06T21:57:31Z")

</div>

Hello, I must be doing something dumb, but here it goes… why does this work? before(:each) do @work = Work.new end #for testing validates\_presence\_of :title it “should require a title” do @work.title = nil @work…

---

## [Belongs\_to falla](https://www.ruby-forum.com/t/belongs-to-falla/123355)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 10:14am UTC](https://www.ruby-forum.com/t/belongs-to-falla/123355 "2007-12-17T10:14:39Z")

</div>

He definido la relaciÃ³n entre usuario y provincia, de forma estÃ¡ndar: Usuario.rb -\> belongs\_to :provincia, :foreign\_key =\> ‘provincia\_id’ Provincia.rb -\> has\_many :usuarios Pero luego, funciona como si no se hubiera…

---

## [Ruby gems on ubuntu](https://www.ruby-forum.com/t/ruby-gems-on-ubuntu/118348)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 26, 2007, 1:35am UTC](https://www.ruby-forum.com/t/ruby-gems-on-ubuntu/118348 "2007-10-26T01:35:59Z")

</div>

I can’t get ruby gems to install. Every time I run setup.rb (with sudo) I get this message Desktop/rubygems-0.9.4/setup.rb:134:in initialize': Is a directory - .config (Errno::EISDIR) from Desktop/rubygems-0.9…

---

## [Before save infinite loop](https://www.ruby-forum.com/t/before-save-infinite-loop/116356)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/before-save-infinite-loop/116356 "2007-10-04T19:30:19Z")

</div>

Hi all Heres what I am trying to do, I have a table that has a process and it has process\_details process has\_many process\_details, foreign\_key =\> :process\_id process\_detail belongs\_to process each process has a n…

---

## [RDT, Eclipse configuration problem](https://www.ruby-forum.com/t/rdt-eclipse-configuration-problem/115719)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/rdt-eclipse-configuration-problem/115719 "2007-09-27T22:58:30Z")

</div>

I am new to (j)ruby. I initially setup ruby and rdt in my eclipse environment. I have since switched to jruby, since I work in a java environment. I am confused about how to configure rdt to work with a jruby vm. …

---

## [Question d'architecture](https://www.ruby-forum.com/t/question-darchitecture/114098)

<div class="topic-metadata">

**Author:** [@jub](https://www.ruby-forum.com/u/jub)\
**Replies:** 2\
**Last updated:** [September 10, 2007, 10:53pm UTC](https://www.ruby-forum.com/t/question-darchitecture/114098 "2007-09-10T22:53:43Z")

</div>

Bonjour, aprÃ¨s avoir potassÃ© quelques guides Ruby et RoR, il est temps de me lancer dans un peu de code. J’aimerai construire un site que l’on pourrait comparer Ã Facebook en terme de fonctionnalitÃ©s. C’est Ã di…

---

## [:order based on an aggregate value?](https://www.ruby-forum.com/t/order-based-on-an-aggregate-value/113329)

<div class="topic-metadata">

**Author:** [@jacob](https://www.ruby-forum.com/u/jacob)\
**Replies:** 2\
**Last updated:** [September 2, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/order-based-on-an-aggregate-value/113329 "2007-09-02T15:55:09Z")

</div>

Hi all, I’m building an app where each :referral has\_many :sales. In a list of all referrals, I’m displaying referral.date, referral.other\_details, and also referral.sales.count. I want to able to sort this list by t…

---

## [Preventing "collapse" of HTML tags during XML parse](https://www.ruby-forum.com/t/preventing-collapse-of-html-tags-during-xml-parse/113420)

<div class="topic-metadata">

**Author:** [@rhalff](https://www.ruby-forum.com/u/rhalff)\
**Replies:** 2\
**Last updated:** [August 31, 2007, 3:48pm UTC](https://www.ruby-forum.com/t/preventing-collapse-of-html-tags-during-xml-parse/113420 "2007-08-31T15:48:48Z")

</div>

I’m trying to avoid having turn into But this is exactly what happens to me in both XmlSimple and REXML: irb(main):028:0\> print XmlSimple.xml\_out(XmlSimple.xml\_in("\<textarea id=“foo”\>\</tex tarea\>")) The pr…

---

## [Get a list of updated fields in Model.update?](https://www.ruby-forum.com/t/get-a-list-of-updated-fields-in-model-update/112298)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 2\
**Last updated:** [August 17, 2007, 2:19pm UTC](https://www.ruby-forum.com/t/get-a-list-of-updated-fields-in-model-update/112298 "2007-08-17T14:19:44Z")

</div>

Is there a spiffy Rails way to easily get a list of fields updated in an update call? I figure it’s possible to go into the model and keep track of what fields are changed in each field=() method (before the save happ…

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

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