# Top

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

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

---

## [Fibonacci numbers - newbie question](https://www.ruby-forum.com/t/fibonacci-numbers-newbie-question/171959)

<div class="topic-metadata">

**Author:** [@koko](https://www.ruby-forum.com/u/koko)\
**Replies:** 8\
**Last updated:** [July 13, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/fibonacci-numbers-newbie-question/171959 "2009-07-13T18:25:47Z")

</div>

Dear All, I have two Fibonacci method, and I got different result. What wrong in my code.? def fib(n) if n \< 2 1 else fib(n-2) + fib(n-1) end end puts fib(10) # —\> 89 def fib1(x) return x if x \< 2 return fib…

---

## [Rails 2.1 + Oracle](https://www.ruby-forum.com/t/rails-2-1-oracle/142382)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 8\
**Last updated:** [July 10, 2008, 11:15am UTC](https://www.ruby-forum.com/t/rails-2-1-oracle/142382 "2008-07-10T11:15:05Z")

</div>

Hi all, I am completely new to use Oracle with Rails (was using MySQL before). I have some trouble to get my code work despite the rails abstraction. My code was working perfectly with MySQL, but now when I am trying …

---

## [Variables to call methods in ruby](https://www.ruby-forum.com/t/variables-to-call-methods-in-ruby/107661)

<div class="topic-metadata">

**Author:** [@Harnish](https://www.ruby-forum.com/u/Harnish)\
**Replies:** 8\
**Last updated:** [June 25, 2007, 4:13am UTC](https://www.ruby-forum.com/t/variables-to-call-methods-in-ruby/107661 "2007-06-25T04:13:28Z")

</div>

Hi, This is Harnish. I was just wondering if I could call methods using variables? As for example: testfunc = “func” class Test def self.func puts “hello there…!” end end Test. Essentially I want to call Test…

---

## [Gem list empty](https://www.ruby-forum.com/t/gem-list-empty/215428)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 4, 2012, 10:25pm UTC](https://www.ruby-forum.com/t/gem-list-empty/215428 "2012-01-04T22:25:55Z")

</div>

Hi all After I try to install a gem locally using .gem file.My gem list is showing empty. I am using RVM. But my app is running and gems are there in directory. $gem list o/p: \*\*\* LOCAL GEMS…

---

## [How to HABTM with STI?](https://www.ruby-forum.com/t/how-to-habtm-with-sti/96610)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 2\
**Last updated:** [June 30, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/how-to-habtm-with-sti/96610 "2006-06-30T14:12:20Z")

</div>

Hello all This is my first post so excuse the basic question. (and any repeats I just got an email saying this post was too big so I have re-submitted a smaller version) I was following the thread on http://lists.…

---

## [RewriteCond command](https://www.ruby-forum.com/t/rewritecond-command/202591)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 2, 2011, 11:02am UTC](https://www.ruby-forum.com/t/rewritecond-command/202591 "2011-02-02T11:02:30Z")

</div>

hi i’ve seen many example that answered this forum and they use RewriteCond but if i put that command i get error nginx 0.8.3 RewriteCond %{request\_uri} !^index.php if put my conf file it says \[emerg\]: unknown direct…

---

## [Bug? ruby tests do not write to mysql-database](https://www.ruby-forum.com/t/bug-ruby-tests-do-not-write-to-mysql-database/161133)

<div class="topic-metadata">

**Author:** [@schtieF](https://www.ruby-forum.com/u/schtieF)\
**Replies:** 6\
**Last updated:** [February 23, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/bug-ruby-tests-do-not-write-to-mysql-database/161133 "2009-02-23T22:32:27Z")

</div>

Hi, i have a very strange and serious problem. In my test i create an object with (ActiveRecord::Base).create (i also tried .new and .save!) everything seems to be fine, assert \*.errors.empty? is ok but there is ne e…

---

## [Sortie de Rails 2.3RC1](https://www.ruby-forum.com/t/sortie-de-rails-2-3rc1/159190)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 6\
**Last updated:** [February 3, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/sortie-de-rails-2-3rc1/159190 "2009-02-03T17:00:54Z")

</div>

2.3 RC1 est dispo sur http://gems.rubyonrails.org -- Jean-FranÃ§ois. – http://twitter.com/underflow\_

---

## [Can Ruby read emails?](https://www.ruby-forum.com/t/can-ruby-read-emails/92699)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 6\
**Last updated:** [April 24, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/can-ruby-read-emails/92699 "2007-04-24T12:34:11Z")

</div>

I know Ruby can do a lot of neat stuff, I was just wondering if someone has found a way to read emails from a gmail account. The reason is I’m hoping to create a system that a user can email an account with a command,…

---

## [Pybombs update fails - or is it just me?](https://www.ruby-forum.com/t/pybombs-update-fails-or-is-it-just-me/236721)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [October 3, 2013, 10:00pm UTC](https://www.ruby-forum.com/t/pybombs-update-fails-or-is-it-just-me/236721 "2013-10-03T22:00:28Z")

</div>

I get a very strange error when trying to “./pybombs update” - it looks like it only takes the first letter of the package name and consequently fails to find the package. I can’t figure out if this is only a local is…

---

## [No consigo lanzar mi primera aplicacion, hosting](https://www.ruby-forum.com/t/no-consigo-lanzar-mi-primera-aplicacion-hosting/182029)

<div class="topic-metadata">

**Author:** [@nexon](https://www.ruby-forum.com/u/nexon)\
**Replies:** 4\
**Last updated:** [April 12, 2010, 5:13pm UTC](https://www.ruby-forum.com/t/no-consigo-lanzar-mi-primera-aplicacion-hosting/182029 "2010-04-12T17:13:58Z")

</div>

Buenas, intentÃ© hacerlo con Dreamhost y desistÃ­. Ahora estoy con Guebs porque para ser la primera vez, al menos tengo soporte en espaÃ±ol, pero como aun no me han contestado y ya pasÃ³ un dia… Tengo mi aplicaciÃ³n s…

---

## [Mysql Error RELEASE SAVEPOINT active\_record\_1](https://www.ruby-forum.com/t/mysql-error-release-savepoint-active-record-1/164333)

<div class="topic-metadata">

**Author:** [@bobm](https://www.ruby-forum.com/u/bobm)\
**Replies:** 4\
**Last updated:** [March 11, 2010, 10:37am UTC](https://www.ruby-forum.com/t/mysql-error-release-savepoint-active-record-1/164333 "2010-03-11T10:37:43Z")

</div>

Hi, I’m trying to upgrade an app from 2.2.2 to 2.3.2 and I get a bunch of Mysql Errors : Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right…

---

## [Passing url withe period escape char](https://www.ruby-forum.com/t/passing-url-withe-period-escape-char/89394)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 7:10am UTC](https://www.ruby-forum.com/t/passing-url-withe-period-escape-char/89394 "2007-03-20T07:10:11Z")

</div>

In my app I’m trying to use url’s like /foo/23/bar Everything works, except if there’s a decimal. That is, I get a routing error if that 23 is a 23.5 or a 23.0. I saw a bug posted on escape chars and it looks like i…

---

## [Server IP](https://www.ruby-forum.com/t/server-ip/94336)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/server-ip/94336 "2006-05-03T18:57:29Z")

</div>

Can a ruby on rails app obtain the ip of the server it is running on? I’d like the application to be able to determine x set of data is for y data, for example: These domains all point to the same ip… mydomain-1.com …

---

## [Rewrite http\_referer](https://www.ruby-forum.com/t/rewrite-http-referer/164293)

<div class="topic-metadata">

**Author:** [@n3uro5i5](https://www.ruby-forum.com/u/n3uro5i5)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/rewrite-http-referer/164293 "2009-03-30T23:46:09Z")

</div>

Hi, i want to catch request from a determinate referer website and redirect it to my root path. I try this: if ($http\_referer ~\* “my\_referer.com”){ rewrite (.\*) / redirect; } But when i did’t firefox say me that th…

---

## [Getting multiple select to work: options\_for\_select](https://www.ruby-forum.com/t/getting-multiple-select-to-work-options-for-select/126828)

<div class="topic-metadata">

**Author:** [@truchty](https://www.ruby-forum.com/u/truchty)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/getting-multiple-select-to-work-options-for-select/126828 "2008-01-22T16:45:55Z")

</div>

Hi, \<%= select\_tag ‘image\_id’, options\_for\_select(Image.find(:all) {| an\_image| \[ an\_image.name, an\_image.id \] }), :multiple =\> true %\> I am in a view, and I am trying to search the image table and make a multiple s…

---

## [Ruby on Rails tutorial by Michael Hartl](https://www.ruby-forum.com/t/ruby-on-rails-tutorial-by-michael-hartl/244692)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [May 27, 2016, 3:00pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-tutorial-by-michael-hartl/244692 "2016-05-27T15:00:12Z")

</div>

https://lh3.googleusercontent.com/-o2gbqN30EsM/V0dsLwo9ybI/AAAAAAAABGk/2L8tE4SSAvQkNth0yBbrlg5GXPjbhLtqwCLcB/s1600/Clipboard01.jpg Hello, I am doing this tutorial, currently in Chapter 5. I am testing listing 5.26 bu…

---

## [Pixbuf from Gdk::Window](https://www.ruby-forum.com/t/pixbuf-from-gdk-window/240063)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 31, 2014, 5:41am UTC](https://www.ruby-forum.com/t/pixbuf-from-gdk-window/240063 "2014-03-31T05:41:25Z")

</div>

Hi, I want to crate a Gdk::Pixbuf from the content of a Gdk::Window. In Gtk 2.0 times there was the method Gdk::Pixbuf.from\_drawable. But this is removed in Gtk 3.0. In Gtk+ in C there is now the function gdk\_pixbuf\_…

---

## [Newline conversion on reading?](https://www.ruby-forum.com/t/newline-conversion-on-reading/224122)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 31, 2012, 1:30pm UTC](https://www.ruby-forum.com/t/newline-conversion-on-reading/224122 "2012-10-31T13:30:39Z")

</div>

I can’t get newline conversions to work while reading: File.write('foo.txt', "foo\\r\\nbar\\r\\n") File.open('foo.txt', 'r', universal\_newline: true) {|fh| fh.read} # =\> "foo\\r\\nbar\\r\\n", no normalization performed Are the…

---

## [Entry point not found](https://www.ruby-forum.com/t/entry-point-not-found/219947)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 25, 2012, 3:18am UTC](https://www.ruby-forum.com/t/entry-point-not-found/219947 "2012-05-25T03:18:58Z")

</div>

after: gem install visualruby I try to start it by C:\>vr and get the following Popup Error: “The procedure entry point libintl\_setlocale could not be located in the dyamic link library intl.dll” and on the console f…

---

## [How to integrate with Google Map](https://www.ruby-forum.com/t/how-to-integrate-with-google-map/197421)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 19, 2010, 3:46am UTC](https://www.ruby-forum.com/t/how-to-integrate-with-google-map/197421 "2010-10-19T03:46:31Z")

</div>

How to integrate with google map.? sawangpong

---

## [ContentType - text/css for css files in 304 Not Modified](https://www.ruby-forum.com/t/contenttype-text-css-for-css-files-in-304-not-modified/194271)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 3\
**Last updated:** [September 2, 2010, 7:09pm UTC](https://www.ruby-forum.com/t/contenttype-text-css-for-css-files-in-304-not-modified/194271 "2010-09-02T19:09:35Z")

</div>

i want nginx to include ContentType text/css for css files in 304 Not Modified request here is the headers for the static css file request. you can see that there is no ContentType sent. GET /static/fan.css HTTP/1.…

---

## [Mouse wheel events in a grid cell editor?](https://www.ruby-forum.com/t/mouse-wheel-events-in-a-grid-cell-editor/184081)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 3\
**Last updated:** [March 7, 2010, 5:20pm UTC](https://www.ruby-forum.com/t/mouse-wheel-events-in-a-grid-cell-editor/184081 "2010-03-07T17:20:03Z")

</div>

I’m trying to do some advanced editing using Grids. I’ve created my own editors and updating view and model both works fine so far. Thanks to whoever made this possible. I like wxRuby more each day! Now I’d like to ca…

---

## [Re: Engines 2.3 compatibility](https://www.ruby-forum.com/t/re-engines-2-3-compatibility/166072)

<div class="topic-metadata">

**Author:** [@Michael\_Klett](https://www.ruby-forum.com/u/Michael_Klett)\
**Replies:** 3\
**Last updated:** [May 1, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/re-engines-2-3-compatibility/166072 "2009-05-01T20:01:09Z")

</div>

If the community feels that controlling the positioning of the routes is necessary, we should be pursuing this as part of the Rails core implementation, i.e. with tickets and patches and +1s. I have a use-case for n…

---

## [Monit reporting that pid changed](https://www.ruby-forum.com/t/monit-reporting-that-pid-changed/116794)

<div class="topic-metadata">

**Author:** [@Eire\_A](https://www.ruby-forum.com/u/Eire_A)\
**Replies:** 3\
**Last updated:** [October 10, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/monit-reporting-that-pid-changed/116794 "2007-10-10T17:00:18Z")

</div>

Hi, I was wondering if this is normal or if it something i need to wonder about. I get Monit alerts that my mongrels PID files have changed. Changed Service MONGREL\_2 Date: Tue, 09 Oct 2007 14:19:38 +0000 A…

---

## [How to sort div elements in Ruby? (Web Automation, Cucumber, Watir)](https://www.ruby-forum.com/t/how-to-sort-div-elements-in-ruby-web-automation-cucumber-watir/253428)

<div class="topic-metadata">

**Author:** [@Ruby\_Newbie](https://www.ruby-forum.com/u/Ruby_Newbie)\
**Replies:** 0\
**Last updated:** [December 6, 2019, 7:08pm UTC](https://www.ruby-forum.com/t/how-to-sort-div-elements-in-ruby-web-automation-cucumber-watir/253428 "2019-12-06T19:08:22Z")

</div>

I have the following problem - I don’t know how I can sort div elements, which have the same class, same id’s, same name, etc. The only thing that differentiates them are the tags inside them. I am currently learning we…

---

## [Using uninitialized variable value](https://www.ruby-forum.com/t/using-uninitialized-variable-value/243634)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [December 14, 2015, 12:32am UTC](https://www.ruby-forum.com/t/using-uninitialized-variable-value/243634 "2015-12-14T00:32:03Z")

</div>

Hi, we are getting quite a lot of these warnings about using uninitialized variables, although we have “set” directive for each variable in every server block. I understand the fact, that it happens when the request i…

---

## [Issues with config.gem](https://www.ruby-forum.com/t/issues-with-config-gem/144297)

<div class="topic-metadata">

**Author:** [@camerony](https://www.ruby-forum.com/u/camerony)\
**Replies:** 0\
**Last updated:** [July 28, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/issues-with-config-gem/144297 "2008-07-28T13:03:45Z")

</div>

Hi all, I’m using Rails and Engines 2.1.0 and ran into a problem while setting up some config.gem dependencies. From my test.rb environment Gems specifically required for testing config.gem ‘rspec’, :lib =\> …

---

## [URI.decode\_www\_form errors on valid x-www-form-urlencoded strings](https://www.ruby-forum.com/t/uri-decode-www-form-errors-on-valid-x-www-form-urlencoded-strings/237664)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 23, 2013, 6:13am UTC](https://www.ruby-forum.com/t/uri-decode-www-form-errors-on-valid-x-www-form-urlencoded-strings/237664 "2013-11-23T06:13:55Z")

</div>

When you call URI.decode\_www\_form on the following: URI.decode\_www\_form(“a=1?b=2=”) it throws an error, presumably because of the trailing “=”. But after reading http://www.w3.org/TR/html5/forms.html#url-encoded-fo…

---

## [Overriding new\_record?](https://www.ruby-forum.com/t/overriding-new-record/84885)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 2:21pm UTC](https://www.ruby-forum.com/t/overriding-new-record/84885 "2007-02-08T14:21:23Z")

</div>

Hi, Is it possible to override or set ActiveRecord::Base.new\_record? I would like to be able to do something like: c = Category.new c.id = 6 c.name = “updated name” c.new\_record? = false c.save! This would execut…

---

## [Ruby Debugger](https://www.ruby-forum.com/t/ruby-debugger/245812)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [July 21, 2013, 1:52pm UTC](https://www.ruby-forum.com/t/ruby-debugger/245812 "2013-07-21T13:52:57Z")

</div>

Could anybody recommend me a good Ruby Debugger. Preferably one that works in vim. I really like gdbtui for C programming, it saves me hours of time, otherwise debugging using printf statements takes up so much time. …

---

## [Mod\_auth\_request + php5-fpm gives error 504 on POST requests, GET requests are okay](https://www.ruby-forum.com/t/mod-auth-request-php5-fpm-gives-error-504-on-post-requests-get-requests-are-okay/226869)

<div class="topic-metadata">

**Author:** [@refghbn](https://www.ruby-forum.com/u/refghbn)\
**Replies:** 1\
**Last updated:** [February 24, 2013, 6:54pm UTC](https://www.ruby-forum.com/t/mod-auth-request-php5-fpm-gives-error-504-on-post-requests-get-requests-are-okay/226869 "2013-02-24T18:54:12Z")

</div>

Setup: php5-fpm listening on socket + nginx 1.2.6 Wanted to use mod\_auth\_request for www authentication. Works fine for GET requests, POST requests time out with error 504. Error log: 2013/02/24 00:13:03 \[error\] 240…

---

## [Timestamps USRP N210](https://www.ruby-forum.com/t/timestamps-usrp-n210/210277)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 4, 2011, 2:21am UTC](https://www.ruby-forum.com/t/timestamps-usrp-n210/210277 "2011-08-04T02:21:43Z")

</div>

Hello everyone, I am currently working with multiple receivers of USRP N210s. I would like to correlate the received signal of multiple receivers and therefore require them to start sampling at the same time. Is there…

---

## [Como unir dos tablas](https://www.ruby-forum.com/t/como-unir-dos-tablas/204313)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 19, 2011, 2:31pm UTC](https://www.ruby-forum.com/t/como-unir-dos-tablas/204313 "2011-03-19T14:31:17Z")

</div>

soy muy muy nuevo en rails unos dias tengo que hacer una aplicacion para la empresa donde trabajo, si la hago en un lenguaje que este dominado por cualquiera ( php porejemplo ) pss dejaria de ser necesario para la em…

---

## [UHD Announcement - November 23rd 2010](https://www.ruby-forum.com/t/uhd-announcement-november-23rd-2010/199561)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [November 24, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/uhd-announcement-november-23rd-2010/199561 "2010-11-24T20:43:13Z")

</div>

Hello list, Much code has been pushed and new images uploaded. http://code.ettus.com/redmine/ettus/projects/uhd/wiki – Support for new devices Host code, firmware, and FPGA code for the new hardware has been pushed. …

---

## [Error during failsafe response:](https://www.ruby-forum.com/t/error-during-failsafe-response/198414)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [November 6, 2010, 11:24pm UTC](https://www.ruby-forum.com/t/error-during-failsafe-response/198414 "2010-11-06T23:24:47Z")

</div>

I have a form\_tag that works fine using html, but when I use ajax with the remote =\> true I am getting this error:- My terminal log shows:- Started GET “/” for 127.0.0.1 at 2010-11-01 01:19:49 +0000 Processing by Hom…

---

## [Testing against a live environment](https://www.ruby-forum.com/t/testing-against-a-live-environment/187647)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 7\
**Last updated:** [April 29, 2010, 4:42pm UTC](https://www.ruby-forum.com/t/testing-against-a-live-environment/187647 "2010-04-29T16:42:10Z")

</div>

I have a series of tests I want to automate, which involve running shell scripts in a “live” environment (i.e. nothing mocked or stubbed), and then verifying the state of the system. I thought that, even though it doe…

---

## [Problem starting mongrel server](https://www.ruby-forum.com/t/problem-starting-mongrel-server/196840)

<div class="topic-metadata">

**Author:** [@chandu4ruby](https://www.ruby-forum.com/u/chandu4ruby)\
**Replies:** 7\
**Last updated:** [March 30, 2009, 6:18am UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-server/196840 "2009-03-30T06:18:15Z")

</div>

Hi, I am newbie started learning ruby on rails i had an application which used to run pretty well latter i upgraded from webbrick to mongrel 1.1.5 then I am getting the foloowing errors and a default application runs…

---

## [Method\_added/define\_method infinite loop](https://www.ruby-forum.com/t/method-added-define-method-infinite-loop/120070)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 7\
**Last updated:** [November 14, 2007, 6:49am UTC](https://www.ruby-forum.com/t/method-added-define-method-infinite-loop/120070 "2007-11-14T06:49:44Z")

</div>

What’s the best way to avoid the classic method\_added/define\_method infinite loop? class X def self.method\_added(name) p name define\_method(name) # do something else end end def foo; end end This will, of cou…

---

## [Rails/JavaScript issue](https://www.ruby-forum.com/t/rails-javascript-issue/189070)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 5\
**Last updated:** [May 24, 2010, 12:38am UTC](https://www.ruby-forum.com/t/rails-javascript-issue/189070 "2010-05-24T00:38:07Z")

</div>

Hey all, I have an application.js file in my javascripts folder of my Ruby on Rails application. The javascript is just a typical hide/show tabs effect, so when the user clicks on one link, the corresponding div is r…

---

## [Problem iinstalling fftw-3.2 on Centos 5.2 64 bits](https://www.ruby-forum.com/t/problem-iinstalling-fftw-3-2-on-centos-5-2-64-bits/159836)

<div class="topic-metadata">

**Author:** [@anne\_kwong](https://www.ruby-forum.com/u/anne_kwong)\
**Replies:** 5\
**Last updated:** [July 16, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/problem-iinstalling-fftw-3-2-on-centos-5-2-64-bits/159836 "2009-07-16T19:57:43Z")

</div>

Hi, I am having problem getting fftw-3.2 installed on Centos 5.2 64 bits. Does that combination work? My PC is Pentinum based and I did use the –sse option. I just get started with gnuradio. Any help will be great…

---

## [Formatting the test result in Spec](https://www.ruby-forum.com/t/formatting-the-test-result-in-spec/171637)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 5\
**Last updated:** [July 6, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/formatting-the-test-result-in-spec/171637 "2009-07-06T23:10:49Z")

</div>

I got the Spec working in IronRuby! Thanks everyone. How can I get a detailed report (command line) when running the test? Currently, I only get the following: C:\\Projects\\FirstLookAtIronRuby\\FirstLookAtIronRuby\\TestS…

---

## [Associations support in ActiveResource?](https://www.ruby-forum.com/t/associations-support-in-activeresource/76732)

<div class="topic-metadata">

**Author:** [@donzo](https://www.ruby-forum.com/u/donzo)\
**Replies:** 5\
**Last updated:** [November 20, 2006, 11:38pm UTC](https://www.ruby-forum.com/t/associations-support-in-activeresource/76732 "2006-11-20T23:38:41Z")

</div>

Hello Rails Fans, I’m working with a rails application that makes ActiveResource calls to another rails application. Are there plans for supporting associations between models in ActiveResource? The following is an e…

---

## [Retrieving "grandchild" data](https://www.ruby-forum.com/t/retrieving-grandchild-data/71466)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 5\
**Last updated:** [October 9, 2006, 8:03am UTC](https://www.ruby-forum.com/t/retrieving-grandchild-data/71466 "2006-10-09T08:03:06Z")

</div>

If I have three models: Library has\_many :shelves Shelf belongs\_to :library and has\_many :books Book belongs\_to :shelf What is the most efficient way to get all of the books in a Library? Of course the models could …

---

## [Win32api](https://www.ruby-forum.com/t/win32api/94760)

<div class="topic-metadata">

**Author:** [@ckonrad](https://www.ruby-forum.com/u/ckonrad)\
**Replies:** 5\
**Last updated:** [May 14, 2006, 1:36am UTC](https://www.ruby-forum.com/t/win32api/94760 "2006-05-14T01:36:15Z")

</div>

hello does this mean i dont have the WIN32API irb(main):008:0\> require ‘win32api’ LoadError: 127: The specified procedure could not be found. - Init\_win32api C:/ruby/lib/ruby/1.8/i386-mswin32/win32api.so from C:/…

---

## [Pull down menus / Nested Javascripts](https://www.ruby-forum.com/t/pull-down-menus-nested-javascripts/58052)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 5\
**Last updated:** [April 18, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/pull-down-menus-nested-javascripts/58052 "2006-04-18T21:37:18Z")

</div>

Has anyone implemented a tab bar with pull down menus in RoR? I’ve tried various javascript solutions but they all fail once you try to call them from ruby. Any pointers gratefuly received… Cheers John

---

## [Seeking for Feedback – A New Ruby Application Server RuBee](https://www.ruby-forum.com/t/seeking-for-feedback-a-new-ruby-application-server-rubee/267572)

<div class="topic-metadata">

**Author:** [@Nucleom42](https://www.ruby-forum.com/u/Nucleom42)\
**Replies:** 0\
**Last updated:** [March 15, 2025, 9:46pm UTC](https://www.ruby-forum.com/t/seeking-for-feedback-a-new-ruby-application-server-rubee/267572 "2025-03-15T21:46:20Z")

</div>

Hey Rubyists, My name is Oleg and I love and use Ruby in my everyday routine. I’ve been working on Rubee, a new Ruby application server, and I’d love to get your thoughts on it! My goal is to create a lightweight, effi…

---

## [jRuby better than MRI?](https://www.ruby-forum.com/t/jruby-better-than-mri/210921)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [September 1, 2011, 9:19am UTC](https://www.ruby-forum.com/t/jruby-better-than-mri/210921 "2011-09-01T09:19:46Z")

</div>

I have a rails project that runs on MRI 1.9.2 implementation. MRI is implements Ruby in C. And JRuby implements Ruby specification in Java. If C is faster than java, it means MRI is faster than JRuby. Am I Right? Al…

---

## [Problemino di deployng sito prova](https://www.ruby-forum.com/t/problemino-di-deployng-sito-prova/199923)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [December 13, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/problemino-di-deployng-sito-prova/199923 "2010-12-13T22:26:12Z")

</div>

Ringraziando sin d’ora coloro che vogliono darmi qualche suggermento, vi espongo il problemino, premettendo che sono ancora troppo poco esperto per poter conoscere bene Ror… e molte altre cose… Stò cercando di fare un…

---

## [Incorrect Integer Value for MySQL Insert](https://www.ruby-forum.com/t/incorrect-integer-value-for-mysql-insert/165801)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 3\
**Last updated:** [April 17, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/incorrect-integer-value-for-mysql-insert/165801 "2009-04-17T22:21:48Z")

</div>

I am trying to insert a line of data into a table in MySQL 5, the data I am using is: StartTime: 20090413 13:41:53.000 TestName:changehistory.pl Pass:20 Fail:0 Total:20 Using this function I strip the data down and a…

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

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