# Top

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

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

---

## [Compile nginx add openssl](https://www.ruby-forum.com/t/compile-nginx-add-openssl/174051)

<div class="topic-metadata">

**Author:** [@ronin](https://www.ruby-forum.com/u/ronin)\
**Replies:** 2\
**Last updated:** [August 23, 2009, 11:30am UTC](https://www.ruby-forum.com/t/compile-nginx-add-openssl/174051 "2009-08-23T11:30:18Z")

</div>

system:centos 5.3 yum -y install openssl openssl-devel ./configure --user=webuser --group=webuser --prefix=/usr/local/nginx –with-http\_stub\_status\_module --with-http\_ssl\_module –with-http\_sub\_module --with-md5=/usr/l…

---

## [Ask : Single window & catch OnClose event](https://www.ruby-forum.com/t/ask-single-window-catch-onclose-event/170650)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 2\
**Last updated:** [June 22, 2009, 5:09am UTC](https://www.ruby-forum.com/t/ask-single-window-catch-onclose-event/170650 "2009-06-22T05:09:47Z")

</div>

Dear all I have 2 question here I’m creating desktop application using wxruby and encounter some problem I need my application to be able to open only one for each frame is there any way to do this? I tried to inclu…

---

## [Problemas con capistrano](https://www.ruby-forum.com/t/problemas-con-capistrano/164130)

<div class="topic-metadata">

**Author:** [@panto](https://www.ruby-forum.com/u/panto)\
**Replies:** 2\
**Last updated:** [March 30, 2009, 4:32am UTC](https://www.ruby-forum.com/t/problemas-con-capistrano/164130 "2009-03-30T04:32:39Z")

</div>

Buenas, estoy teniendo un problema con Capistrano al hacer el primer despliegue con ‘cap deploy:cold’ que no sé resolver. El terminal se queda congelado hasta que lo tengo que cortar con CTRL+c. Esta es la salida del…

---

## [RMagick error: " no such file to load -- RMagick"](https://www.ruby-forum.com/t/rmagick-error-no-such-file-to-load-rmagick/163603)

<div class="topic-metadata">

**Author:** [@heldopslippers](https://www.ruby-forum.com/u/heldopslippers)\
**Replies:** 2\
**Last updated:** [March 23, 2009, 1:26am UTC](https://www.ruby-forum.com/t/rmagick-error-no-such-file-to-load-rmagick/163603 "2009-03-23T01:26:18Z")

</div>

Hee people (again today :P) … So I want to use RMagick but it doesn’t work … I installed it as told in the FAQ of the site of RMagick (http://rmagick.rubyforge.org/install-faq.html) sudo port install tiff -macosx im…

---

## [Generate pdf file with password protected](https://www.ruby-forum.com/t/generate-pdf-file-with-password-protected/162651)

<div class="topic-metadata">

**Author:** [@jprabu](https://www.ruby-forum.com/u/jprabu)\
**Replies:** 2\
**Last updated:** [March 12, 2009, 3:14pm UTC](https://www.ruby-forum.com/t/generate-pdf-file-with-password-protected/162651 "2009-03-12T15:14:11Z")

</div>

Hi, I have small requirement to generate the pdf files with password protected. For that I have created pdf file using FPDF library. but i am unable to create a pdf file with password protected. kindly help me. Reg…

---

## [Ayuda con Scaffold en Rails](https://www.ruby-forum.com/t/ayuda-con-scaffold-en-rails/157250)

<div class="topic-metadata">

**Author:** [@jhon\_pierre](https://www.ruby-forum.com/u/jhon_pierre)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 10:59pm UTC](https://www.ruby-forum.com/t/ayuda-con-scaffold-en-rails/157250 "2009-01-08T22:59:48Z")

</div>

Hola Nuevamente, Saludos. Necesito Saber si el Andamiaje o comando Scaffold crea las cajas de texto html botones, combos, etc SIEMPRE. Por Que A mi No me Crea Cajas de Texto Ni Etiquetas, solo Enlaces y botones. LO …

---

## [Eager loaiding ambiguous columns](https://www.ruby-forum.com/t/eager-loaiding-ambiguous-columns/141131)

<div class="topic-metadata">

**Author:** [@ankit2584](https://www.ruby-forum.com/u/ankit2584)\
**Replies:** 2\
**Last updated:** [June 22, 2008, 11:59am UTC](https://www.ruby-forum.com/t/eager-loaiding-ambiguous-columns/141131 "2008-06-22T11:59:11Z")

</div>

Hi, I have a people table which has a first\_name,last\_name as varchar fields and a salutation table which also has first\_name, last\_name as a boolean field. class People belongs\_to :salutation end class Salutatio…

---

## [Date\_select Validierung](https://www.ruby-forum.com/t/date-select-validierung/137479)

<div class="topic-metadata">

**Author:** [@dummschwaetz](https://www.ruby-forum.com/u/dummschwaetz)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 9:33am UTC](https://www.ruby-forum.com/t/date-select-validierung/137479 "2008-05-15T09:33:51Z")

</div>

Hi, ich habe einigen Ã„rger mit dem date\_select helper. Ich lasse die drei Felder fÃ¼r die Eingabe eines Geburtsdatums mit \<%= form.date\_select(:geburtstag, :start\_year=\>1910, :include\_blank=\>false, :order=\>\[:day, :m…

---

## [Restarting cluster without killing in progress file uploads](https://www.ruby-forum.com/t/restarting-cluster-without-killing-in-progress-file-uploads/131347)

<div class="topic-metadata">

**Author:** [@brblakley](https://www.ruby-forum.com/u/brblakley)\
**Replies:** 2\
**Last updated:** [March 10, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/restarting-cluster-without-killing-in-progress-file-uploads/131347 "2008-03-10T16:50:27Z")

</div>

Hello, I have a cluster of three Mongrels running behind Pound. All is running well except when I restart the cluster (mongrel\_rails cluster::restart) any in progress file uploads (handled through mongrel\_upload\_progr…

---

## [Integrate scruffy graph in rails view?](https://www.ruby-forum.com/t/integrate-scruffy-graph-in-rails-view/86054)

<div class="topic-metadata">

**Author:** [@Elmar\_Schraml](https://www.ruby-forum.com/u/Elmar_Schraml)\
**Replies:** 2\
**Last updated:** [February 20, 2007, 3:05pm UTC](https://www.ruby-forum.com/t/integrate-scruffy-graph-in-rails-view/86054 "2007-02-20T15:05:40Z")

</div>

Hi everybody, I’m using scruffy to create some graphs, and would like to integrate them into a regular view (i.e. show them in an tag). However, I get errors when using img\_tag, or the image doesn’t load if I try sa…

---

## [Geortzel DFT implementation checked in](https://www.ruby-forum.com/t/geortzel-dft-implementation-checked-in/64446)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 2\
**Last updated:** [June 28, 2006, 1:58am UTC](https://www.ruby-forum.com/t/geortzel-dft-implementation-checked-in/64446 "2006-06-28T01:58:20Z")

</div>

Checked in to CVS are a C++ implementation and stream processing block for the Goertzel single-bin DFT transform. The C++ class constructor takes the sample rate, length of the Goertzel block, and the frequency of the…

---

## [Functional Tests and "user\_engine" protected actions](https://www.ruby-forum.com/t/functional-tests-and-user-engine-protected-actions/61978)

<div class="topic-metadata">

**Author:** [@riko](https://www.ruby-forum.com/u/riko)\
**Replies:** 2\
**Last updated:** [June 23, 2006, 9:32am UTC](https://www.ruby-forum.com/t/functional-tests-and-user-engine-protected-actions/61978 "2006-06-23T09:32:24Z")

</div>

I had a quick search on the archive, but actually I did not find anything useful to me. My problem is that I need to do some functional tests on controllers that are restricted to only some kind of users (I’m using us…

---

## [Best way to extract data from emails?](https://www.ruby-forum.com/t/best-way-to-extract-data-from-emails/101435)

<div class="topic-metadata">

**Author:** [@generik](https://www.ruby-forum.com/u/generik)\
**Replies:** 2\
**Last updated:** [May 5, 2006, 10:20pm UTC](https://www.ruby-forum.com/t/best-way-to-extract-data-from-emails/101435 "2006-05-05T22:20:45Z")

</div>

Hi, I’ve been working on something that would look at a form mail, and then extract information out of that mail into ruby usable form. For instance, let’s say someone sends you an email through eBay’s form mail faci…

---

## [When will search be working again](https://www.ruby-forum.com/t/when-will-search-be-working-again/54476)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 2\
**Last updated:** [March 7, 2006, 12:58pm UTC](https://www.ruby-forum.com/t/when-will-search-be-working-again/54476 "2006-03-07T12:58:35Z")

</div>

Anybody have any idea when search will be working again, these busy forums are virtually useless without it! Thanks

---

## [Question about link\_to](https://www.ruby-forum.com/t/question-about-link-to/210394)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [August 7, 2011, 7:33pm UTC](https://www.ruby-forum.com/t/question-about-link-to/210394 "2011-08-07T19:33:02Z")

</div>

Hi all I am working on the first application from the book “Head First Rails” called “tickets”. What I do not understand is where the variable “new\_ticket\_path” gets populated in the view index.html.erb \<%= link\_to …

---

## [Old crumbly rspec](https://www.ruby-forum.com/t/old-crumbly-rspec/189087)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 6\
**Last updated:** [May 27, 2010, 3:14am UTC](https://www.ruby-forum.com/t/old-crumbly-rspec/189087 "2010-05-27T03:14:34Z")

</div>

Hi List, Being pretty lazy here, but I figure you can help very quickly and others might benefit from the results. I write old crumbly rspec (see gist old crumbly rspec · GitHub), and I would like to improve, can you …

---

## [Trouble with Pushing Arrays to Arrays](https://www.ruby-forum.com/t/trouble-with-pushing-arrays-to-arrays/187125)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 6\
**Last updated:** [April 17, 2010, 4:55pm UTC](https://www.ruby-forum.com/t/trouble-with-pushing-arrays-to-arrays/187125 "2010-04-17T16:55:12Z")

</div>

Hello everyone! I’m having some trouble with pushing an array to another array. Maybe this is an easy fix that I’m just not seeing? Here’s my code: require ‘nokogiri’ require ‘open-uri’ url = ‘C:\\users\\derek\\desktop…

---

## [How can I keep a large list in apache memory](https://www.ruby-forum.com/t/how-can-i-keep-a-large-list-in-apache-memory/184836)

<div class="topic-metadata">

**Author:** [@ramprasad\_ap](https://www.ruby-forum.com/u/ramprasad_ap)\
**Replies:** 6\
**Last updated:** [March 9, 2010, 10:31pm UTC](https://www.ruby-forum.com/t/how-can-i-keep-a-large-list-in-apache-memory/184836 "2010-03-09T22:31:36Z")

</div>

Hello all, I am new to nginx , I am using ngnix as a Load balancer for two imap servers. All machines are RHEL5 64 bit The nginx calls an apache php script that determines if the user is on imap1 or imap2 by looking…

---

## [New server and software at gnuradio.org](https://www.ruby-forum.com/t/new-server-and-software-at-gnuradio-org/181018)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 6\
**Last updated:** [January 6, 2010, 4:47am UTC](https://www.ruby-forum.com/t/new-server-and-software-at-gnuradio-org/181018 "2010-01-06T04:47:25Z")

</div>

Hi Folks, I’ve just cut us over to a new server running git and redmine instead of trac and subversion. The DNS changes could take as long as 1 week to propagate. In the meanwhile, this link unambiguously gets you t…

---

## [Float Arithmetic: Return A Fixnum When Float == Fixnum](https://www.ruby-forum.com/t/float-arithmetic-return-a-fixnum-when-float-fixnum/179655)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 6\
**Last updated:** [December 2, 2009, 5:30am UTC](https://www.ruby-forum.com/t/float-arithmetic-return-a-fixnum-when-float-fixnum/179655 "2009-12-02T05:30:31Z")

</div>

j = 5/2.0 =\> 2.5 I’m fine with this j = 4/2.0 =\> 2.0 Useless precision -for me. I want 2! j == j.to\_i ? j.to\_i : j =\> 2 Is there a “better” way?

---

## [Query on updation of versions of ROR](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801)

<div class="topic-metadata">

**Author:** [@hunt](https://www.ruby-forum.com/u/hunt)\
**Replies:** 6\
**Last updated:** [September 3, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801 "2009-09-03T12:09:50Z")

</div>

I was having Ruby 1.8.7 version & rails 2.1.0 version what was working fine, very smooth I ran program. I got that new ruby version and rails version has come and available. So i decided to update the version. I upd…

---

## ["once" meta-method without "module\_eval" (Pickaxe)](https://www.ruby-forum.com/t/once-meta-method-without-module-eval-pickaxe/120154)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 6\
**Last updated:** [November 14, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/once-meta-method-without-module-eval-pickaxe/120154 "2007-11-14T20:39:28Z")

</div>

My impression is that Ruby meta-programming used to lean heavily on evaluating strings as code, but is moving away from that. (Good!) In that spirit, it would be nice to replace this example from Chapter 24, Classes…

---

## [IRB is dying on me](https://www.ruby-forum.com/t/irb-is-dying-on-me/115378)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 6\
**Last updated:** [September 24, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/irb-is-dying-on-me/115378 "2007-09-24T21:17:21Z")

</div>

Why is it that I can’t repeat lines and edit them in IRB? If I press my cursor up key, normally, that repeats the line I just entered. Then, I can backspace and modify any part of that line I want before executing it.…

---

## [Re-run unit test-suite](https://www.ruby-forum.com/t/re-run-unit-test-suite/109643)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 18, 2007, 10:08am UTC](https://www.ruby-forum.com/t/re-run-unit-test-suite/109643 "2007-07-18T10:08:57Z")

</div>

Hi, I have parametrised the data of my unit test methods. However I would like to re-run the test class, but I am unable to do this with the require method. require ‘test/unit’ require ‘Test\_Suite\_1’ require ‘Test\_…

---

## [Is anybody doing anything about the spam on this list?](https://www.ruby-forum.com/t/is-anybody-doing-anything-about-the-spam-on-this-list/105837)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 6\
**Last updated:** [June 4, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/is-anybody-doing-anything-about-the-spam-on-this-list/105837 "2007-06-04T19:44:20Z")

</div>

It seems to me that the amount of span on this last has gotten a lot worse over the last couple of months. Are we hoping that Google filters out spam? Or is that the responsiblity of the list owners or something? I…

---

## [Up-to-date free tutorials?](https://www.ruby-forum.com/t/up-to-date-free-tutorials/76203)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 6\
**Last updated:** [November 17, 2006, 2:28am UTC](https://www.ruby-forum.com/t/up-to-date-free-tutorials/76203 "2006-11-17T02:28:45Z")

</div>

Anybody know of any online tutorials they consider current / up-to-date? Thanks, Bill

---

## [Another basic question about sorting w/o the sort method](https://www.ruby-forum.com/t/another-basic-question-about-sorting-w-o-the-sort-method/72221)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [October 16, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/another-basic-question-about-sorting-w-o-the-sort-method/72221 "2006-10-16T16:23:47Z")

</div>

Hi, I worked through the exercise in Chris P.'s tutorial where you sort an array without using the sort method (Arrays and Iterators - Learn to Program), and I got a working solution, but I’m curious about how to imp…

---

## [Script arg with doble quote](https://www.ruby-forum.com/t/script-arg-with-doble-quote/71149)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [October 6, 2006, 1:51pm UTC](https://www.ruby-forum.com/t/script-arg-with-doble-quote/71149 "2006-10-06T13:51:14Z")

</div>

when i have a path like that : /path/to/“Hello\\ world”/ this string being the argument of a ruby script (the same does apply for shell scripts) i don’t get it right but rather : /path/to/Hello world/ the doble quote…

---

## [Using rjs](https://www.ruby-forum.com/t/using-rjs/96692)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 3, 2006, 9:08pm UTC](https://www.ruby-forum.com/t/using-rjs/96692 "2006-07-03T21:08:08Z")

</div>

Hi I am relatively new to ruby on rails. I want to use this javascript bundle: http://prototype-window.xilinus.com/index.html How would I call those functions in an rjs file? example: win = new Window(‘window\_id’,…

---

## [Lack in pp](https://www.ruby-forum.com/t/lack-in-pp/95902)

<div class="topic-metadata">

**Author:** [@sugie](https://www.ruby-forum.com/u/sugie)\
**Replies:** 6\
**Last updated:** [June 20, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/lack-in-pp/95902 "2006-06-20T18:14:50Z")

</div>

e$B$3$s$K$A$O!#:XF#$H?=$7$^$9!#e(B e$B\<+J,$Oe(Bppe$B$K\>$7$/$O$J$$$N$G$9$,!"B8:\_$9$kMWAG$,I=\<($5$l$J$$$N$Oe(B e$BJQ$G$O$J$$$G$7$g$&$+!#e(B $ ruby -rpp -ve ‘a=\[1,\[2,3\]\]; puts PP.pp(a, “”); pp a’ ruby 1.9.0 (2006-06-19)…

---

## [Slowing threads](https://www.ruby-forum.com/t/slowing-threads/94680)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 6\
**Last updated:** [May 13, 2006, 12:33am UTC](https://www.ruby-forum.com/t/slowing-threads/94680 "2006-05-13T00:33:49Z")

</div>

Hi! I have written a program that simulates three “consoles” that accept keyboard input and run concurrently. You can type commands which each run at different speeds without interfering with other commands. It works…

---

## [Writing Secure Web Services](https://www.ruby-forum.com/t/writing-secure-web-services/53560)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 6\
**Last updated:** [February 9, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/writing-secure-web-services/53560 "2006-02-09T19:09:04Z")

</div>

I know this is Ruby-specific, but we plan to implement this system using Ruby and ActionWebService. We need to create a secure web service for B2B integration (ick, sounds too Enterprise-y). The request follows the …

---

## [\*Very\* basic layout question](https://www.ruby-forum.com/t/very-basic-layout-question/63960)

<div class="topic-metadata">

**Author:** [@Santiago\_Hirschfeld](https://www.ruby-forum.com/u/Santiago_Hirschfeld)\
**Replies:** 6\
**Last updated:** [January 30, 2006, 7:29am UTC](https://www.ruby-forum.com/t/very-basic-layout-question/63960 "2006-01-30T07:29:39Z")

</div>

I’m trying to use a different layout for just one action in my controller, all the other actions use the application.rhtml layout, so what i’m doing is … class SomeController \< ApplicationController layout “simple”, …

---

## [HELP: acts\_as\_taggable problem with :clear =\> true](https://www.ruby-forum.com/t/help-acts-as-taggable-problem-with-clear-true/52925)

<div class="topic-metadata">

**Author:** [@railsnut](https://www.ruby-forum.com/u/railsnut)\
**Replies:** 6\
**Last updated:** [January 20, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/help-acts-as-taggable-problem-with-clear-true/52925 "2006-01-20T19:17:23Z")

</div>

I’ve got the basics of acts\_as\_taggable going, but I now want to use :clear =\> true on the tags method, because the tags I’m supplying as parameters are the complete set of tags for the item, not additions to existing…

---

## [HOWTO: Combine fields from 2 two tables in 1 object](https://www.ruby-forum.com/t/howto-combine-fields-from-2-two-tables-in-1-object/90251)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 6, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/howto-combine-fields-from-2-two-tables-in-1-object/90251 "2006-01-06T12:32:16Z")

</div>

Hi all, For a dropdownlist (showing "Company - FirstName Lastname’) I want to fill an object @project\_contacts with “Name” from table Companies and “Firstname” and “Lastname” from table contacts. Any idea? Regards, …

---

## [Match part of the calculated value](https://www.ruby-forum.com/t/match-part-of-the-calculated-value/220973)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 26, 2012, 10:47pm UTC](https://www.ruby-forum.com/t/match-part-of-the-calculated-value/220973 "2012-06-26T22:47:03Z")

</div>

Hi, I have a symbol market value which changes dynamically & i have to multiple it with static value order. eg: Symbol = 567.45 order = 10 Gross = symbol \* order Gross1 = 567.45 \* 10 = 5674.50 In couple of seco…

---

## [Is there an equivalent of pagespeed for Nginx?](https://www.ruby-forum.com/t/is-there-an-equivalent-of-pagespeed-for-nginx/210773)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 17, 2011, 7:13am UTC](https://www.ruby-forum.com/t/is-there-an-equivalent-of-pagespeed-for-nginx/210773 "2011-08-17T07:13:55Z")

</div>

Hi, all: I know the pagespeed module for Apache can make the page visit faster, so , I wonder whether there is an equivalent for Nginx? thanks in advance! – Best Wishes! wangxichun

---

## [A Code Point's Tale: There and Back Again](https://www.ruby-forum.com/t/a-code-points-tale-there-and-back-again/206409)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 1, 2011, 5:22am UTC](https://www.ruby-forum.com/t/a-code-points-tale-there-and-back-again/206409 "2011-05-01T05:22:10Z")

</div>

This is probably obvious in the docs and I’m just missing it, but here goes: So, I see there is str.each\_codepoint, which I want to use in a function to convert Unicode Strings to a list of Unicode code points. But wh…

---

## [Geolocalizazione e rails3 consigli?](https://www.ruby-forum.com/t/geolocalizazione-e-rails3-consigli/205027)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 28, 2011, 11:05pm UTC](https://www.ruby-forum.com/t/geolocalizazione-e-rails3-consigli/205027 "2011-03-28T23:05:13Z")

</div>

qualcuno sa indicarmi un buon plugin per la gestione della geolocalizzazione in un applicazione con rails3. grazie luca

---

## [ActiveRecord errors ... Best way to rescue a live web application?](https://www.ruby-forum.com/t/activerecord-errors-best-way-to-rescue-a-live-web-application/193143)

<div class="topic-metadata">

**Author:** [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Replies:** 5\
**Last updated:** [August 12, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/activerecord-errors-best-way-to-rescue-a-live-web-application/193143 "2010-08-12T17:21:55Z")

</div>

Hi all, I have some issues when a link is clicked twice quickly that deletes an ActiveRecord row. All I really want to do is set up some universal catch that will redirect all application errors to index. Best way? …

---

## [Splitting a string](https://www.ruby-forum.com/t/splitting-a-string/181223)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 5\
**Last updated:** [January 7, 2010, 7:50pm UTC](https://www.ruby-forum.com/t/splitting-a-string/181223 "2010-01-07T19:50:08Z")

</div>

Example A: “Example One” What I need is a string method to remove " One" from that string so the result is just “Example”. I’m sure this is very simple but I just require a swift response. Thanks.

---

## [Plugin or web service for printing UPS shipping labels](https://www.ruby-forum.com/t/plugin-or-web-service-for-printing-ups-shipping-labels/173026)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 5\
**Last updated:** [October 15, 2009, 12:08am UTC](https://www.ruby-forum.com/t/plugin-or-web-service-for-printing-ups-shipping-labels/173026 "2009-10-15T00:08:22Z")

</div>

Anyone know of a Rails plugin or web service that offers printing of UPS labels? Thanks, Andy

---

## [Whatâ€™ s the best general implementation of custom #hash methods?](https://www.ruby-forum.com/t/whata-s-the-best-general-implementation-of-custom-hash-methods/175293)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 5\
**Last updated:** [September 11, 2009, 2:16am UTC](https://www.ruby-forum.com/t/whata-s-the-best-general-implementation-of-custom-hash-methods/175293 "2009-09-11T02:16:41Z")

</div>

Hello, ruby-talk. Whatâ€™s the best (fast, yet with relatively few cases when equal hashes are generated for non-eql objects) way to implement a hash method? Is XOR-ing the hashes of an objectâ€™s instance variables (…

---

## [Speeding up virtual keycode scanning](https://www.ruby-forum.com/t/speeding-up-virtual-keycode-scanning/171649)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 5\
**Last updated:** [July 24, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/speeding-up-virtual-keycode-scanning/171649 "2009-07-24T17:17:31Z")

</div>

Here is the problem: GetAsyncKeyState = Win32API.new(‘user32’,‘GetAsyncKeyState’, \[‘i’\], ‘i’) while true keys.each {|k, v| print k.upcase if GetAsyncKeyState.call(v) & 0x01 == 1 && GetAsyncKeyState.call(0x10) & 0x01 …

---

## [Disable symlink, possible?](https://www.ruby-forum.com/t/disable-symlink-possible/170409)

<div class="topic-metadata">

**Author:** [@Edho\_P\_Arief](https://www.ruby-forum.com/u/Edho_P_Arief)\
**Replies:** 5\
**Last updated:** [June 20, 2009, 1:32pm UTC](https://www.ruby-forum.com/t/disable-symlink-possible/170409 "2009-06-20T13:32:00Z")

</div>

Is it possible to disallow/disable nginx from following symlink?

---

## [Modules and importing them/their namespace?](https://www.ruby-forum.com/t/modules-and-importing-them-their-namespace/169329)

<div class="topic-metadata">

**Author:** [@Markus\_F](https://www.ruby-forum.com/u/Markus_F)\
**Replies:** 5\
**Last updated:** [June 2, 2009, 3:01pm UTC](https://www.ruby-forum.com/t/modules-and-importing-them-their-namespace/169329 "2009-06-02T15:01:19Z")

</div>

Hi, I haven’t found anything so far, so probably it doesn’t exist and I’m thinking to much java-ish, but is there a way to import a namespace so I do not need long prefixes? Probably bad example, but if I would name …

---

## [How does view know about instance vars set in controller?](https://www.ruby-forum.com/t/how-does-view-know-about-instance-vars-set-in-controller/163587)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 5\
**Last updated:** [March 25, 2009, 9:03am UTC](https://www.ruby-forum.com/t/how-does-view-know-about-instance-vars-set-in-controller/163587 "2009-03-25T09:03:28Z")

</div>

Hi, I know that the AWDWR says to believe in magic and to not spend Xmas with people asking this question, but really how does it work under the hood? I was looking at the source code of crummy, and it seems that in…

---

## [Dynamic drop down list submission problem](https://www.ruby-forum.com/t/dynamic-drop-down-list-submission-problem/155956)

<div class="topic-metadata">

**Author:** [@junsha](https://www.ruby-forum.com/u/junsha)\
**Replies:** 5\
**Last updated:** [December 24, 2008, 4:08am UTC](https://www.ruby-forum.com/t/dynamic-drop-down-list-submission-problem/155956 "2008-12-24T04:08:04Z")

</div>

hi all, i got a little problem here. with my code below, what i am trying to do is to select the value from drop down list, and then updating the value of the text field. However, after updating the value of the text…

---

## [\[Bug #793\] BigDecimal('Infinity').to\_r $B$,Nm$K$J$k(B](https://www.ruby-forum.com/t/bug-793-bigdecimal-infinity-to-r-b-nm-k-j-k-b/154115)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 5\
**Last updated:** [November 26, 2008, 4:17pm UTC](https://www.ruby-forum.com/t/bug-793-bigdecimal-infinity-to-r-b-nm-k-j-k-b/154115 "2008-11-26T16:17:34Z")

</div>

Bug #793: BigDecimal(‘Infinity’).to\_r e$B$,Nm$K$J$ke(B http://redmine.ruby-lang.org/issues/show/793 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal $ ./ruby -rbigdecimal -e “p BigDecimal(‘…

---

## [Calling a Defined Method at bottom of script](https://www.ruby-forum.com/t/calling-a-defined-method-at-bottom-of-script/150097)

<div class="topic-metadata">

**Author:** [@smithy](https://www.ruby-forum.com/u/smithy)\
**Replies:** 5\
**Last updated:** [October 6, 2008, 1:19pm UTC](https://www.ruby-forum.com/t/calling-a-defined-method-at-bottom-of-script/150097 "2008-10-06T13:19:44Z")

</div>

It seems that I have to place all the methods I have created at the top of my script in order to be able to call them later on in the script. Is there a way for me to put all my methods at the bottom of the script and…

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

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