# Top

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

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

---

## [Clean up my two\_sums with indices](https://www.ruby-forum.com/t/clean-up-my-two-sums-with-indices/234082)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 4, 2015, 9:03pm UTC](https://www.ruby-forum.com/t/clean-up-my-two-sums-with-indices/234082 "2015-02-04T21:03:30Z")

</div>

I’m just wondering if there is a cleaner way to write this, without having to use 2 each.with\_index’s: I need to find if 2 numbers within an array sum to zero, and if they do return the indices of said numbers. def tw…

---

## [Problems setting ttl on single image](https://www.ruby-forum.com/t/problems-setting-ttl-on-single-image/238262)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 30, 2013, 2:57am UTC](https://www.ruby-forum.com/t/problems-setting-ttl-on-single-image/238262 "2013-12-30T02:57:15Z")

</div>

I’m trying to enable a 10 minute autorefresh for my webcam which you can see at http://www.diamondharbour.org.nz/Local-Weather.html Server runs nginx 1.4.4 ( and an ancient CMS called Etomite ). Here’s the WPT result W…

---

## [Working example of rx\_ofdm and rx\_ofdm with Gnuradio Companion](https://www.ruby-forum.com/t/working-example-of-rx-ofdm-and-rx-ofdm-with-gnuradio-companion/236600)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 19, 2013, 6:52pm UTC](https://www.ruby-forum.com/t/working-example-of-rx-ofdm-and-rx-ofdm-with-gnuradio-companion/236600 "2013-09-19T18:52:09Z")

</div>

Hello All, Reviving an older discussion (from what I gather from the list archives). Does anyone have a working example of rx\_ofdm.grc and tx\_ofdm.grc? Or in the minimum, a working example of rx\_ofdm.grc that plays w…

---

## [\[ruby-trunk - Feature #7251\]\[Open\] using usings in usinged Module](https://www.ruby-forum.com/t/ruby-trunk-feature-7251-open-using-usings-in-usinged-module/224137)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 1, 2012, 6:08am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-7251-open-using-usings-in-usinged-module/224137 "2012-11-01T06:08:07Z")

</div>

Issue #7251 has been reported by matsuda (Akira M.). Feature #7251: using usings in usinged Module Author: matsuda (Akira M.) Status: Open Priority: Normal Assignee: shugo (Shugo M.) Category: core Target versio…

---

## [Intermittent proxy\_pass error - body shows headers](https://www.ruby-forum.com/t/intermittent-proxy-pass-error-body-shows-headers/220838)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 21, 2012, 9:59pm UTC](https://www.ruby-forum.com/t/intermittent-proxy-pass-error-body-shows-headers/220838 "2012-06-21T21:59:28Z")

</div>

Hi all First kudos to all of the maintainers of modules and the nginx team. Great product guys!! I am getting an intermittent error where the headers of a 302 redirect are being shown as the body in the browser. The…

---

## [MySql2 adapter hangs in Rails3 on Windows XP](https://www.ruby-forum.com/t/mysql2-adapter-hangs-in-rails3-on-windows-xp/208061)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 10, 2011, 7:54pm UTC](https://www.ruby-forum.com/t/mysql2-adapter-hangs-in-rails3-on-windows-xp/208061 "2011-06-10T19:54:07Z")

</div>

Previously we’ve used Rails2.xx with no problems and we’re trying to upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby versions separate. After some initial difficulties with MySql2 gem installation, fo…

---

## [Euler Project Problem 3](https://www.ruby-forum.com/t/euler-project-problem-3/207867)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 6, 2011, 8:08pm UTC](https://www.ruby-forum.com/t/euler-project-problem-3/207867 "2011-06-06T20:08:45Z")

</div>

I am beginning with Ruby and trying to solve the third problem on the Euler project. When I run the below code I get the following results: 5 7 13 29 65 145 377 1015 2639 But 65, 145, 377, 1015 and 2639 shoul…

---

## [\[Ruby 1.9 - Bug #4455\] \[Assigned\] rubygem's test fails when source directory and build directory dif](https://www.ruby-forum.com/t/ruby-1-9-bug-4455-assigned-rubygems-test-fails-when-source-directory-and-build-directory-dif/203899)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 8, 2011, 2:39am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4455-assigned-rubygems-test-fails-when-source-directory-and-build-directory-dif/203899 "2011-04-08T02:39:18Z")

