# Top

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

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

---

## [Editor Backup files (xxx.html.erb.bak) werden geladen](https://www.ruby-forum.com/t/editor-backup-files-xxx-html-erb-bak-werden-geladen/163099)

<div class="topic-metadata">

**Author:** [@cobra050](https://www.ruby-forum.com/u/cobra050)\
**Replies:** 3\
**Last updated:** [March 17, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/editor-backup-files-xxx-html-erb-bak-werden-geladen/163099 "2009-03-17T20:12:09Z")

</div>

Hallo Forum, ich habe einen Fehler, den ich nicht verstehe: Es wird nicht der aktuelle Code geladen / ausgefÃ¼hrt /in Fehlermeldungen angezeigt (xxx.html.erb), sondern die Backup files des Editors (xxx.html.erb.bak). …

---

## [Getting a n-th key-value pair from a hash](https://www.ruby-forum.com/t/getting-a-n-th-key-value-pair-from-a-hash/89882)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 3\
**Last updated:** [March 23, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/getting-a-n-th-key-value-pair-from-a-hash/89882 "2007-03-23T15:12:32Z")

</div>

Hi! suppose I have this hash: data = { “a” =\> 1, “b” =\> 2, “c” =\> 3 } I’d like to get a random pair from the hash. so data.get\_pair(data.rand) should return \[“b”, 2\] for example. How could this be done? I cannot f…

---

## [RubyODBC bus error under Rails](https://www.ruby-forum.com/t/rubyodbc-bus-error-under-rails/61982)

<div class="topic-metadata">

**Author:** [@surplustronics](https://www.ruby-forum.com/u/surplustronics)\
**Replies:** 3\
**Last updated:** [May 30, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/rubyodbc-bus-error-under-rails/61982 "2006-05-30T16:42:25Z")

</div>

Hi all, I’ve got a very obscure problem. We’re trying to get Rails to talk to Filemaker. So we’ve setup an ODBC dsn and via RubyODBC we’re talking to it. Excellent. Try it under rails and rails won’t even startup, ge…

---

## [Exception\_notification plugin not sending mails in developme](https://www.ruby-forum.com/t/exception-notification-plugin-not-sending-mails-in-developme/94530)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/exception-notification-plugin-not-sending-mails-in-developme/94530 "2006-05-10T21:16:18Z")

</div>

Hi everyone, So, I’ve got exception\_notification working now, but not in development mode on localhost. In my ApplicationController, I’ve added: local\_addresses.clear Shouldn’t that be enough? Thank you! Sean

---

## [Turbo encoding/decoding GRC blocks + examples](https://www.ruby-forum.com/t/turbo-encoding-decoding-grc-blocks-examples/211307)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 6, 2011, 5:53am UTC](https://www.ruby-forum.com/t/turbo-encoding-decoding-grc-blocks-examples/211307 "2011-09-06T05:53:30Z")

</div>

Hey all, I updated gr-trellis with serial/parallel turbo encoders and decoders and corresponding GRC blocks, as well as some examples in gnuradio-examples/grc/trellis I have these updates on branch “turbo” on my gith…

---

## [Problem: open-uri blocking redirection from http to https](https://www.ruby-forum.com/t/problem-open-uri-blocking-redirection-from-http-to-https/203348)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 28, 2011, 2:33pm UTC](https://www.ruby-forum.com/t/problem-open-uri-blocking-redirection-from-http-to-https/203348 "2011-02-28T14:33:45Z")

</div>

Hello, I was working on a small script to verify the presence of an element through a list of URL, some of these URLs have a redirections from http to https, when the script crawled into them I got the following erro…

---

## [Passing multiple arguments in resque scheduler](https://www.ruby-forum.com/t/passing-multiple-arguments-in-resque-scheduler/202206)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 25, 2011, 5:00am UTC](https://www.ruby-forum.com/t/passing-multiple-arguments-in-resque-scheduler/202206 "2011-01-25T05:00:09Z")

</div>

Hi, I have implemented resque scheduler in my application by looking at example here GitHub - resque/resque-scheduler: A light-weight job scheduling system built on top of Resque. I have configured resque\_schedule.yml…

---

## [Class instance variable visibility to nested modules](https://www.ruby-forum.com/t/class-instance-variable-visibility-to-nested-modules/185682)

<div class="topic-metadata">

**Author:** [@grar](https://www.ruby-forum.com/u/grar)\
**Replies:** 1\
**Last updated:** [March 24, 2010, 5:09pm UTC](https://www.ruby-forum.com/t/class-instance-variable-visibility-to-nested-modules/185682 "2010-03-24T17:09:05Z")

</div>

Hi, I’d like to organize the inner namespace of a class s.t. an inner, or ‘nested’, module (or class) has access to the instance variables of the outer class. After experimenting a bit, it seems there is no visibility …

---

## [Problems with request.remote\_ip](https://www.ruby-forum.com/t/problems-with-request-remote-ip/130009)

<div class="topic-metadata">

**Author:** [@roybotnik](https://www.ruby-forum.com/u/roybotnik)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 9:41am UTC](https://www.ruby-forum.com/t/problems-with-request-remote-ip/130009 "2008-02-24T09:41:02Z")

</div>

Hello everyone, I am trying to use request.remote\_ip in my application to log a user’s IP address because I have been having a lot of abuse issues. basically when a user logs I simply call user.update\_attribute(:last…

---

## [Rails Deployment Video Tutorial](https://www.ruby-forum.com/t/rails-deployment-video-tutorial/233373)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 8, 2014, 8:16pm UTC](https://www.ruby-forum.com/t/rails-deployment-video-tutorial/233373 "2014-12-08T20:16:13Z")

</div>

I just put together a Rails deployment video tutorial at Deploy Ruby on Rails Tutorial | Ruby Tree Software. It covers how to deploy Rails version 4.1 to your own server using Ubuntu, Postgres, Nginx, Unicorn and Capi…

---

## [Help with class variable example from "Well Grounded Rubyist"](https://www.ruby-forum.com/t/help-with-class-variable-example-from-well-grounded-rubyist/239810)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [March 17, 2014, 4:38pm UTC](https://www.ruby-forum.com/t/help-with-class-variable-example-from-well-grounded-rubyist/239810 "2014-03-17T16:38:59Z")

</div>

Can someone help me grok this example from “Well Grounded Rubyist”? class Person attr\_accessor :age def initialize(options) self.age = options\[:age\] end def teenager? (13…19) === age end end As I understand it …

---

## [Make test failed](https://www.ruby-forum.com/t/make-test-failed/225858)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 6\
**Last updated:** [March 13, 2013, 12:30pm UTC](https://www.ruby-forum.com/t/make-test-failed/225858 "2013-03-13T12:30:56Z")

</div>

Hello everyone, I am trying to build my own block using gr\_modtool.py. But When I run make test its gives me an error. mkk@comsec-ThinkCentre-M90p:~/Desktop/gr-howto/build$ ctest -V UpdateCTestConfiguration from :…

---

## [Best DRY way to write bang versions of methods?](https://www.ruby-forum.com/t/best-dry-way-to-write-bang-versions-of-methods/229916)

<div class="topic-metadata">

**Author:** [@virtuoso](https://www.ruby-forum.com/u/virtuoso)\
**Replies:** 6\
**Last updated:** [February 14, 2013, 2:02pm UTC](https://www.ruby-forum.com/t/best-dry-way-to-write-bang-versions-of-methods/229916 "2013-02-14T14:02:28Z")

</div>

I’ve been wondering about the best way to quickly create a “bang” version of a method (specifically one which overwrites self). Is there a better DRY approach than the below? I guess that there’s probably a way to inp…

---

## [HTTP REST request (GET) da un server rails](https://www.ruby-forum.com/t/http-rest-request-get-da-un-server-rails/222627)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 7, 2012, 9:18am UTC](https://www.ruby-forum.com/t/http-rest-request-get-da-un-server-rails/222627 "2012-09-07T09:18:27Z")

</div>

Scusate la domanda banale, devo fare una HTTP request da un server rails, so che esiste net/http, ma ho visto che attualmente ci sono librerie di piu’ alto livello (hhtpclient?) voi cosa consigliate? Il server deve…

---

## [Background and scenario outline interaction](https://www.ruby-forum.com/t/background-and-scenario-outline-interaction/166425)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 6\
**Last updated:** [April 28, 2009, 1:32am UTC](https://www.ruby-forum.com/t/background-and-scenario-outline-interaction/166425 "2009-04-28T01:32:02Z")

</div>

Hi, I was surprised by this so I suspect it may be a bug. I have a Scenario Outline, and a Background in my Feature and nothing else, The Background got executed 1 more time than expected. Details are the Scenario O…

---

## [Number\_to\_currency doesn't work](https://www.ruby-forum.com/t/number-to-currency-doesnt-work/165918)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 6\
**Last updated:** [April 21, 2009, 9:16pm UTC](https://www.ruby-forum.com/t/number-to-currency-doesnt-work/165918 "2009-04-21T21:16:12Z")

</div>

Hey, I have no idea but for some reason number\_to\_currency doesn’t work in my application. \<%= number\_to\_currency(50, :unit =\> “£”, :separator =\> “,”, :delimiter =\> “”, :format =\> “%n %u”) %\> returns 50 Does anyon…

---

## [Database driven root level routing, like /some\_page\_name](https://www.ruby-forum.com/t/database-driven-root-level-routing-like-some-page-name/137521)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 6\
**Last updated:** [May 15, 2008, 5:07am UTC](https://www.ruby-forum.com/t/database-driven-root-level-routing-like-some-page-name/137521 "2008-05-15T05:07:26Z")

</div>

I have a “page” model, and I want to be able access those pages with a URL like: http://foo.com/my\_page\_name Just wondering if there is a best practice for this. I have avoided it this far because I didnt want these …

---

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

<div class="topic-metadata">

**Author:** [@polg](https://www.ruby-forum.com/u/polg)\
**Replies:** 6\
**Last updated:** [January 10, 2008, 4:07am UTC](https://www.ruby-forum.com/t/problemas-con-urls/125498 "2008-01-10T04:07:43Z")

</div>

Hola lista, soy nuevo en la lista y en rails 2.0, les cuento mi problema… Anteriormente programe en rails y me parecio sencillamente INCREIBLE, ahora actualice a 2.0 de rails y encare un proyecto nuevo, mi prolema es …

---

## [Otro chat/foro sobre Rails en castellano?](https://www.ruby-forum.com/t/otro-chat-foro-sobre-rails-en-castellano/111856)

<div class="topic-metadata">

**Author:** [@rpm](https://www.ruby-forum.com/u/rpm)\
**Replies:** 6\
**Last updated:** [August 12, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/otro-chat-foro-sobre-rails-en-castellano/111856 "2007-08-12T22:01:29Z")

</div>

Chris Palau escribió: \> ¿Aparte de este foro existe algun chat o foro sobre ruby on rails en español ? Yo no conozco otro. He abierto otro hilo para darle visibilidad a tu nueva pregunta :wink: Saludos, Raul M.

---

## [Installing Ferret locally on TextDrive](https://www.ruby-forum.com/t/installing-ferret-locally-on-textdrive/56739)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 6\
**Last updated:** [April 7, 2006, 10:34am UTC](https://www.ruby-forum.com/t/installing-ferret-locally-on-textdrive/56739 "2006-04-07T10:34:47Z")

</div>

I would like to give the 0.9.0 version of Ferret a try on my application hosted on TextDrive. I am currently running on the 0.3.2 version there. Does anyone have any tips on installing it locally there? I know just …

---

## [One of my routes is not working](https://www.ruby-forum.com/t/one-of-my-routes-is-not-working/227106)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 5\
**Last updated:** [March 4, 2013, 7:59pm UTC](https://www.ruby-forum.com/t/one-of-my-routes-is-not-working/227106 "2013-03-04T19:59:29Z")

</div>

I have a User model which has\_many :portfolios and each Portfolio has\_many :pictures. My routes look like this: resources :users do resources :portfolios do resources :pictures end end Then I try to create a new …

---

## [\[Ruby 1.9-Bug#4387\]\[Open\] test socket connect nonblock(TestSocketAddrinfo) がまれに失敗する](https://www.ruby-forum.com/t/ruby-1-9-bug-4387-open-test-socket-connect-nonblock-testsocketaddrinfo/202968)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 10, 2011, 2:59pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4387-open-test-socket-connect-nonblock-testsocketaddrinfo/202968 "2011-02-10T14:59:08Z")

</div>

Bug #4387: test\_socket\_connect\_nonblock(TestSocketAddrinfo) がまれに失敗する http://redmine.ruby-lang.org/issues/show/4387 起票者: Motohiro KOSAKI ステータス: Open, 優先度: Normal カテゴリ: core, Target version: 1.9.x ruby -v: ruby 1.9.3d…

---

## [Composition vs 'leaf-class mixins' (vs class inheritance)](https://www.ruby-forum.com/t/composition-vs-leaf-class-mixins-vs-class-inheritance/195161)

<div class="topic-metadata">

**Author:** [@woahdae](https://www.ruby-forum.com/u/woahdae)\
**Replies:** 5\
**Last updated:** [September 24, 2010, 9:18am UTC](https://www.ruby-forum.com/t/composition-vs-leaf-class-mixins-vs-class-inheritance/195161 "2010-09-24T09:18:17Z")

</div>

I have a design question inspired by Rails 3 internals. In Design Patterns in Ruby, the Strategy pattern is cited as a way to vary an algorithm following the oft-spoken “prefer composition over inheritance” advice. Fo…

---

## [Linux Server load after deploy](https://www.ruby-forum.com/t/linux-server-load-after-deploy/139857)

<div class="topic-metadata">

**Author:** [@CRAZ8](https://www.ruby-forum.com/u/CRAZ8)\
**Replies:** 5\
**Last updated:** [June 9, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/linux-server-load-after-deploy/139857 "2008-06-09T18:49:46Z")

</div>

I’m setting up a brand new second server for my Rails applications, and am having a problem with server load getting out of control. The machine is a quad core 2Ghz with 4G Ram and a single 500GB disk. This is a web/a…

---

## [EMACS with ruby-mode](https://www.ruby-forum.com/t/emacs-with-ruby-mode/110740)

<div class="topic-metadata">

**Author:** [@Felix\_ESKlee](https://www.ruby-forum.com/u/Felix_ESKlee)\
**Replies:** 5\
**Last updated:** [July 31, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/emacs-with-ruby-mode/110740 "2007-07-31T18:47:14Z")

</div>

I’m using EMACS’ ruby-mode, and with the following code, “x += 3” gets highlighted as if it was a string. puts %{it’s annoying} x = 3 + 5 Does anyone know a quick workaround/solution? Is there some Ruby mode for EMA…

---

## [Akismet Integration](https://www.ruby-forum.com/t/akismet-integration/96247)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 5\
**Last updated:** [June 28, 2006, 6:00pm UTC](https://www.ruby-forum.com/t/akismet-integration/96247 "2006-06-28T18:00:57Z")

</div>

What about an aKismet integration, using Akismet ruby API? Should help with spam issue IMHO http://www.blojsom.com/blog/nerdery/2005/12/02/Akismet-API-in-Ruby.html Frederic FrÃ©dÃ©ric de Villamil “Quand tu veux cha…

---

## [Condition in upstream](https://www.ruby-forum.com/t/condition-in-upstream/222856)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 13, 2012, 9:30am UTC](https://www.ruby-forum.com/t/condition-in-upstream/222856 "2012-09-13T09:30:59Z")

</div>

Hi guys, I’m studying about in the use of upstream in the nginx. And I have a question about the condition of use it. Now, I have the following environment in production: Internet – \> Nginx → Varnish → Apache I woul…

---

## [Gzip\_types now automatically includes text/html?](https://www.ruby-forum.com/t/gzip-types-now-automatically-includes-text-html/146030)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 2\
**Last updated:** [August 16, 2008, 11:15am UTC](https://www.ruby-forum.com/t/gzip-types-now-automatically-includes-text-html/146030 "2008-08-16T11:15:51Z")

</div>

\[root@web01 ~\]# /etc/init.d/nginx restart Restarting nginx: 2008/08/16 01:54:55 \[warn\] 15993#0: duplicate MIME type “text/html” in /etc/nginx/nginx.conf:75 nginx. \[root@web01 ~\]# This was the line: gzip\_types t…

---

## [Statically generated call graph](https://www.ruby-forum.com/t/statically-generated-call-graph/122938)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [December 13, 2007, 1:03am UTC](https://www.ruby-forum.com/t/statically-generated-call-graph/122938 "2007-12-13T01:03:04Z")

</div>

Is there anything out there that will statically analyse a ruby project and spit out a call graph? It needn’t be 100% complete or accurate, just static (all I could find from google was profilers that spat out call gr…

---

## [Acts?](https://www.ruby-forum.com/t/acts/118522)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 2\
**Last updated:** [December 1, 2007, 1:06am UTC](https://www.ruby-forum.com/t/acts/118522 "2007-12-01T01:06:34Z")

</div>

I see some stuff in the og/model directory that corresponds to some of the common Rails acts\_as mixins. I’m curious as to what stage of completion/reliability these things are at. Also, are there other commonly used …

---

## [Nitro/Og cheat sheet styles/ideas/levels](https://www.ruby-forum.com/t/nitro-og-cheat-sheet-styles-ideas-levels/119115)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 2\
**Last updated:** [November 4, 2007, 3:14am UTC](https://www.ruby-forum.com/t/nitro-og-cheat-sheet-styles-ideas-levels/119115 "2007-11-04T03:14:23Z")

</div>

Hi Devs, One issues the following examples raise is what is the level the cheat sheet is aimed at? ‘Beginner howto cheat sheet’ vs ‘Reference cheat sheet’ Even if there is initially only be one, later there will lile…

---

## [Cannot ri on windows 8](https://www.ruby-forum.com/t/cannot-ri-on-windows-8/230110)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 1, 2014, 7:09pm UTC](https://www.ruby-forum.com/t/cannot-ri-on-windows-8/230110 "2014-06-01T19:09:10Z")

</div>

Hi all, I try to do some ri on windows 8. Here are results: ruby 2.0.0p451 (2014-02-24) \[x64-mingw32\] C:\\Users\\alex\>ri Enter the method name you want to look up. You can use tab to autocomplete. Enter a blank line…

---

## [Understanding Asset Pipeline](https://www.ruby-forum.com/t/understanding-asset-pipeline/214098)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 21, 2011, 8:03pm UTC](https://www.ruby-forum.com/t/understanding-asset-pipeline/214098 "2011-11-21T20:03:19Z")

</div>

ok, so I’m doing an upgrade on a rails 2.3.2 app to 3.1, and I’ve noticed a lot of roadblocks with the asset pipeline. Luckily I’ve figured them all out, but I’m wondering how everyone else is solving these issues. L…

---

## [Accessing Rails helper method with\_output\_buffer](https://www.ruby-forum.com/t/accessing-rails-helper-method-with-output-buffer/211769)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 15, 2011, 11:41am UTC](https://www.ruby-forum.com/t/accessing-rails-helper-method-with-output-buffer/211769 "2011-09-15T11:41:04Z")

</div>

Hi all, I cannot figure out how to correctly use the with\_output\_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I’m trying to ac…

---

## [Problem with BSON for jruby](https://www.ruby-forum.com/t/problem-with-bson-for-jruby/204946)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 25, 2011, 7:25pm UTC](https://www.ruby-forum.com/t/problem-with-bson-for-jruby/204946 "2011-03-25T19:25:24Z")

</div>

Hi I am having trouble with a rubygem called BSON the code I am running in IRB jruby-1.4.0 :001 \> require ‘rubygems’ =\> true jruby-1.4.0 :002 \> require ‘bson’ =\> true jruby-1.4.0 :003 \> doc = {:hello =\> “world”} …

---

## [Rspec2 - Absolutely brilliant! (at breaking stuff) - Is there a downgrade path?](https://www.ruby-forum.com/t/rspec2-absolutely-brilliant-at-breaking-stuff-is-there-a-downgrade-path/199894)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [February 2, 2011, 12:11am UTC](https://www.ruby-forum.com/t/rspec2-absolutely-brilliant-at-breaking-stuff-is-there-a-downgrade-path/199894 "2011-02-02T00:11:33Z")

</div>

Just installed Rspec2 and noticed an immediate improvement in speed: it broke all 899 passing tests on an important project in a matter of seconds. Sadly, I don’t have the time to work my way through the multitude up…

---

## [Exception Notification](https://www.ruby-forum.com/t/exception-notification/195554)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 3\
**Last updated:** [September 28, 2010, 11:25pm UTC](https://www.ruby-forum.com/t/exception-notification/195554 "2010-09-28T23:25:49Z")

</div>

I am using the the exception notification plugin for rails version 2.3 This is what I have in my environment.rb file ExceptionNotification::Notifier.exception\_recipients = %w(removed\_email\_address@domain.invalid) In …

---

## [Proxy\_cache\_use\_stale updating and X-Accel-Expires=0](https://www.ruby-forum.com/t/proxy-cache-use-stale-updating-and-x-accel-expires-0/191960)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 3\
**Last updated:** [July 31, 2010, 12:06am UTC](https://www.ruby-forum.com/t/proxy-cache-use-stale-updating-and-x-accel-expires-0/191960 "2010-07-31T00:06:23Z")

</div>

Hi, I have a strange situation. I don’t really know if it’s a bug or a feature. I’m using nginx as a cached reverse proxy to apache/mod\_php. I have the following (simplified) conf: proxy\_cache\_use\_stale updating err…

---

## [Bash completion for the gem command](https://www.ruby-forum.com/t/bash-completion-for-the-gem-command/86654)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 10:24pm UTC](https://www.ruby-forum.com/t/bash-completion-for-the-gem-command/86654 "2007-03-05T22:24:59Z")

</div>

To my surprise there apparently hasn’t been support for bash command line completion for the gem command. I’ve cobbled together a file that add just that. See http://schuerig.de/michael/blog/index.php/2007/02/24/gem-b…

---

## [Any fast algorithm for computing square root?](https://www.ruby-forum.com/t/any-fast-algorithm-for-computing-square-root/72777)

<div class="topic-metadata">

**Author:** [@Dawei\_Shen](https://www.ruby-forum.com/u/Dawei_Shen)\
**Replies:** 3\
**Last updated:** [October 23, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/any-fast-algorithm-for-computing-square-root/72777 "2006-10-23T19:10:03Z")

</div>

Hey guys A question not quite related to GNU Radio. Does there exist any fast algorithm for computing the square root of a float number? In my algorithm, I need to compute the square root of a float number which rang…

---

## [Validates\_associated problem](https://www.ruby-forum.com/t/validates-associated-problem/54693)

<div class="topic-metadata">

**Author:** [@sreechand\_boppudi](https://www.ruby-forum.com/u/sreechand_boppudi)\
**Replies:** 3\
**Last updated:** [March 13, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/validates-associated-problem/54693 "2006-03-13T17:32:55Z")

</div>

Hello, I have a situation where an ‘employee’ belongs to a ‘department’ and have setup the relationship as follows. class Employee \< ActiveRecord::Base belongs\_to :department, :foregin\_key =\> “department\_id” validat…

---

## [A ruby gem to connect multiple database](https://www.ruby-forum.com/t/a-ruby-gem-to-connect-multiple-database/260518)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 4\
**Last updated:** [December 3, 2020, 5:53am UTC](https://www.ruby-forum.com/t/a-ruby-gem-to-connect-multiple-database/260518 "2020-12-03T05:53:55Z")

</div>

is there any ruby to connect multiple databases(mysql,mssql,oracle,snowflake)

---

## [Internal marked 503 error page returns default 404](https://www.ruby-forum.com/t/internal-marked-503-error-page-returns-default-404/243108)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 26, 2015, 12:09am UTC](https://www.ruby-forum.com/t/internal-marked-503-error-page-returns-default-404/243108 "2015-08-26T00:09:37Z")

</div>

Hi, I have the following configuration: server { location = /unavailable.html { internal; } try\_files $uri =503; error\_page 503 /unavailable.html; } My goal is to have all existing files with…

---

## [Errors using HttpUseridModule](https://www.ruby-forum.com/t/errors-using-httpuseridmodule/238559)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 17, 2014, 6:07pm UTC](https://www.ruby-forum.com/t/errors-using-httpuseridmodule/238559 "2014-01-17T18:07:33Z")

</div>

Hi guys, I’m using the HttpUseridModule for storing session ids of our users. We’re receiving a lot of errors lately concerning the format of the userid cookie. Basically there are two types of errors: \[error\] 1581#…

---

## [Io\_type configuration for uhd.single\_usrp\_source](https://www.ruby-forum.com/t/io-type-configuration-for-uhd-single-usrp-source/209723)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 21, 2011, 7:36pm UTC](https://www.ruby-forum.com/t/io-type-configuration-for-uhd-single-usrp-source/209723 "2011-07-21T19:36:15Z")

</div>

Dear all, I am using USRP N200 +UHD with the LFRX daughter board to detect a 100kHz coded sinusoid wave then down convert the signal to baseband to see the coding method. The flow graph I am using is: u2=uhd.single\_u…

---

## [Nokogiri : Modifying Nodes and Attributes](https://www.ruby-forum.com/t/nokogiri-modifying-nodes-and-attributes/207668)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 31, 2011, 9:06pm UTC](https://www.ruby-forum.com/t/nokogiri-modifying-nodes-and-attributes/207668 "2011-05-31T21:06:13Z")

</div>

In my test i do have : Because i know this declaration is false from Lynx saying it is UTF-8, i want to change the content attribute by : meta=doc.at\_xpath("/html/head/meta") meta\['content'\]="text/html; charset=UTF…

---

## [What is the proper role of seed data?](https://www.ruby-forum.com/t/what-is-the-proper-role-of-seed-data/185228)

<div class="topic-metadata">

**Author:** [@Grary](https://www.ruby-forum.com/u/Grary)\
**Replies:** 4\
**Last updated:** [March 16, 2010, 6:18pm UTC](https://www.ruby-forum.com/t/what-is-the-proper-role-of-seed-data/185228 "2010-03-16T18:18:10Z")

</div>

Hi, In my Rails app, I have some parameters whose values change only infrequently. These parameters are used in computations. Where is the place for data like this – data that is particular to the application? On th…

---

## [Question about wxbutton?](https://www.ruby-forum.com/t/question-about-wxbutton/182950)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 4\
**Last updated:** [February 12, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/question-about-wxbutton/182950 "2010-02-12T14:03:29Z")

</div>

hello, I have some question. when I use wxbutton. the button is a simple window system theme how can I change this button to window vista button style? and how can I remove cmd box in background? see picture for more…

---

## [Do I need "ruby-libs" as a prerequisite to install/run ruby? what is "ruby-libs" exactly?](https://www.ruby-forum.com/t/do-i-need-ruby-libs-as-a-prerequisite-to-install-run-ruby-what-is-ruby-libs-exactly/159704)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [February 7, 2009, 12:14pm UTC](https://www.ruby-forum.com/t/do-i-need-ruby-libs-as-a-prerequisite-to-install-run-ruby-what-is-ruby-libs-exactly/159704 "2009-02-07T12:14:07Z")

</div>

Hi, If I’m downloading the ruby source to compile on my Redhat linux box, do I need “ruby-libs” as a prerequisite? I’ve seen it referred to but not sure what it is? If it does exist and I need it, where would I do…

---

## [Getting Started with RoR](https://www.ruby-forum.com/t/getting-started-with-ror/85821)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 4\
**Last updated:** [February 16, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/getting-started-with-ror/85821 "2007-02-16T16:48:23Z")

</div>

Hey guys! I’ve been hearing so much about how great this RoR stuff is that I’ve decided to put some effort into learning it, but I’m having a problem. I’ve been trying for about two weeks now to just get going with …

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

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