# Top

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

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

---

## [Ruby 1.9.3: strings with Portuguese names are always different](https://www.ruby-forum.com/t/ruby-1-9-3-strings-with-portuguese-names-are-always-different/240718)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [April 28, 2014, 12:59am UTC](https://www.ruby-forum.com/t/ruby-1-9-3-strings-with-portuguese-names-are-always-different/240718 "2014-04-28T00:59:05Z")

</div>

Hello! I’m learning the Ruby language but I have a problem: strings with Portuguese names are always different. Example: encoding: utf-8 puts “Name?” STDOUT.flush name = gets.chomp.to\_s puts “Hello João!” if name…

---

## [Retrieves the count for the list of entries - not working](https://www.ruby-forum.com/t/retrieves-the-count-for-the-list-of-entries-not-working/227449)

<div class="topic-metadata">

**Author:** [@syed\_h](https://www.ruby-forum.com/u/syed_h)\
**Replies:** 5\
**Last updated:** [March 15, 2013, 6:28pm UTC](https://www.ruby-forum.com/t/retrieves-the-count-for-the-list-of-entries-not-working/227449 "2013-03-15T18:28:43Z")

</div>

def get\_entry\_count(type) controls = (type.nil?)? nil : get\_list\_entries\_container(type) retVal = 0 unless (controls.nil?) retVal = controls.length else retVal = puts “Unable to find list entries for table of: #{t…

---

## [TPB Scheduler - Block Scheduling Rate](https://www.ruby-forum.com/t/tpb-scheduler-block-scheduling-rate/202409)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 29, 2011, 4:09am UTC](https://www.ruby-forum.com/t/tpb-scheduler-block-scheduling-rate/202409 "2011-01-29T04:09:10Z")

</div>

Hey all - I’m running some experiments, and would like to directly tune the rate that the TPB scheduler is switching between blocks. I’ve dug around a bit, and can’t seem to find the relevant portions of code; I’ve n…

---

## [Routing based on browser width](https://www.ruby-forum.com/t/routing-based-on-browser-width/175021)

<div class="topic-metadata">

**Author:** [@dansinker](https://www.ruby-forum.com/u/dansinker)\
**Replies:** 5\
**Last updated:** [September 7, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/routing-based-on-browser-width/175021 "2009-09-07T21:10:16Z")

</div>

I have a site that’s directed toward mobile use. As a result, the basic structure consists of pages that render exclusively on mobile devices, and then corresponding pages for desktop browsers that explain that they n…

---

## [Common action for all the controllers](https://www.ruby-forum.com/t/common-action-for-all-the-controllers/160167)

<div class="topic-metadata">

**Author:** [@siddick](https://www.ruby-forum.com/u/siddick)\
**Replies:** 5\
**Last updated:** [February 12, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/common-action-for-all-the-controllers/160167 "2009-02-12T15:06:21Z")

</div>

I am writing a small plugin for ruby on Rails. I faced a problem while create a common action for all the controllers. I found a solution for it, But i am not satisfied with the solution. The solution that I got is :…

---

## [DRYing/shortening form processing](https://www.ruby-forum.com/t/drying-shortening-form-processing/151708)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 5\
**Last updated:** [October 24, 2008, 9:54pm UTC](https://www.ruby-forum.com/t/drying-shortening-form-processing/151708 "2008-10-24T21:54:03Z")

</div>

So I have this form with \>10 fields on it. When the form is submitted, the corresponding controller action calls the class method #filtered\_properties to process the data. I’ve created separate class methods for proce…

---

## [BJ - Reaping 1 threads for slow workers because of 'shutdown'](https://www.ruby-forum.com/t/bj-reaping-1-threads-for-slow-workers-because-of-shutdown/143916)

<div class="topic-metadata">

**Author:** [@dusty](https://www.ruby-forum.com/u/dusty)\
**Replies:** 5\
**Last updated:** [August 27, 2008, 12:31am UTC](https://www.ruby-forum.com/t/bj-reaping-1-threads-for-slow-workers-because-of-shutdown/143916 "2008-08-27T00:31:25Z")

</div>

I’m calling Bj from inside a controller in rails. controller code http://pastie.org/239415 Its running a simple script that logs the user to the database. Obviously this isn’t a good candidate for a background job, t…

---

## [Regexp Ruby selection](https://www.ruby-forum.com/t/regexp-ruby-selection/144091)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [July 25, 2008, 11:52am UTC](https://www.ruby-forum.com/t/regexp-ruby-selection/144091 "2008-07-25T11:52:35Z")

</div>

Hi folks, I’m trying to code a ruby script that select the content of a HTML table in a HTML page. I used rubular to test my regexp syntax which is / \<td class=“TabIntCenContenuto”\[^\>\]\>(.) / with rubular the result…

---

## [Method\_missing, respond\_to? and AR](https://www.ruby-forum.com/t/method-missing-respond-to-and-ar/143304)

<div class="topic-metadata">

**Author:** [@wawaloo](https://www.ruby-forum.com/u/wawaloo)\
**Replies:** 5\
**Last updated:** [July 17, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/method-missing-respond-to-and-ar/143304 "2008-07-17T17:08:54Z")

</div>

Hi, I have a class Page with attribute ‘title’. I want Project objects to call Page methods when they don’t find the called method. If the method is not found whithin Page, super is called. For example, I can write: p…

---

## [Problems Compiling IronRuby w/ Mono](https://www.ruby-forum.com/t/problems-compiling-ironruby-w-mono/133884)

<div class="topic-metadata">

**Author:** [@netshade](https://www.ruby-forum.com/u/netshade)\
**Replies:** 5\
**Last updated:** [April 4, 2008, 8:44pm UTC](https://www.ruby-forum.com/t/problems-compiling-ironruby-w-mono/133884 "2008-04-04T20:44:06Z")

</div>

I’ve got the following build errors trying to compile IronRuby trunk w/ Mono 1.9 on OSX. Build output: (in /opt/src/mono/ironruby/trunk) Read in 49 resources from ‘/opt/src/mono/ironruby/trunk/src/microsoft.scriptin…

---

## [Is there a rails Gimp plugin?](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 5\
**Last updated:** [April 3, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-gimp-plugin/133757 "2008-04-03T18:11:08Z")

</div>

Hi, In my app pictures can be uploaded. I want to do two things to the pictures: 1- Add a watermark 2- Add an effect to the picture (colorize) I can do that manually with Gimp and then upload. But how could I make …

---

## [Url changed in proxy\_pass](https://www.ruby-forum.com/t/url-changed-in-proxy-pass/127820)

<div class="topic-metadata">

**Author:** [@John\_Quaglieri](https://www.ruby-forum.com/u/John_Quaglieri)\
**Replies:** 5\
**Last updated:** [February 1, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/url-changed-in-proxy-pass/127820 "2008-02-01T17:11:08Z")

</div>

I have nginx installed on port 80 and apache is installed on port 81. I proxy php to apache and have nginx handle all the static and image content. On my config I have an if statment similar to this: if (!-f $request…

---

## [Very simple question about enum.all? and any?](https://www.ruby-forum.com/t/very-simple-question-about-enum-all-and-any/125213)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [January 8, 2008, 7:05am UTC](https://www.ruby-forum.com/t/very-simple-question-about-enum-all-and-any/125213 "2008-01-08T07:05:53Z")

</div>

%w{ ant bear cat}.all? {|word| word.length \>= 3} #=\> true %w{ ant bear cat}.any? {|word| word.length \>= 3} #=\> true Both of these return true or false as expected. The question is is there an equivalent method tha…

---

## [Is there any way to update elements of the webpage with multiple threads in an action?](https://www.ruby-forum.com/t/is-there-any-way-to-update-elements-of-the-webpage-with-multiple-threads-in-an-action/124727)

<div class="topic-metadata">

**Author:** [@Javier\_Q](https://www.ruby-forum.com/u/Javier_Q)\
**Replies:** 5\
**Last updated:** [January 2, 2008, 12:25am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-update-elements-of-the-webpage-with-multiple-threads-in-an-action/124727 "2008-01-02T00:25:15Z")

</div>

I’m trying to update some elements of the webpage with AJAX, RJS, etc by making threads in an action of a controller and trying to partial render the results inside each thread. The problem is that rails wont let me …

---

## [Tamplates differents en fonction du site (skins?)](https://www.ruby-forum.com/t/tamplates-differents-en-fonction-du-site-skins/114904)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 5\
**Last updated:** [September 19, 2007, 9:48pm UTC](https://www.ruby-forum.com/t/tamplates-differents-en-fonction-du-site-skins/114904 "2007-09-19T21:48:14Z")

</div>

Bonjour, Comment faire pour arriver a avoir des templates differents en fonction du site…En effet, comment faire pour que deux sites different, affichent deux layouts different. Typiquement, j’aimerais que toto.mons…

---

## [Gallery extension shows only 10 galleries](https://www.ruby-forum.com/t/gallery-extension-shows-only-10-galleries/111859)

<div class="topic-metadata">

**Author:** [@ar2ras](https://www.ruby-forum.com/u/ar2ras)\
**Replies:** 5\
**Last updated:** [August 14, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/gallery-extension-shows-only-10-galleries/111859 "2007-08-14T18:21:34Z")

</div>

I use Gallery extension Version: 0.2.0. When I’ve added 11-th gallery I cannot see it, but in database the gallery exists. Thanks for help.

---

## [Using eval() to create a Regexp object from a string](https://www.ruby-forum.com/t/using-eval-to-create-a-regexp-object-from-a-string/108557)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 5\
**Last updated:** [July 5, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/using-eval-to-create-a-regexp-object-from-a-string/108557 "2007-07-05T20:06:56Z")

</div>

Hi, I’m trying to create a Regexp object by calling eval like this: def eval\_to\_regexp(o) if o.is\_a?(Regexp) o elsif o.is\_a?(String) o = o\[5…o.size\] if o\[0…4\] == ‘eval:’ eval("/#{o}/") else eval("/#{o.to\_s}/") …

---

## [How to handle all errors programmatically on saving, updatin](https://www.ruby-forum.com/t/how-to-handle-all-errors-programmatically-on-saving-updatin/106595)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 5\
**Last updated:** [June 13, 2007, 10:38am UTC](https://www.ruby-forum.com/t/how-to-handle-all-errors-programmatically-on-saving-updatin/106595 "2007-06-13T10:38:24Z")

</div>

Hello guys, I want to know how to handle all errors programmatically when I save, update, and delete on record. For the save method, it will return true or false, but for update method and destroy/delete method they s…

---

## [Duda callback](https://www.ruby-forum.com/t/duda-callback/103629)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 5\
**Last updated:** [May 8, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/duda-callback/103629 "2007-05-08T19:04:55Z")

</div>

Me gustaría hacer un callback pero no se cómo llevarlo a cabo. Tengo una tabla de destacados que tiene un campo integer “Activado”. En toda la tabla sólo puede haber una fila con activado=1, el resto de filas debe ten…

---

## [GeneraciÃ³n automÃ¡tica a partir de esq uema?](https://www.ruby-forum.com/t/generacia-n-automa-tica-a-partir-de-esq-uema/84104)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 5\
**Last updated:** [February 1, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/generacia-n-automa-tica-a-partir-de-esq-uema/84104 "2007-02-01T16:17:32Z")

</div>

Buenas, me gustaría saber si hay alguna herramienta en ruby para generar automáticamente desde un esquema de base de datos todos los modelos, controladores y vistas, añadiendo relaciones y demás. Gracias

---

## [Email per ogni topic](https://www.ruby-forum.com/t/email-per-ogni-topic/83893)

<div class="topic-metadata">

**Author:** [@amacbr](https://www.ruby-forum.com/u/amacbr)\
**Replies:** 5\
**Last updated:** [January 30, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/email-per-ogni-topic/83893 "2007-01-30T18:48:28Z")

</div>

Salve a tutti, sapete come devo fare per fare in modo che non mi arrivi una mail per ogni topic aperto e per ogni risposta ad esso? Grazie

---

## [Rails equivalent to J2EE getRequestDispatcher().forward(...)](https://www.ruby-forum.com/t/rails-equivalent-to-j2ee-getrequestdispatcher-forward/79098)

<div class="topic-metadata">

**Author:** [@Maurice\_Y](https://www.ruby-forum.com/u/Maurice_Y)\
**Replies:** 5\
**Last updated:** [December 12, 2006, 6:03am UTC](https://www.ruby-forum.com/t/rails-equivalent-to-j2ee-getrequestdispatcher-forward/79098 "2006-12-12T06:03:17Z")

</div>

Hello Rails community Is there a Rails equivalent to the J2EE getRequestDispatcher().forward(…) or the getRequestDispatch().include(…), or, say, the PHP @readfile(…) ? In particular, what I would like to do is first…

---

## [Routing y RESTful](https://www.ruby-forum.com/t/routing-y-restful/70414)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 5\
**Last updated:** [October 2, 2006, 4:22pm UTC](https://www.ruby-forum.com/t/routing-y-restful/70414 "2006-10-02T16:22:22Z")

</div>

Hola a todos, Normalmente utilizo los forums en inglÃ© para resolver los problemas del dÃ­a a dÃ­a. Pero al ver que esta lista ha comenzado su andadura hoy en ruby-forum.com, he tomado la decisiÃ³n de utilizarla siem…

---

## [Single Table Inheritance](https://www.ruby-forum.com/t/single-table-inheritance/67370)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 5\
**Last updated:** [September 19, 2006, 8:40pm UTC](https://www.ruby-forum.com/t/single-table-inheritance/67370 "2006-09-19T20:40:52Z")

</div>

I have been experimenting with Single Table Inheritance as described in the More Active Record chapter in Agile Development with Rails. I have started with an object model with three classes x, y and z (for brevity), …

---

## [Can't call public application.rb method from ERb template](https://www.ruby-forum.com/t/cant-call-public-application-rb-method-from-erb-template/96306)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [June 28, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/cant-call-public-application-rb-method-from-erb-template/96306 "2006-06-28T17:32:07Z")

</div>

All, I have a left navigation partial that I want to dynamically generate CSS classes for based on the current controller action. In my ERb template, I have In application.rb, I have the method get\_menu\_display\_styl…

---

## [Re: Why Does Ruby on Debian Blow? (Was: Mongrel 3.15,](https://www.ruby-forum.com/t/re-why-does-ruby-on-debian-blow-was-mongrel-3-15/59357)

<div class="topic-metadata">

**Author:** [@sean-lerner](https://www.ruby-forum.com/u/sean-lerner)\
**Replies:** 5\
**Last updated:** [May 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/re-why-does-ruby-on-debian-blow-was-mongrel-3-15/59357 "2006-05-03T18:58:51Z")

</div>

I had no problems. It pretty much boils down to three steps: Install Ruby via deb. Install ruby gems using the instructions for installing ruby gems. Install rails and everything else via gems. browse the following w…

---

## [Storing form methods in a database](https://www.ruby-forum.com/t/storing-form-methods-in-a-database/49153)

<div class="topic-metadata">

**Author:** [@JNewman](https://www.ruby-forum.com/u/JNewman)\
**Replies:** 5\
**Last updated:** [December 2, 2005, 6:54pm UTC](https://www.ruby-forum.com/t/storing-form-methods-in-a-database/49153 "2005-12-02T18:54:20Z")

</div>

Hello all I am very new to the ruby on rails. I am currently working on a survey project and I would like to store the survey questions with form elements in a database. I have been successful with adding the basic …

---

## [Design Question](https://www.ruby-forum.com/t/design-question/48557)

<div class="topic-metadata">

**Author:** [@Steven\_SS\_SS](https://www.ruby-forum.com/u/Steven_SS_SS)\
**Replies:** 5\
**Last updated:** [November 22, 2005, 1:00pm UTC](https://www.ruby-forum.com/t/design-question/48557 "2005-11-22T13:00:35Z")

</div>

I’m having some trouble figuring out how to break a project into various controllers. Here’s my situation. Say I’m building a small web store that sells software. Each piece of software will belong to a given Vendo…

---

## [Rake db:create:wants LibMySQL.dll for MySQL 5.0.37; where?](https://www.ruby-forum.com/t/rake-dbwants-libmysql-dll-for-mysql-5-0-37-where/184013)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 6:14am UTC](https://www.ruby-forum.com/t/rake-dbwants-libmysql-dll-for-mysql-5-0-37-where/184013 "2018-10-09T06:14:02Z")

</div>

Hi All, I’m running: WinXP-Pro/SP3 Rails 2.3.5 MySQL 5.0.37-community-nt I ran rake db:create:all and got something like: LibMySQL.dll required. I had a worse symptom previously when, on an earlier post on a relat…

---

## [What are lambda functions used for?](https://www.ruby-forum.com/t/what-are-lambda-functions-used-for/229841)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 6\
**Last updated:** [February 18, 2013, 1:13pm UTC](https://www.ruby-forum.com/t/what-are-lambda-functions-used-for/229841 "2013-02-18T13:13:28Z")

</div>

I’m new to Ruby and lambda functions. I understand how they work but was wondering when would you use them? thanks, mike

---

## [C Extension: Why would VALUE state appear differently during shutdown than immediately before it?](https://www.ruby-forum.com/t/c-extension-why-would-value-state-appear-differently-during-shutdown-than-immediately-before-it/224751)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 25, 2012, 2:17am UTC](https://www.ruby-forum.com/t/c-extension-why-would-value-state-appear-differently-during-shutdown-than-immediately-before-it/224751 "2012-11-25T02:17:10Z")

</div>

I have a graph of objects in a C extension, and as such I maintain reference counts from children to parents as deallocations are order dependent (see struct definition below). While I run my program the reference cou…

---

## [Depends for Ubuntu 12.04](https://www.ruby-forum.com/t/depends-for-ubuntu-12-04/219980)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [May 24, 2012, 5:20am UTC](https://www.ruby-forum.com/t/depends-for-ubuntu-12-04/219980 "2012-05-24T05:20:53Z")

</div>

I’m getting (at least one) report that build-gnuradio doesn’t work on Ubuntu 12.04 due to changes in the package names for the depends. So, if someone has a known “good” list of those depends, I can update build-gnura…

---

## [Three different USRP2 nodes are transmitting with almost exactly 1 MHz frequency offset](https://www.ruby-forum.com/t/three-different-usrp2-nodes-are-transmitting-with-almost-exactly-1-mhz-frequency-offset/216598)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 13, 2012, 6:34pm UTC](https://www.ruby-forum.com/t/three-different-usrp2-nodes-are-transmitting-with-almost-exactly-1-mhz-frequency-offset/216598 "2012-02-13T18:34:48Z")

</div>

Hello, I am running the benchmark\_tx.py codes and looking at the spectrum of the signals using uhd\_fft.py. I am using the latest image of GNU radio (GNUradio 3.5) and I have XCVR2450 daughterboards. I ran the benchm…

---

## [Currency exchange dynamic data](https://www.ruby-forum.com/t/currency-exchange-dynamic-data/204108)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 5, 2011, 1:21pm UTC](https://www.ruby-forum.com/t/currency-exchange-dynamic-data/204108 "2011-03-05T13:21:32Z")

</div>

Hi Folks, i want to add a table with some currecny exchange values that i have to update 2-3 times a day. the problem is i have to update the file and restart the webserver to have the change taking effect . Is ther…

---

## [Processing (potentially) nil method without using nested if](https://www.ruby-forum.com/t/processing-potentially-nil-method-without-using-nested-if/189709)

<div class="topic-metadata">

**Author:** [@ben-v](https://www.ruby-forum.com/u/ben-v)\
**Replies:** 6\
**Last updated:** [June 7, 2010, 7:37pm UTC](https://www.ruby-forum.com/t/processing-potentially-nil-method-without-using-nested-if/189709 "2010-06-07T19:37:13Z")

</div>

Hi all, really stupid question. How can I evaluate the following code without using a nested if… then statement? if parent.respond\_to? “children” if parent.children.size != 0 puts “Has children” end end Ideally I…

---

## [Email section](https://www.ruby-forum.com/t/email-section/184901)

<div class="topic-metadata">

**Author:** [@manish\_belsare](https://www.ruby-forum.com/u/manish_belsare)\
**Replies:** 6\
**Last updated:** [March 12, 2010, 6:03pm UTC](https://www.ruby-forum.com/t/email-section/184901 "2010-03-12T18:03:12Z")

</div>

Sir , I want to implement email section in ma web application… so i found the method ‘server\_setting’ for it… Following is the method: config.action\_mailer.server\_settings = { :address =\> “smtp.gmail.com” , :port =\> …

---

## [Lookup up documentation for inherited methods](https://www.ruby-forum.com/t/lookup-up-documentation-for-inherited-methods/183629)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 6\
**Last updated:** [February 17, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/lookup-up-documentation-for-inherited-methods/183629 "2010-02-17T22:00:24Z")

</div>

I find it frustrating when using “ri” to look up documentation on a class, only to find the method I’m curious about is not listed. As an example: String objects have many more methods than are explained in the docume…

---

## [Faster Enumerator#each by rb\_block\_call with current block](https://www.ruby-forum.com/t/faster-enumerator-each-by-rb-block-call-with-current-block/180143)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 6\
**Last updated:** [December 20, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/faster-enumerator-each-by-rb-block-call-with-current-block/180143 "2009-12-20T18:54:36Z")

</div>

e$B1sF#$G$9!#e(B e$B8=:\_$Ne(B Enumerator#each e$B$O!"e(B1 e$B2s$N%V%m%C%/8F$S=P$7$Ge(B 2 e$B2sJ,$Ne(B yield e$B$r\<B9Te(B e$B$7$F$$$^$9!#e(B Enumerator#each e$B$,85$N%a%=%C%I$re(B rb\_block\_call e$B$G8F$Ve(B (e$B$3$N…

---

## [I can't install any GUI via gems, please help](https://www.ruby-forum.com/t/i-cant-install-any-gui-via-gems-please-help/176227)

<div class="topic-metadata">

**Author:** [@alexanderl](https://www.ruby-forum.com/u/alexanderl)\
**Replies:** 6\
**Last updated:** [September 27, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/i-cant-install-any-gui-via-gems-please-help/176227 "2009-09-27T21:30:09Z")

</div>

Hello! I am new at the forum, but i have a huge problem. For the last weeks i have been learning some about ruby, i bought a book and coded like hell(i mainly develop in C# otherwise). It’s been going on very good so …

---

## [Nginx.conf now lost access connection](https://www.ruby-forum.com/t/nginx-conf-now-lost-access-connection/174183)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 6\
**Last updated:** [August 22, 2009, 5:01am UTC](https://www.ruby-forum.com/t/nginx-conf-now-lost-access-connection/174183 "2009-08-22T05:01:36Z")

</div>

Hi. I am new to nginx. I use it for testing only - maybe a small live production later. Here are the config. Ubuntu 8.04 Nginx 0.5.33 PHP + MYSQL + CGI/FASTCGI Basically everything worked out very fine and smooth u…

---

## [Thoughts on rewriting irb?](https://www.ruby-forum.com/t/thoughts-on-rewriting-irb/172598)

<div class="topic-metadata">

**Author:** [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Replies:** 6\
**Last updated:** [July 24, 2009, 8:50am UTC](https://www.ruby-forum.com/t/thoughts-on-rewriting-irb/172598 "2009-07-24T08:50:57Z")

</div>

Hi, I wrote up a post on a mini irb which does better irb completion, persistent history and error handling in 7 lines: If you’re curious the code looks like this: %w{readline rubygems bond bond/completion}.each {|e…

---

## [Basic questions about usrp\_fft.py and usrp\_oscope](https://www.ruby-forum.com/t/basic-questions-about-usrp-fft-py-and-usrp-oscope/165397)

<div class="topic-metadata">

**Author:** [@yufeng\_wang](https://www.ruby-forum.com/u/yufeng_wang)\
**Replies:** 6\
**Last updated:** [May 13, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/basic-questions-about-usrp-fft-py-and-usrp-oscope/165397 "2009-05-13T19:02:09Z")

</div>

Hi, Does anyone has some discription about the two programs usrp\_fft.py and usrp\_oscope.py? I try to search in the archive but didn’t find any basic discriptions. For example, I’m using digital-bert benchmark\_tx.py t…

---

## [Group several lines into one line](https://www.ruby-forum.com/t/group-several-lines-into-one-line/166608)

<div class="topic-metadata">

**Author:** [@dad](https://www.ruby-forum.com/u/dad)\
**Replies:** 6\
**Last updated:** [May 1, 2009, 3:04am UTC](https://www.ruby-forum.com/t/group-several-lines-into-one-line/166608 "2009-05-01T03:04:44Z")

</div>

After sitting at this problem for hours without much progress, now is the time that I need your help. Btw. I’m quite new to ruby. I have a file that looks like this: 00-04-00;Austragungssystem fÃ¼r lÃ¤ngliche oder 00…

---

## [Named scope lambda string substitution problem](https://www.ruby-forum.com/t/named-scope-lambda-string-substitution-problem/152804)

<div class="topic-metadata">

**Author:** [@jdwy](https://www.ruby-forum.com/u/jdwy)\
**Replies:** 6\
**Last updated:** [November 8, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/named-scope-lambda-string-substitution-problem/152804 "2008-11-08T20:11:08Z")

</div>

Sorry for a cross post with rails, but I think this may be more of a ruby question (or rails’s impl?). I have a complex named scope like the following. named\_scope :foo, lambda {|foo, bar| foo.each do |d| #foo = “th…

---

## [Mspec breaking change](https://www.ruby-forum.com/t/mspec-breaking-change/142415)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 6\
**Last updated:** [July 7, 2008, 10:53pm UTC](https://www.ruby-forum.com/t/mspec-breaking-change/142415 "2008-07-07T22:53:48Z")

</div>

The mspec team checked in a change on June 30 that broke all of our RubySpec tests. The -X option has been removed which is the option that lets us tell the specs where the tags directory is. I’ve spent the morning fi…

---

## [dov'Ã¨ finito mongrel?](https://www.ruby-forum.com/t/dova-finito-mongrel/133955)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 6\
**Last updated:** [April 7, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/dova-finito-mongrel/133955 "2008-04-07T16:09:12Z")

</div>

Salve! Ho appena cambiato computer, che ora monta leopard. Ho aggiornato rails a 2.0.2, ma ho un problema: come server di default usa webrick, mentre nel mio vecchio g4 c’era mongrel, e mi trovavo meglio perchÃ© sputa…

---

## [Link\_to popup divorced from controller?](https://www.ruby-forum.com/t/link-to-popup-divorced-from-controller/120303)

<div class="topic-metadata">

**Author:** [@yachtman](https://www.ruby-forum.com/u/yachtman)\
**Replies:** 6\
**Last updated:** [November 16, 2007, 5:08am UTC](https://www.ruby-forum.com/t/link-to-popup-divorced-from-controller/120303 "2007-11-16T05:08:34Z")

</div>

Here’s my case: Using a link\_to popup window to show a related help file of an element on a page. The problem: Window pops up perfectly, but refuses to carryover @instance variables in the controller that I referenc…

---

## [The average Ruby ML Contributor](https://www.ruby-forum.com/t/the-average-ruby-ml-contributor/109929)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 6\
**Last updated:** [July 21, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/the-average-ruby-ml-contributor/109929 "2007-07-21T14:32:25Z")

</div>

Hmm this did not pass uncompressed, maybe it is ok compressed… Hi I was trying to upload a PDF report summarizing language backgrounds and locations of the ML Contributors, that report has a size of 26k. In pure text …

---

## [Model.find(:all) - return a list of ids](https://www.ruby-forum.com/t/model-find-all-return-a-list-of-ids/91858)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 6\
**Last updated:** [April 13, 2007, 6:12am UTC](https://www.ruby-forum.com/t/model-find-all-return-a-list-of-ids/91858 "2007-04-13T06:12:43Z")

</div>

Hi, I currently call find(:all, …) on one of my models and it return a page of models. I am now looking at adding a memcached server and want the find(:all…) to only return model ids, the models will be individually …

---

## [Generating user email accounts](https://www.ruby-forum.com/t/generating-user-email-accounts/85119)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 6\
**Last updated:** [February 11, 2007, 1:28am UTC](https://www.ruby-forum.com/t/generating-user-email-accounts/85119 "2007-02-11T01:28:14Z")

</div>

OK, so we’re getting really close to lauch and someone insists on adding a new feature, great, not a problem, but I’ve never done this before, hopefully someone here can at least point me in the right direction. We n…

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

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