</div>

Issue #4455 has been reported by Yui NARUSE. Bug #4455: rubygem’s test fails when source directory and build directory differ Author: Yui NARUSE Status: Assigned Priority: Normal Assignee: Eric H. Category: lib …

---

## [Re: how to stop the top\_block and restart signal transmission](https://www.ruby-forum.com/t/re-how-to-stop-the-top-block-and-restart-signal-transmission/203578)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 23, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/re-how-to-stop-the-top-block-and-restart-signal-transmission/203578 "2011-02-23T18:45:50Z")

</div>

Sorry about the last uncompleted email. I tried the method lock() and unlock() to completely pause the flow graph without transmitting any signal, but the continuous carrier wave still showed on the oscilloscope. I’m …

---

## [Trouble with mkfifo and forks](https://www.ruby-forum.com/t/trouble-with-mkfifo-and-forks/194542)

<div class="topic-metadata">

**Author:** [@joshs](https://www.ruby-forum.com/u/joshs)\
**Replies:** 2\
**Last updated:** [September 7, 2010, 10:40am UTC](https://www.ruby-forum.com/t/trouble-with-mkfifo-and-forks/194542 "2010-09-07T10:40:19Z")

</div>

In a nutshell: Create a pipe Fork twice Each for sends 10 strings over the pipe See what comes out the other side So, why isn’t what I send coming out? class WaitListTest \< Test::Unit::TestCase NUMBER\_OF\_ORDERS = 2 …

---

## [How to rewrite a curl request into a NET::HTTP one?](https://www.ruby-forum.com/t/how-to-rewrite-a-curl-request-into-a-net-http-one/194031)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [August 28, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/how-to-rewrite-a-curl-request-into-a-net-http-one/194031 "2010-08-28T18:30:35Z")

</div>

I have a curl request (to upload a file) which is running weel in the console $curl -H “X-TrackerToken: xxxxxxx” -X POST -F Filedata=@/Developpement/Projects/TESTS/pictures/Glen.gif http://www.pivotaltracker.com/serv…

---

## [Common.proj](https://www.ruby-forum.com/t/common-proj/192450)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 2\
**Last updated:** [July 30, 2010, 9:38pm UTC](https://www.ruby-forum.com/t/common-proj/192450 "2010-07-30T21:38:16Z")

</div>

Hey, All csproj now refer to Solutions/Common.proj which isn’t in the git tree. Please check it in :slight\_smile: Thanks,

---

## [About spec.opts and command line options and global options](https://www.ruby-forum.com/t/about-spec-opts-and-command-line-options-and-global-options/192350)

<div class="topic-metadata">

**Author:** [@juuser](https://www.ruby-forum.com/u/juuser)\
**Replies:** 2\
**Last updated:** [July 28, 2010, 9:57pm UTC](https://www.ruby-forum.com/t/about-spec-opts-and-command-line-options-and-global-options/192350 "2010-07-28T21:57:56Z")

</div>

Hello! I have some questions/proposals which have been quite time on my mind already. Let’s suppose i have files under spec directory with the following structure and contents: spec/helper.rb module Helper end spe…

---

## [Logging which SSL cipher a client is using](https://www.ruby-forum.com/t/logging-which-ssl-cipher-a-client-is-using/191020)

<div class="topic-metadata">

**Author:** [@Calomel\_Org](https://www.ruby-forum.com/u/Calomel_Org)\
**Replies:** 2\
**Last updated:** [July 2, 2010, 8:23pm UTC](https://www.ruby-forum.com/t/logging-which-ssl-cipher-a-client-is-using/191020 "2010-07-02T20:23:40Z")

</div>

Does anyone know of a way to log which SSL cipher a remote client connects with? For example, if a Firefox v3.6.x client connects and uses AES256 with Diffie-Hellman then I could log the cipher string “DHE-RSA-AES256…

---

## [How to generate password automatically using authlogic](https://www.ruby-forum.com/t/how-to-generate-password-automatically-using-authlogic/197099)

<div class="topic-metadata">

**Author:** [@thriving](https://www.ruby-forum.com/u/thriving)\
**Replies:** 2\
**Last updated:** [September 25, 2009, 4:57am UTC](https://www.ruby-forum.com/t/how-to-generate-password-automatically-using-authlogic/197099 "2009-09-25T04:57:16Z")

</div>

I have problem , i want to generate password automatically where can i manipulate :password and :confirm\_password in action create def create @user = User.new(params\[:user\]) if @user.save flash\[:notice\] = “Registrat…

---

## [Overriding indexers](https://www.ruby-forum.com/t/overriding-indexers/169051)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 2\
**Last updated:** [May 28, 2009, 9:21pm UTC](https://www.ruby-forum.com/t/overriding-indexers/169051 "2009-05-28T21:21:15Z")

</div>

Hi How do I override an indexer on a C# class? public class IndexerContained{ private Dictionary\<string, string\> \_inner = new Dictionary\<string, string\>{ { “key1”, “value1” }, { “key2”, “value2” }, { “key3”,…

---

## [Cucumber stripping the letter "a" on windows](https://www.ruby-forum.com/t/cucumber-stripping-the-letter-a-on-windows/165267)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 2\
**Last updated:** [April 11, 2009, 9:54am UTC](https://www.ruby-forum.com/t/cucumber-stripping-the-letter-a-on-windows/165267 "2009-04-11T09:54:22Z")

</div>

It looks like cucumber is having the problem with the letter “a” again … a problem with handling the angstrom character and windows: Feture: list the vilble repositories So tht I cn subscribe to repositories I wnt to…

---

## [\[Webrat\]\[RSpec\] Features opening browser windows](https://www.ruby-forum.com/t/webrat-rspec-features-opening-browser-windows/163097)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 2\
**Last updated:** [March 17, 2009, 10:28pm UTC](https://www.ruby-forum.com/t/webrat-rspec-features-opening-browser-windows/163097 "2009-03-17T22:28:04Z")

</div>

Apologies for previous message without proper subject Since upgrading rspec to 1.2 I am seeing behavior that a web browser is being opened when there is a problem in a page that a feature visits. Is this behavior inte…

---

## [What are the options to write tests, currently?](https://www.ruby-forum.com/t/what-are-the-options-to-write-tests-currently/154530)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 2\
**Last updated:** [December 5, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/what-are-the-options-to-write-tests-currently/154530 "2008-12-05T16:49:25Z")

</div>

Hello, I’m documenting myself to see what are the various options currently available to write IronRuby code to unit-tests C# assemblies. I gave MSpec a try and it’s already fine (30685’s gists · GitHub). Test::Unit …

---

## [DÃ©velopper un module dans lib/](https://www.ruby-forum.com/t/da-velopper-un-module-dans-lib/148199)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 2\
**Last updated:** [September 10, 2008, 2:08pm UTC](https://www.ruby-forum.com/t/da-velopper-un-module-dans-lib/148199 "2008-09-10T14:08:46Z")

</div>

Bonjour, Je suis en train de développer un module que j’ai mis dans lib/ parser.rb mais à chaque fois que je fais une modification dans le fichier, je suis obligé de redémarrer le serveur pour prendre en compte les m…

---

## [Ordnerstruktur Modells?](https://www.ruby-forum.com/t/ordnerstruktur-modells/140457)

<div class="topic-metadata">

**Author:** [@d-w](https://www.ruby-forum.com/u/d-w)\
**Replies:** 2\
**Last updated:** [June 17, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/ordnerstruktur-modells/140457 "2008-06-17T22:34:21Z")

</div>

Hallo, habe irgendwie gerade ein kleine VerstÃ¤ndnissproblem. Wie kann ich denn meine STI Modelle in einem Unterordner im Modells Verzeichniss liegen haben? Also wenn ich z.B verschiedene Modelle von einer Klasse Per…

---

## [Making rails go vroom](https://www.ruby-forum.com/t/making-rails-go-vroom/130557)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 2\
**Last updated:** [February 29, 2008, 11:40am UTC](https://www.ruby-forum.com/t/making-rails-go-vroom/130557 "2008-02-29T11:40:57Z")

</div>

Bonjour, Un lien intÃ©ressant : J’ajouterai, Ã©vitÃ© d’utiliser content\_tag\_for et content\_tag qui ralentisse vraiment rails. Sur environ 2000 enregistrement j’ai notÃ© une diffÃ©rence de 4sec environ pour la gÃ©n…

---

## [Question sur les sous domaines dans les routes](https://www.ruby-forum.com/t/question-sur-les-sous-domaines-dans-les-routes/124773)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 2\
**Last updated:** [January 3, 2008, 11:37am UTC](https://www.ruby-forum.com/t/question-sur-les-sous-domaines-dans-les-routes/124773 "2008-01-03T11:37:04Z")

</div>

Salut ! Mon problème semble simple mais je n’arrive toujours pas à trouver une solution simple… Je gère de manière dynamique les sous-domaines dans mon application. Ces sous-domaines correspondent au nom d’une ville. …

---

## [Mingw install help](https://www.ruby-forum.com/t/mingw-install-help/118332)

<div class="topic-metadata">

**Author:** [@Kevin\_Rudd\_SContrac](https://www.ruby-forum.com/u/Kevin_Rudd_SContrac)\
**Replies:** 2\
**Last updated:** [October 26, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/mingw-install-help/118332 "2007-10-26T17:12:58Z")

</div>

Hello Everyone, I am following the directions for installing GNURadio with minGW on XP found here… http://gnuradio.org/trac/wiki/MingwInstallMain When I get to installing FFTW, I try compiling it (from MSYS prompt) …

---

## [Way to make \<r:link /\> use the breadcrumb text instead of pa](https://www.ruby-forum.com/t/way-to-make-r-link-use-the-breadcrumb-text-instead-of-pa/112536)

<div class="topic-metadata">

**Author:** [@Damien\_McKenna](https://www.ruby-forum.com/u/Damien_McKenna)\
**Replies:** 2\
**Last updated:** [August 20, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/way-to-make-r-link-use-the-breadcrumb-text-instead-of-pa/112536 "2007-08-20T19:18:51Z")

</div>

Is there any way to make the \<r:link /\> tag use the breadcrumb text instead of the page title as the link’s text? I’d really like to be able to do this with a site’s home page, where “home” is typically used as the b…

---

## [Problem using usrp\_fft.py in Suse 10.2 64 bit](https://www.ruby-forum.com/t/problem-using-usrp-fft-py-in-suse-10-2-64-bit/93200)

<div class="topic-metadata">

**Author:** [@Eric\_ASCottrell](https://www.ruby-forum.com/u/Eric_ASCottrell)\
**Replies:** 2\
**Last updated:** [May 16, 2007, 8:30am UTC](https://www.ruby-forum.com/t/problem-using-usrp-fft-py-in-suse-10-2-64-bit/93200 "2007-05-16T08:30:34Z")

</div>

Hello, I got my new Core 2 Duo system up and running with GNURadio. When I installed Suse 10.2 64 bit I also selected install the 32 bit packages. My Mode S code works and usrp oscilloscope work but when I run the u…

---

## [Warming up a new Searcher/Reader (Ferret 0.10.9 win32)](https://www.ruby-forum.com/t/warming-up-a-new-searcher-reader-ferret-0-10-9-win32/87686)

<div class="topic-metadata">

**Author:** [@Neville\_B](https://www.ruby-forum.com/u/Neville_B)\
**Replies:** 2\
**Last updated:** [March 6, 2007, 5:21am UTC](https://www.ruby-forum.com/t/warming-up-a-new-searcher-reader-ferret-0-10-9-win32/87686 "2007-03-06T05:21:39Z")

</div>

Hi, I have a largish index \[700MB\] which is updated from time to time, requiring me to close and recreate the Ferret::Search::Searcher to use the latest index. My problem is that the first few searches on the new in…

---

## [Querying on join-tables in Rails](https://www.ruby-forum.com/t/querying-on-join-tables-in-rails/83524)

<div class="topic-metadata">

**Author:** [@P-daddy](https://www.ruby-forum.com/u/P-daddy)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 2:25am UTC](https://www.ruby-forum.com/t/querying-on-join-tables-in-rails/83524 "2007-01-27T02:25:07Z")

</div>

Hi, I’m using rails 1.2 & mysql 5 I have 2 database tables, Cars and Passengers Cars table has the following columns id: primary key car\_name: varchar(100) Passengers table has the following columns id: primary ke…

---

## [Excel](https://www.ruby-forum.com/t/excel/80224)

<div class="topic-metadata">

**Author:** [@lourdes](https://www.ruby-forum.com/u/lourdes)\
**Replies:** 2\
**Last updated:** [December 22, 2006, 1:03pm UTC](https://www.ruby-forum.com/t/excel/80224 "2006-12-22T13:03:24Z")

</div>

Hola, estoy utilizando este cÃ³digo que he cogido de este foro. def excel CSV::Writer.generate(output = “”) do |csv| Ordenador.find(:all).each do |o| csv \<\< \[o.id, o.name\] end end send\_data(output, :type =\> “appl…

---

## [Blistit - on web in Beta](https://www.ruby-forum.com/t/blistit-on-web-in-beta/70575)

<div class="topic-metadata">

**Author:** [@Clare](https://www.ruby-forum.com/u/Clare)\
**Replies:** 2\
**Last updated:** [September 30, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/blistit-on-web-in-beta/70575 "2006-09-30T16:50:02Z")

</div>

I would like to thank everyone who has been of great assistance on this project using ROR, AJAX and most importantly Ferret. I would especially like to thank David and Jens for their help. Quite frankly this project w…

---

## [Updating installed Rails 1.0 to 1.1.2 without gem](https://www.ruby-forum.com/t/updating-installed-rails-1-0-to-1-1-2-without-gem/61335)

<div class="topic-metadata">

**Author:** [@shayu70](https://www.ruby-forum.com/u/shayu70)\
**Replies:** 2\
**Last updated:** [May 23, 2006, 12:42pm UTC](https://www.ruby-forum.com/t/updating-installed-rails-1-0-to-1-1-2-without-gem/61335 "2006-05-23T12:42:48Z")

</div>

Hello, on my Company-Computer ive Rails 1.0 installed. Now i want to update to Rails 1.1.2, but theres no chance to do this with gem because of a new Firewall. Is there any way to update to Rails 1.1.2 manually? Than…

---

## [Can't see documentation after executing "rake appdoc"](https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [March 6, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374 "2006-03-06T23:24:49Z")

</div>

I successfully got rake appdoc to work on the depot application (after manually applying the patch for rake 0.70). Everything appears to generate fine, but I can’t pull up the documentation in my browser. I’ve tried: …

---

## [Mouse coordinates in a gnome2 canvas](https://www.ruby-forum.com/t/mouse-coordinates-in-a-gnome2-canvas/51571)

<div class="topic-metadata">

**Author:** [@Tool69](https://www.ruby-forum.com/u/Tool69)\
**Replies:** 2\
**Last updated:** [January 3, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/mouse-coordinates-in-a-gnome2-canvas/51571 "2006-01-03T19:59:38Z")

</div>

Hi, I want to show the mouse coordinates inside a label in a gnome2 application if my mouse is on a canvas. How to procede ? I’ ve found no documentation on the canvas on ruby gnome2 API. rbbr is not working on my ub…

---

## [Regular expression,](https://www.ruby-forum.com/t/regular-expression/237365)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [November 8, 2013, 9:46am UTC](https://www.ruby-forum.com/t/regular-expression/237365 "2013-11-08T09:46:35Z")

</div>

a='hi how are you\_I am fine" now if write a\[/(.\*)/\] here it includes "" symbol also with hi how are you. I can use delete() function to delete “\_” but I would like to handle using regular expression alone. how would I…

---

## [Simple IO question; full path not working](https://www.ruby-forum.com/t/simple-io-question-full-path-not-working/220610)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 17, 2012, 4:58pm UTC](https://www.ruby-forum.com/t/simple-io-question-full-path-not-working/220610 "2012-06-17T16:58:14Z")

</div>

Hi guys. I’m running windows seven. text2.txt is located in O:\\Ruby The program io.rb is located in O:\\Ruby\\Practice io.rb contains the following code: f = File.new(“O:\\Ruby\\text2.txt”, “r”) catch(:end\_of\_file) do …

---

## [Multiple table inheritance](https://www.ruby-forum.com/t/multiple-table-inheritance/213595)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 7, 2011, 9:53am UTC](https://www.ruby-forum.com/t/multiple-table-inheritance/213595 "2011-11-07T09:53:07Z")

</div>

Hi there I’ve got a question about Multiple Table Inheritance. In my app i have owners and buyers. I’d like to use a Identity model for common fields (name, adress, phone, email) and two inherited models (buyer crit…

---

## [Most idiomatic way to identify and modify an association directly](https://www.ruby-forum.com/t/most-idiomatic-way-to-identify-and-modify-an-association-directly/208312)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 15, 2011, 3:31am UTC](https://www.ruby-forum.com/t/most-idiomatic-way-to-identify-and-modify-an-association-directly/208312 "2011-06-15T03:31:27Z")

</div>

Suppose that we have Radio Stations which play Songs by means of a License. ======= class Song has\_many :licenses has\_many :radio\_stations, :through =\> :licenses end class RadioStation has\_many :licenses has\_man…

---

## [String Element Reference](https://www.ruby-forum.com/t/string-element-reference/207434)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 25, 2011, 8:35pm UTC](https://www.ruby-forum.com/t/string-element-reference/207434 "2011-05-25T20:35:48Z")

</div>

I am new to Ruby so I apologize if this seems dumb. I am currently running ruby 1.8.7 (2009-06-12 patchlevel 174) \[universal-darwin10.0\]. When working in an irb session I’m having trouble with String element referenc…

---

## [Combination Auth and IP allow](https://www.ruby-forum.com/t/combination-auth-and-ip-allow/205461)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 7, 2011, 4:37pm UTC](https://www.ruby-forum.com/t/combination-auth-and-ip-allow/205461 "2011-04-07T16:37:42Z")

</div>

Hi, i need complex configuration “vhost” allow for internal IP (10.x.x.x) without http auth or any other IP with http auth. how to make it? Posted at Nginx Forum:

---

## [Packaging a Ruby file into a stand alone application](https://www.ruby-forum.com/t/packaging-a-ruby-file-into-a-stand-alone-application/202429)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 28, 2011, 11:20pm UTC](https://www.ruby-forum.com/t/packaging-a-ruby-file-into-a-stand-alone-application/202429 "2011-01-28T23:20:13Z")

</div>

Hello, It has been only a day since I have heard of Ruby (Very very New). My situation is I have a Ruby file (with .rb extension). When executed, it would log-in to a Quickbase server and output a report (.csv extensi…

---

## [Jruby with threads](https://www.ruby-forum.com/t/jruby-with-threads/191264)

<div class="topic-metadata">

**Author:** [@jinleileiking](https://www.ruby-forum.com/u/jinleileiking)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 7:54pm UTC](https://www.ruby-forum.com/t/jruby-with-threads/191264 "2010-07-09T19:54:46Z")

</div>

Thread.new do 5.times do |time| link = Thread.new do p time p “link:#{link}” while true sleep(5) end end end end while true end outputs: 0 “link:#Thread:0x1021f34” 1 “link:#Thread:0x163956” 2 “…

---

## [I need to do some code that should be in a controller inside a render partial. How?](https://www.ruby-forum.com/t/i-need-to-do-some-code-that-should-be-in-a-controller-inside-a-render-partial-how/190540)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/i-need-to-do-some-code-that-should-be-in-a-controller-inside-a-render-partial-how/190540 "2010-06-23T23:37:45Z")

</div>

I have an app that will be making a customer list to go in a pdf. The pdf part wasn’t bad using wicked\_pdf. The problem is keeping the controller code where it belongs. The app has a print method in the controller. It…

---

## [\[Bug: trunk\] Fiber transfer limitation](https://www.ruby-forum.com/t/bug-trunk-fiber-transfer-limitation/185967)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 4\
**Last updated:** [May 4, 2010, 5:04am UTC](https://www.ruby-forum.com/t/bug-trunk-fiber-transfer-limitation/185967 "2010-05-04T05:04:49Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(B1.9.2 e$B$KF~$l$FM\_$7$$e(B Fiber e$B$K4X$9$k;EMMJQ99$K$D$$$F!$0l$DK:$l$F$$$^$7$?!%e(B e$B!!8=:\_!$e(BFiber#transfer e$B$He(B Fiber.yield/Fiber#resume e$B$O0l=o$K;H$&$J!$;H$Ce(B e$B$FJQ$J$…

---

## [Longevity of ruby on rails](https://www.ruby-forum.com/t/longevity-of-ruby-on-rails/187670)

<div class="topic-metadata">

**Author:** [@vanboom](https://www.ruby-forum.com/u/vanboom)\
**Replies:** 4\
**Last updated:** [April 27, 2010, 7:11pm UTC](https://www.ruby-forum.com/t/longevity-of-ruby-on-rails/187670 "2010-04-27T19:11:17Z")

</div>

Hi, I have recently added Ruby on Rails to my repertoire and as I start a new project, I find myself wondering: Why are so many of the postings I find as I search for help from 2006-2009? Should I start my new proje…

---

## [Symbols and class veriable](https://www.ruby-forum.com/t/symbols-and-class-veriable/183071)

<div class="topic-metadata">

**Author:** [@jeromeqc](https://www.ruby-forum.com/u/jeromeqc)\
**Replies:** 4\
**Last updated:** [February 7, 2010, 11:23pm UTC](https://www.ruby-forum.com/t/symbols-and-class-veriable/183071 "2010-02-07T23:23:55Z")

</div>

Hello, Is the any connection between a symbol and a class variable. For example, if I declare the variable @red\_car\_speed is this aliased or connected by :red\_car\_speed. The section of code that is confuring me is: r…

---

## [Dynamically set named\_scope based on current\_user](https://www.ruby-forum.com/t/dynamically-set-named-scope-based-on-current-user/182354)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 4\
**Last updated:** [January 27, 2010, 2:59pm UTC](https://www.ruby-forum.com/t/dynamically-set-named-scope-based-on-current-user/182354 "2010-01-27T14:59:22Z")

</div>

Hey all, I keep getting the following error: You have a nil object when you didn’t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.size Based on the current user, whe…

---

## [Format of a string, array or hash](https://www.ruby-forum.com/t/format-of-a-string-array-or-hash/175048)

<div class="topic-metadata">

**Author:** [@hugues](https://www.ruby-forum.com/u/hugues)\
**Replies:** 4\
**Last updated:** [September 7, 2009, 8:48pm UTC](https://www.ruby-forum.com/t/format-of-a-string-array-or-hash/175048 "2009-09-07T20:48:27Z")

</div>

Hello there, I do not know if my topic is right so I’ll explain the problem : I have a Project model : class Project \< ActiveRecord::Base has\_and\_belongs\_to\_many :services end In my views. I would like to list the …

---

## [Ruby + mysql](https://www.ruby-forum.com/t/ruby-mysql/115170)

<div class="topic-metadata">

**Author:** [@curiosone](https://www.ruby-forum.com/u/curiosone)\
**Replies:** 4\
**Last updated:** [August 4, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/ruby-mysql/115170 "2009-08-04T21:17:06Z")

</div>

Sono nella melma con MySql Voglio inserire un valore in un campo di una maschera video e voglio cercare se questo valore esiste in una data colonna di una tabella qualsiasi: quindi “SELECT \* FROM tabella WHERE variab…

---

## [Ruby mysql error](https://www.ruby-forum.com/t/ruby-mysql-error/169252)

<div class="topic-metadata">

**Author:** [@gourav](https://www.ruby-forum.com/u/gourav)\
**Replies:** 4\
**Last updated:** [June 3, 2009, 10:56am UTC](https://www.ruby-forum.com/t/ruby-mysql-error/169252 "2009-06-03T10:56:57Z")

</div>

Hi, I am getting a mysql error while running a ruby file on my system (Windows): D:/ruby/lib/ruby/1.8/mysql.rb:453:in read': Client does not support authentication protocol requested by server; consider upgrading MySQ…

---

## [Advanced array merging](https://www.ruby-forum.com/t/advanced-array-merging/166809)

<div class="topic-metadata">

**Author:** [@jbaty](https://www.ruby-forum.com/u/jbaty)\
**Replies:** 4\
**Last updated:** [April 30, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/advanced-array-merging/166809 "2009-04-30T23:31:14Z")

</div>

Hi everyone, I’m looking for the fastest way (or the version with the least code!) to consolidate a couple of arrays. Basically, what a dump of what I have is this: \[\[#\<Ifinoctets\_26 id: 2476, dtime: “2009-04-28 00:0…

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

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