# Top

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

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

---

## [Comment faire un redirect\_to close the window?](https://www.ruby-forum.com/t/comment-faire-un-redirect-to-close-the-window/72142)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 7\
**Last updated:** [October 15, 2006, 2:17am UTC](https://www.ruby-forum.com/t/comment-faire-un-redirect-to-close-the-window/72142 "2006-10-15T02:17:15Z")

</div>

Salut Ã tous, J’ai un formulaire et aprÃ¨s l’exÃ©cution je voudrais que la fenÃªtre courante se ferme. genre: if @machin.save fermer\_la\_fenÃªtre\_courante end Comment pourrais-je faire celÃ ? merci d’avance Pat …

---

## [Acts as drop down](https://www.ruby-forum.com/t/acts-as-drop-down/94318)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 7\
**Last updated:** [June 12, 2006, 12:04pm UTC](https://www.ruby-forum.com/t/acts-as-drop-down/94318 "2006-06-12T12:04:48Z")

</div>

Hi Im using the acts as drop down plugin and have this code below acts\_as\_dropdown :text =\> “forename”, :order =\> “forename” It currently makes use of the forename in the option tag, how can I get it to use the surn…

---

## [AJAX effects](https://www.ruby-forum.com/t/ajax-effects/94661)

<div class="topic-metadata">

**Author:** [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Replies:** 7\
**Last updated:** [May 10, 2006, 8:33pm UTC](https://www.ruby-forum.com/t/ajax-effects/94661 "2006-05-10T20:33:24Z")

</div>

I was at http://rails.techno-weenie.net/ and I like what ajax does when you click on “login” how can I do this on my own website? Is this with the defualt JS libary?

---

## [\[ANN\] form\_remote\_upload plugin](https://www.ruby-forum.com/t/ann-form-remote-upload-plugin/66030)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 7\
**Last updated:** [March 23, 2006, 7:42pm UTC](https://www.ruby-forum.com/t/ann-form-remote-upload-plugin/66030 "2006-03-23T19:42:30Z")

</div>

form\_remote\_tag does not support the input type=file. This is due to javascript security limitations. I created a plugin that modifies form\_remote\_tag so that if you pass it the option: :html =\> {:multipart =\> true}…

---

## [Can opengl work with an object method?](https://www.ruby-forum.com/t/can-opengl-work-with-an-object-method/71123)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 7\
**Last updated:** [February 21, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/can-opengl-work-with-an-object-method/71123 "2006-02-21T18:14:31Z")

</div>

I started with robot.rb in the sample folder of opengl-0.32g It comes with a display proc: display = Proc.new {} which is called by a glut function GLUT.DisplayFunc(display); When I place the exact same code in a me…

---

## [Transfering url arguments to different location](https://www.ruby-forum.com/t/transfering-url-arguments-to-different-location/240207)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 2, 2014, 7:51pm UTC](https://www.ruby-forum.com/t/transfering-url-arguments-to-different-location/240207 "2014-04-02T19:51:52Z")

</div>

Hello I have a setup on nginx to count downloads. location / {. post\_action /afterdownload; Here I have a value in $arg\_key location /afterdownload { I need $arg\_key here Any way to send it to /afterdown…

---

## [How would I xetract all numbers and floats from a string?](https://www.ruby-forum.com/t/how-would-i-xetract-all-numbers-and-floats-from-a-string/239742)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [March 13, 2014, 6:30am UTC](https://www.ruby-forum.com/t/how-would-i-xetract-all-numbers-and-floats-from-a-string/239742 "2014-03-13T06:30:00Z")

</div>

I have a user inputted string, which I would like to extract all numbers and floats from. I then need to coerce those numbers (or floats) into floats, and reinsert them into the string again. I should be able to trans…

---

## [Menu selections too fast for Heroku?](https://www.ruby-forum.com/t/menu-selections-too-fast-for-heroku/238085)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 19, 2013, 2:55pm UTC](https://www.ruby-forum.com/t/menu-selections-too-fast-for-heroku/238085 "2013-12-19T14:55:31Z")

</div>

Hello, I have a weird problem that seems way over my skill level so could use even some simple suggestions to point me in the right direction. I have a set of 6 chained dropdown menus that work fine on my computer, b…

---

## [Max file size which can be transferred](https://www.ruby-forum.com/t/max-file-size-which-can-be-transferred/245918)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 1, 2013, 12:12pm UTC](https://www.ruby-forum.com/t/max-file-size-which-can-be-transferred/245918 "2013-08-01T12:12:08Z")

</div>

Hi, I wanted to know whats the maximum file size which i can transfer using a simple CURL PUT/GET command. I ask this because when i try to send a file which is \>64KB, i get a HTTP/1.1 100 Continue message: File i …

---

## [Fix sched\_setaffinity(2) call failure](https://www.ruby-forum.com/t/fix-sched-setaffinity-2-call-failure/215678)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 16, 2012, 2:22pm UTC](https://www.ruby-forum.com/t/fix-sched-setaffinity-2-call-failure/215678 "2012-01-16T14:22:27Z")

</div>

Hi, ‘cpu\_set\_t’ should be used instead of ‘long’ when calling sched\_setaffinity(2). Otherwise it may fail on some Linux systems. Please see the attachment for more detail. Regards,

---

## [Ruby 1.9 Time parse question](https://www.ruby-forum.com/t/ruby-1-9-time-parse-question/207977)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 7, 2011, 5:00pm UTC](https://www.ruby-forum.com/t/ruby-1-9-time-parse-question/207977 "2011-06-07T17:00:10Z")

</div>

Hi there! I have a ruby program that works as expected with 1.8.6 and 1.8.7. I just discovered some failures with some functions when i ran it in 1.9.2. The line that is breaking is: data\_array.sort! { |a,b| Time.p…

---

## [Assert\_name doesn't exist as a function?](https://www.ruby-forum.com/t/assert-name-doesnt-exist-as-a-function/205986)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 20, 2011, 10:36pm UTC](https://www.ruby-forum.com/t/assert-name-doesnt-exist-as-a-function/205986 "2011-04-20T22:36:30Z")

</div>

The script (test.rb): == START == require ‘rubygems’ require ‘firewatir’ include Test::Unit include Test::Unit::Assertions include Test::Unit::TestCase assert\_same “hello”, “hello” == END == doesn’t seem to work…

---

## [Mail per confermare registrazione a sitoweb con ActionMailer](https://www.ruby-forum.com/t/mail-per-confermare-registrazione-a-sitoweb-con-actionmailer/195015)

<div class="topic-metadata">

**Author:** [@chenshin](https://www.ruby-forum.com/u/chenshin)\
**Replies:** 4\
**Last updated:** [September 15, 2010, 8:44pm UTC](https://www.ruby-forum.com/t/mail-per-confermare-registrazione-a-sitoweb-con-actionmailer/195015 "2010-09-15T20:44:38Z")

</div>

Ciao raga, sono circa 2 giorni che non riesco a far inviare tramite ActionMailer l’email di conferma di registrazione al mio sito: Vi spiego , un utente si registra e mette i dati e anche la sua mail , per mandare la…

---

## [C extension and Ruby threads](https://www.ruby-forum.com/t/c-extension-and-ruby-threads/172698)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [July 26, 2009, 2:01pm UTC](https://www.ruby-forum.com/t/c-extension-and-ruby-threads/172698 "2009-07-26T14:01:02Z")

</div>

Hi all, I’ve found something a bit weird while trying to make a C extension wrapping a custom network library : My extension creates a BaseClient class with a method ‘receive’ (it basically wait a response from a se…

---

## [Ruby oriented JavaCC-like parser generator?](https://www.ruby-forum.com/t/ruby-oriented-javacc-like-parser-generator/172409)

<div class="topic-metadata">

**Author:** [@Eric\_Tucker](https://www.ruby-forum.com/u/Eric_Tucker)\
**Replies:** 4\
**Last updated:** [July 21, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/ruby-oriented-javacc-like-parser-generator/172409 "2009-07-21T19:57:48Z")

</div>

I’m looking for a really solid parser generator where I can write my own grammar like in JavaCC or Lex/Yacc to parse files in a custom built language. The more portable and more efficient the better (two mutually excl…

---

## [Traduccion de campos de Modelos i18n en Rails2.2](https://www.ruby-forum.com/t/traduccion-de-campos-de-modelos-i18n-en-rails2-2/156112)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 4\
**Last updated:** [December 22, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/traduccion-de-campos-de-modelos-i18n-en-rails2-2/156112 "2008-12-22T17:23:54Z")

</div>

Hola a Todos, Tengo una aplicacion en Rails 2.1.1, y quiero migrarla a 2.2, el punto es que estoy utilizando un plugin de internacionalizacion muy similar al nuevo esquema de i18n de Rails .2.2, este http://simple…

---

## [Problems when programmatically defining examples](https://www.ruby-forum.com/t/problems-when-programmatically-defining-examples/151235)

<div class="topic-metadata">

**Author:** [@mark42](https://www.ruby-forum.com/u/mark42)\
**Replies:** 4\
**Last updated:** [October 19, 2008, 3:24am UTC](https://www.ruby-forum.com/t/problems-when-programmatically-defining-examples/151235 "2008-10-19T03:24:41Z")

</div>

Hi, I am trying to code an application that is based on Rspec; I am programmatically building examples, and launching the runner with a custom formatter. Here are the code snippets from my app: Launching the runner: …

---

## [ParÃ¡metros opcionales en un helper](https://www.ruby-forum.com/t/para-metros-opcionales-en-un-helper/149323)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 4\
**Last updated:** [September 23, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/para-metros-opcionales-en-un-helper/149323 "2008-09-23T19:27:32Z")

</div>

Tengo una funciÃ³n en el helper para generar los campos… y para tratar los parÃ¡metros que son opcionales, me monto una condiciÃ³n: campo = opciones\[:long\_max\] ? form.text\_field( nombre, :maxlength =\> opciones\[:long\_m…

---

## [Lightbox2 javascript file behavior different on web server and localhost?](https://www.ruby-forum.com/t/lightbox2-javascript-file-behavior-different-on-web-server-and-localhost/147427)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 4\
**Last updated:** [September 2, 2008, 12:15pm UTC](https://www.ruby-forum.com/t/lightbox2-javascript-file-behavior-different-on-web-server-and-localhost/147427 "2008-09-02T12:15:55Z")

</div>

I am running locally and using Lightbox2 ( Lightbox2) to open a picture from a thumbnail see site : http://www.ceramique-isabelle.fr (see ceramiques, click thumbnail, then click the left picture) in my layout I…

---

## [Unique column values](https://www.ruby-forum.com/t/unique-column-values/141852)

<div class="topic-metadata">

**Author:** [@vineire77](https://www.ruby-forum.com/u/vineire77)\
**Replies:** 4\
**Last updated:** [July 1, 2008, 6:49am UTC](https://www.ruby-forum.com/t/unique-column-values/141852 "2008-07-01T06:49:01Z")

</div>

I cannot find this answer anywhere. Apologies in advance… I need to get the unique values from a particular column and this code seems to work fine: Street.find(:all, :group =\> :pre\_type) :pre\_type being the ONLY col…

---

## [Rbx.exe hits 3GB memory usage during "rake test"](https://www.ruby-forum.com/t/rbx-exe-hits-3gb-memory-usage-during-rake-test/135948)

<div class="topic-metadata">

**Author:** [@Paul\_Batum](https://www.ruby-forum.com/u/Paul_Batum)\
**Replies:** 4\
**Last updated:** [April 27, 2008, 3:08am UTC](https://www.ruby-forum.com/t/rbx-exe-hits-3gb-memory-usage-during-rake-test/135948 "2008-04-27T03:08:34Z")

</div>

Hi there, Today I decided to take a look at IronRuby. I pulled the source down as demonstrated in the video, followed the build instructions on the wiki, and then ran the unit tests using the command ‘rake test’. Aft…

---

## [ActiveRecord Unique key association](https://www.ruby-forum.com/t/activerecord-unique-key-association/87272)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/activerecord-unique-key-association/87272 "2007-03-01T14:31:28Z")

</div>

Hi, I am in the process of incorporating a legacy database into my first ruby/rails project. All is going well so far (he says crossing all toes/fingers!). I have a User tbl which has a unique key association on two …

---

## [File.join : can't convert Fixnum into String?](https://www.ruby-forum.com/t/file-join-cant-convert-fixnum-into-string/101862)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 4\
**Last updated:** [August 8, 2006, 3:02pm UTC](https://www.ruby-forum.com/t/file-join-cant-convert-fixnum-into-string/101862 "2006-08-08T15:02:46Z")

</div>

Where’s the Fixnum? class X \< Array def to\_s join(’.’) end def inspect ; to\_s ; end end x=X.new x \<\< 1 x \<\< 2 x \<\< 3 x #=\> 1.2.3 x.class #=\> X File.join( x, ‘index.rb’ ) TypeError: can’t convert…

---

## [Convert String to BinaryString](https://www.ruby-forum.com/t/convert-string-to-binarystring/64067)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [June 23, 2006, 11:30am UTC](https://www.ruby-forum.com/t/convert-string-to-binarystring/64067 "2006-06-23T11:30:44Z")

</div>

Hi guys, Once I already asked how to create a hex string in â??little-endianâ? order in Ruby. In this case the most appropriate way is to use function sprintf() or “%”. But those function return aString but I need a…

---

## [=?iso-8859-1?q?Ruby\_Social\_Club\_-\_Cambiamento\_Locale\_p?= =?i](https://www.ruby-forum.com/t/iso-8859-1-q-ruby-social-club-cambiamento-locale-p-i/95722)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 4\
**Last updated:** [June 13, 2006, 9:33am UTC](https://www.ruby-forum.com/t/iso-8859-1-q-ruby-social-club-cambiamento-locale-p-i/95722 "2006-06-13T09:33:37Z")

</div>

Temo ci sia stato un piccolo cambiamento di programma per martedì. Il punto d’incontro non sarà l’Impiccione Viaggiatore ma Agave Café-Libreria (http://agave-lounge.blogspot.com) , comunque in zona (via san martino a…

---

## [Another NoMethodError - trackbacks this time](https://www.ruby-forum.com/t/another-nomethoderror-trackbacks-this-time/56812)

<div class="topic-metadata">

**Author:** [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Replies:** 4\
**Last updated:** [April 4, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/another-nomethoderror-trackbacks-this-time/56812 "2006-04-04T18:15:59Z")

</div>

Here’s another strange NoMethodError from my production log. Strangely this seems to be catching because of trackbacks. I never have trackbacks enabled because in my opinion they’re only of use to spammers. Doesn’t …

---

## [Rote 0.3.2 released](https://www.ruby-forum.com/t/rote-0-3-2-released/51693)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 4\
**Last updated:** [January 6, 2006, 9:49am UTC](https://www.ruby-forum.com/t/rote-0-3-2-released/51693 "2006-01-06T09:49:40Z")

</div>

Rote 0.3.2 is now available for download from http://rote.rubyforge.org (Direct link: http://rubyforge.org/frs/download.php/7975/rote-0.3.2.gem). Rote is a lightweight, powerful documentation and templating system tha…

---

## [Hey can someone please help me out with this ruby program](https://www.ruby-forum.com/t/hey-can-someone-please-help-me-out-with-this-ruby-program/261327)

<div class="topic-metadata">

**Author:** [@marcopolo\_lop](https://www.ruby-forum.com/u/marcopolo_lop)\
**Replies:** 0\
**Last updated:** [May 12, 2021, 5:29pm UTC](https://www.ruby-forum.com/t/hey-can-someone-please-help-me-out-with-this-ruby-program/261327 "2021-05-12T17:29:31Z")

</div>

https://www.chegg.com/homework-help/questions-and-answers/task-provided-ruby-source-code-version-food-hunter-program-required-extend-program-impleme-q50219394

---

## [Is posting a link to a Github repo a violation of](https://www.ruby-forum.com/t/is-posting-a-link-to-a-github-repo-a-violation-of/259590)

<div class="topic-metadata">

**Author:** [@PaulGureghian](https://www.ruby-forum.com/u/PaulGureghian)\
**Replies:** 0\
**Last updated:** [May 16, 2020, 6:12pm UTC](https://www.ruby-forum.com/t/is-posting-a-link-to-a-github-repo-a-violation-of/259590 "2020-05-16T18:12:59Z")

</div>

Is posting a link to a Github repo a violation of community guidelines ? I read them and saw nothing about it one way or the other. and if it is a violation, why ?

---

## [Proxy Pass Redirect Problem](https://www.ruby-forum.com/t/proxy-pass-redirect-problem/238043)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 15, 2013, 2:02am UTC](https://www.ruby-forum.com/t/proxy-pass-redirect-problem/238043 "2013-12-15T02:02:23Z")

</div>

Not sure if this is my configuration causing this symptom or openresty. Here is whats happening. If I try to access the store “admin” via: http://mysite.com/admin I am getting proxy redirects sent to my browser and s…

---

## [Sharing knowledge](https://www.ruby-forum.com/t/sharing-knowledge/220213)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 2, 2012, 12:04am UTC](https://www.ruby-forum.com/t/sharing-knowledge/220213 "2012-06-02T00:04:55Z")

</div>

Hello fellows, I’ve open this thread to make fire to warm us, the users of FXRuby. I’m developing with this framework so, if you want to ask me something… meaby we can help each other. I’ve seen that this framworks is…

---

## [Select box pre-selecting an option](https://www.ruby-forum.com/t/select-box-pre-selecting-an-option/219656)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 10, 2012, 1:35pm UTC](https://www.ruby-forum.com/t/select-box-pre-selecting-an-option/219656 "2012-05-10T13:35:44Z")

</div>

Can anyone please tell me what’s going on here, I’ve copied something pretty much directly from rails guides, but it’s just not doing what it’s supposed to! (Or I’m doing something stupid!) rails - 3.2.2 ruby 1.9.3 …

---

## [Client abort detection w/ upstream broken on anything but kqueue ()?](https://www.ruby-forum.com/t/client-abort-detection-w-upstream-broken-on-anything-but-kqueue/198520)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 3, 2010, 7:35pm UTC](https://www.ruby-forum.com/t/client-abort-detection-w-upstream-broken-on-anything-but-kqueue/198520 "2010-11-03T19:35:39Z")

</div>

Hello, I’m investigating why client aborts are successfully detected by nginx when using kqueue () on BSD systems and not when using poll () on BSD & Linux or epoll () on Linux systems. I’ve done debug sessions and I…

---

## [Malloc() errors - (some type of redirect loop?)](https://www.ruby-forum.com/t/malloc-errors-some-type-of-redirect-loop/194866)

<div class="topic-metadata">

**Author:** [@gnexus](https://www.ruby-forum.com/u/gnexus)\
**Replies:** 3\
**Last updated:** [September 13, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/malloc-errors-some-type-of-redirect-loop/194866 "2010-09-13T15:01:22Z")

</div>

Hi everyone, I am new to the mailing list and have only been using Nginx a few months, so please bear with me. We are currently getting MANY errors such as this: 2010/09/07 17:58:18 \[emerg\] 8851#0: \*4086 malloc() 429…

---

## [Report compiling errors on Ubuntu 10.04](https://www.ruby-forum.com/t/report-compiling-errors-on-ubuntu-10-04/188794)

<div class="topic-metadata">

**Author:** [@Andrew\_Ge](https://www.ruby-forum.com/u/Andrew_Ge)\
**Replies:** 3\
**Last updated:** [May 18, 2010, 6:25pm UTC](https://www.ruby-forum.com/t/report-compiling-errors-on-ubuntu-10-04/188794 "2010-05-18T18:25:40Z")

</div>

(1) tarball GNU Radio 3.2.2 has Make error with boost\_1\_39\_0, boost\_1\_40\_0, boost\_1\_41\_0, boost\_1\_43\_0 with or without –prefix=/opt/boost\_1\_4\*\_0 (where boost is installed) /bin/bash …/…/…/libtool --tag=CXX --mode=li…

---

## [\[Bug Report\]nginx Windows access log can't turn off](https://www.ruby-forum.com/t/bug-report-nginx-windows-access-log-cant-turn-off/175850)

<div class="topic-metadata">

**Author:** [@ahu](https://www.ruby-forum.com/u/ahu)\
**Replies:** 3\
**Last updated:** [September 24, 2009, 12:16pm UTC](https://www.ruby-forum.com/t/bug-report-nginx-windows-access-log-cant-turn-off/175850 "2009-09-24T12:16:19Z")

</div>

Hi Igor S., It seems that the “access\_log off” directive never turn off the logging on nginx Windows. Is it a bug or did you do this by design or by accident?

---

## [Rspec\_scaffold and mocha](https://www.ruby-forum.com/t/rspec-scaffold-and-mocha/167448)

<div class="topic-metadata">

**Author:** [@jevado](https://www.ruby-forum.com/u/jevado)\
**Replies:** 3\
**Last updated:** [May 12, 2009, 8:32am UTC](https://www.ruby-forum.com/t/rspec-scaffold-and-mocha/167448 "2009-05-12T08:32:10Z")

</div>

Hi all, Sorry if this get’s posted several times but I got a message that my previous post wasn’t allowed because I’m not a member. I think I am now though. The problem I have is fairly simple. I have some plugins wh…

---

## [FYI review: YAML improvements](https://www.ruby-forum.com/t/fyi-review-yaml-improvements/162809)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 7:42am UTC](https://www.ruby-forum.com/t/fyi-review-yaml-improvements/162809 "2009-03-14T07:42:41Z")

</div>

---

## [Validar formulario sin modelo](https://www.ruby-forum.com/t/validar-formulario-sin-modelo/155363)

<div class="topic-metadata">

**Author:** [@panto](https://www.ruby-forum.com/u/panto)\
**Replies:** 3\
**Last updated:** [December 11, 2008, 5:09am UTC](https://www.ruby-forum.com/t/validar-formulario-sin-modelo/155363 "2008-12-11T05:09:19Z")

</div>

Buenas, estoy haciendo un formulario de contacto y quiero validar algunos campos sin tener un modelo asociado. Â¿Alguien me puede recomendar algun plugin o gema? Â¿CÃ³mo lo solÃ©is hacer vosotros? Muchas gracias, Ci…

---

## [IronRuby and System::Decimal](https://www.ruby-forum.com/t/ironruby-and-system-decimal/152745)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 3\
**Last updated:** [November 7, 2008, 2:29am UTC](https://www.ruby-forum.com/t/ironruby-and-system-decimal/152745 "2008-11-07T02:29:38Z")

</div>

Hello, Just playing around with some .Net interop and the Decimal type. When I do puts, I expected that this would have given me the underlying number, or at least call to\_string. Instead I got the following behaviou…

---

## [Verifying some understanding about manipulating DB data in before/after callbacks in RSpec](https://www.ruby-forum.com/t/verifying-some-understanding-about-manipulating-db-data-in-before-after-callbacks-in-rspec/152733)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [November 6, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/verifying-some-understanding-about-manipulating-db-data-in-before-after-callbacks-in-rspec/152733 "2008-11-06T23:31:47Z")

</div>

We had an after(:each) callback that looked like this: PurchaseOrder.find(:all).each {|po| DraftInvoice.find\_all\_by\_po\_number(po.po\_number).each {|di| di.destroy}} which we were hoping would reset some purchase order …

---

## [Proper way to define a subclass within parent file?](https://www.ruby-forum.com/t/proper-way-to-define-a-subclass-within-parent-file/151990)

<div class="topic-metadata">

**Author:** [@asherwood](https://www.ruby-forum.com/u/asherwood)\
**Replies:** 3\
**Last updated:** [October 28, 2008, 9:32pm UTC](https://www.ruby-forum.com/t/proper-way-to-define-a-subclass-within-parent-file/151990 "2008-10-28T21:32:16Z")

</div>

I am starting to build a script to manipulate various network device information, including a list of Vlans from a switch. To that end, I created a Vlan class: class Vlan @@max = 399 @@min = 1 @@protected = \[1,2,5\] …

---

## [Rq-3.0.0 : ruby queue gets gem'd](https://www.ruby-forum.com/t/rq-3-0-0-ruby-queue-gets-gemd/87381)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/rq-3-0-0-ruby-queue-gets-gemd/87381 "2007-09-25T23:04:30Z")

</div>

NAME rq v3.0.0 SYNOPSIS rq (queue | export RQ\_Q=q) mode \[mode\_args\]\* \[options\]\* URIS http://rubyforge.org/projects/codeforpeople http://codeforpeople.com/lib/ruby/rq INSTALL gem install rq --no-wrappers DESCRIPT…

---

## [Self Referential question in RoR compared to Java Hibernate](https://www.ruby-forum.com/t/self-referential-question-in-ror-compared-to-java-hibernate/87939)

<div class="topic-metadata">

**Author:** [@dougd1101](https://www.ruby-forum.com/u/dougd1101)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/self-referential-question-in-ror-compared-to-java-hibernate/87939 "2007-03-07T16:28:53Z")

</div>

I have a MySQL table. Its light schema as follows Comments id int not null, auto-inc. unsigned comment text, not null comment\_id, int, ##This is the parent\_id of the comment if it exis…

---

## [Autofill text fields depending on dropbox value in Rails](https://www.ruby-forum.com/t/autofill-text-fields-depending-on-dropbox-value-in-rails/244342)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [March 24, 2016, 11:05am UTC](https://www.ruby-forum.com/t/autofill-text-fields-depending-on-dropbox-value-in-rails/244342 "2016-03-24T11:05:15Z")

</div>

Hi…I want to make some of my text fields to auto fill with zero(0), when the user selects NA in dropdown… How can I achieve that? Is there any rails way to do that?? I have seen lot of jquery to accomplish auto fill v…

---

## [Prawn table cell to tall](https://www.ruby-forum.com/t/prawn-table-cell-to-tall/243784)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 13, 2016, 8:25pm UTC](https://www.ruby-forum.com/t/prawn-table-cell-to-tall/243784 "2016-01-13T20:25:09Z")

</div>

Good day, I’m having trouble with Prawn::Table::Cell when the content is large Prawn will move all the row to the next page (undesired behaviour) instead of breaking the cell in to two parts (desired behaviour). I sa…

---

## [Image\_filter don't resize](https://www.ruby-forum.com/t/image-filter-dont-resize/225140)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 17, 2012, 9:17am UTC](https://www.ruby-forum.com/t/image-filter-dont-resize/225140 "2012-12-17T09:17:25Z")

</div>

hello I’m using nginx 1.2.4 with image\_filter and i recently found a problem. If i try to make come down the jpeg quality, and the size (800-600), for an image in the same resolution, NGinx does nothing. In other wo…

---

## [Can't upgrade Rails - Failed to build gem native extension](https://www.ruby-forum.com/t/cant-upgrade-rails-failed-to-build-gem-native-extension/211483)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 6, 2011, 2:30pm UTC](https://www.ruby-forum.com/t/cant-upgrade-rails-failed-to-build-gem-native-extension/211483 "2011-09-06T14:30:45Z")

</div>

I am new to Rails and attempting to upgrade Rails on my Mac to latest version so that I can follow the rails tutorial, but I just can’t seem to get anywhere. When I attempt to update rails with: $ sudo gem update rail…

---

## [Getting Desired behaviour when I run the program, but spec still fails](https://www.ruby-forum.com/t/getting-desired-behaviour-when-i-run-the-program-but-spec-still-fails/211266)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 31, 2011, 1:41pm UTC](https://www.ruby-forum.com/t/getting-desired-behaviour-when-i-run-the-program-but-spec-still-fails/211266 "2011-08-31T13:41:17Z")

</div>

I’m not doing something right with the following spec and code: My problem lies in the last Spec: it “should load the contents of the text file into the action list” do @menu.action\_list.empty?.should == false @menu…

---

## [411 Length Required error](https://www.ruby-forum.com/t/411-length-required-error/174049)

<div class="topic-metadata">

**Author:** [@Evert\_S\_FM](https://www.ruby-forum.com/u/Evert_S_FM)\
**Replies:** 2\
**Last updated:** [August 20, 2009, 5:30pm UTC](https://www.ruby-forum.com/t/411-length-required-error/174049 "2009-08-20T17:30:17Z")

</div>

Hey guys, I’m the author of SabreDAV (Google Code Archive - Long-term storage for Google Code Project Hosting.) and today I got a bug report regarding Nginx. Finder will do a PUT request in some cases, without a Conte…

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

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