# Top

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

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

---

## [External js load via ajax?](https://www.ruby-forum.com/t/external-js-load-via-ajax/111782)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 6\
**Last updated:** [August 10, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/external-js-load-via-ajax/111782 "2007-08-10T23:48:31Z")

</div>

I am working with the Yahoo Maps API and I’d like to only include the Yahoo javascript library on demand. I have a link\_to\_remote that shows a Yahoo Map. Rather than the Yahoo library on every page it seems more effi…

---

## [NOOB question about DB relationship and using find!](https://www.ruby-forum.com/t/noob-question-about-db-relationship-and-using-find/78963)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 6\
**Last updated:** [December 11, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/noob-question-about-db-relationship-and-using-find/78963 "2006-12-11T18:52:32Z")

</div>

if class A has\_many class b. and class B has\_many class C. when doing a find on class A, will my model have class c information? like… class maincategory class subcategory maincategory\_id class bottom. subcategory…

---

## [Routes](https://www.ruby-forum.com/t/routes/99543)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 6\
**Last updated:** [July 24, 2006, 1:26am UTC](https://www.ruby-forum.com/t/routes/99543 "2006-07-24T01:26:32Z")

</div>

My best guess at how to make this route map.connect ‘:user’, :controller =\> ‘user’, :action =\> ‘profile’ makes my link\_to :controller =\> ‘admin’, :action =\> ‘index’ stop working ? I’m needing urls like http://localh…

---

## [Help with overriding / overwriting date values in ActiveReco](https://www.ruby-forum.com/t/help-with-overriding-overwriting-date-values-in-activereco/97292)

<div class="topic-metadata">

**Author:** [@John\_Wong](https://www.ruby-forum.com/u/John_Wong)\
**Replies:** 6\
**Last updated:** [July 23, 2006, 5:19am UTC](https://www.ruby-forum.com/t/help-with-overriding-overwriting-date-values-in-activereco/97292 "2006-07-23T05:19:56Z")

</div>

Hi guys, I’m trying to make an AR model which accepts a string data (from a text input) in euro date format eg \<input … value = “23/01/2006”\> ( 23 Jan 2006) Reading the example from RDoc… i tried to overwrit…

---

## [Gmsk2 (new tunnel.py)](https://www.ruby-forum.com/t/gmsk2-new-tunnel-py/64190)

<div class="topic-metadata">

**Author:** [@Brett\_L\_Trotter](https://www.ruby-forum.com/u/Brett_L_Trotter)\
**Replies:** 6\
**Last updated:** [June 23, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/gmsk2-new-tunnel-py/64190 "2006-06-23T16:15:31Z")

</div>

I’ve got two machines with one usrp each using basic tx/rx board pairs. As soon as I start tunnel.py on each and set the ip’s, one machine (usually the one started second) starts showing BBBBBBBBBBBBBBBBB… If i discon…

---

## [Ifs and scope](https://www.ruby-forum.com/t/ifs-and-scope/95218)

<div class="topic-metadata">

**Author:** [@newbie](https://www.ruby-forum.com/u/newbie)\
**Replies:** 6\
**Last updated:** [May 24, 2006, 8:33pm UTC](https://www.ruby-forum.com/t/ifs-and-scope/95218 "2006-05-24T20:33:06Z")

</div>

i am sorry if this is really newb, but i am new to programming and ruby in general in my previous thread “disappearing hash values” it was pointed out to me that a new if is a new scope how do i update a second if wi…

---

## [Overloading math operations](https://www.ruby-forum.com/t/overloading-math-operations/59765)

<div class="topic-metadata">

**Author:** [@0ffh](https://www.ruby-forum.com/u/0ffh)\
**Replies:** 6\
**Last updated:** [May 6, 2006, 9:06am UTC](https://www.ruby-forum.com/t/overloading-math-operations/59765 "2006-05-06T09:06:09Z")

</div>

Hija, been makin a little “Vector” class by extending Array. Now I wanna add Vector support to the native numeric data types in ruby. Means: Not only Vector+Numeric but also Numeric+Vector should call my + function. …

---

## [Console for Testing Routes?](https://www.ruby-forum.com/t/console-for-testing-routes/93539)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 8:40am UTC](https://www.ruby-forum.com/t/console-for-testing-routes/93539 "2006-04-05T08:40:41Z")

</div>

Hi, when the “Agile Web D.” book talks about routes, there are what looks like console transcripts like the following: URL\> store @params = {:controller =\> ‘store’, :action = ‘index’} Is there something like a conso…

---

## [Log Files in View](https://www.ruby-forum.com/t/log-files-in-view/74944)

<div class="topic-metadata">

**Author:** [@Alex\_MacCaw](https://www.ruby-forum.com/u/Alex_MacCaw)\
**Replies:** 6\
**Last updated:** [March 1, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/log-files-in-view/74944 "2006-03-01T19:31:15Z")

</div>

Is it possible to display the log files in the view? Thanks in advance.

---

## [Strange speeds](https://www.ruby-forum.com/t/strange-speeds/86780)

<div class="topic-metadata">

**Author:** [@kryglik](https://www.ruby-forum.com/u/kryglik)\
**Replies:** 6\
**Last updated:** [January 3, 2006, 2:06pm UTC](https://www.ruby-forum.com/t/strange-speeds/86780 "2006-01-03T14:06:29Z")

</div>

Hello ruby people, I’ve tried to make some speed test in ruby to find out how fast is searching in hash (using has\_key?) The results were OK but I discovered curious thing – when i generate big hash the speed is diff…

---

## [\[ruby-trunk - Bug #10646\] \[Closed\] wmap\_final\_func の xrealloc で確保するメモリのサイズが1足りないためSEGV](https://www.ruby-forum.com/t/ruby-trunk-bug-10646-closed-wmap-final-func-xrealloc-1-segv/233568)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 25, 2014, 9:34am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10646-closed-wmap-final-func-xrealloc-1-segv/233568 "2014-12-25T09:34:31Z")

</div>

Issue #10646 has been updated by Naohisa G… Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r48999. gc.c (wmap\_final\_func): fix memory size shortage when realloc wmap. Fix SEGV…

---

## [Help with neophyte code](https://www.ruby-forum.com/t/help-with-neophyte-code/246432)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [October 18, 2013, 6:00pm UTC](https://www.ruby-forum.com/t/help-with-neophyte-code/246432 "2013-10-18T18:00:00Z")

</div>

Hello team, I have couple questions about the following code. The break is taking me out of the two loops. I just want to exit the inner loop, continuing with the NEXT “e1” value. Since the two lists are sorted, it w…

---

## [AGC and Dynamic Range of ADC](https://www.ruby-forum.com/t/agc-and-dynamic-range-of-adc/236634)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 24, 2013, 5:55am UTC](https://www.ruby-forum.com/t/agc-and-dynamic-range-of-adc/236634 "2013-09-24T05:55:37Z")

</div>

I have USRPN210 with WBX and RFX2400. Is there any AGC chip on N210 motherboard or WBX, RFX2400 before ADC to utilize the dynamic range of ADC ? if yes, which one? If not, then won’t the varying input signal (for exa…

---

## ["make test" fail on next branch](https://www.ruby-forum.com/t/make-test-fail-on-next-branch/236251)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 18, 2013, 11:33pm UTC](https://www.ruby-forum.com/t/make-test-fail-on-next-branch/236251 "2013-08-18T23:33:40Z")

</div>

I’m working with 9be83a4d on 16-Aug-2013. Most of the tests fail for the same reason; an example follows. The quick summary is that the symbol for “gr::blocks::interleaved\_char\_to\_complex::make(bool)” is not found i…

---

## [\[Ruby 1.9 - Bug #4439\] \[Assigned\] TestBeginEndBlock#test should propagate signaled が必ず1度失敗する](https://www.ruby-forum.com/t/ruby-1-9-bug-4439-assigned-testbeginendblock-test-should-propagate-signaled-1/203656)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 17, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4439-assigned-testbeginendblock-test-should-propagate-signaled-1/203656 "2013-02-17T13:06:30Z")

</div>

Issue #4439 has been reported by Motohiro KOSAKI. Bug #4439: TestBeginEndBlock#test\_should\_propagate\_signaled が必ず1度失敗する Author: Motohiro KOSAKI Status: Assigned Priority: Low Assignee: Shota F. Category: test Ta…

---

## [Can NGinx replace Varnish](https://www.ruby-forum.com/t/can-nginx-replace-varnish/224508)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 14, 2012, 7:33pm UTC](https://www.ruby-forum.com/t/can-nginx-replace-varnish/224508 "2012-11-14T19:33:46Z")

</div>

We are using Varnish in front of 3 load balanced web servers running apache. We had migrated from one hosting platform where we had 1 app server and 1 database server using Varnish (Drupal 6.x) and had no issues. No…

---

## [A Friendlier Login System](https://www.ruby-forum.com/t/a-friendlier-login-system/219310)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 1, 2012, 10:58pm UTC](https://www.ruby-forum.com/t/a-friendlier-login-system/219310 "2012-05-01T22:58:21Z")

</div>

“Agile Web D. with Rails” discusses a friendlier login system. Basically, if a user follows a link on Page A to Page B and Page B is login-protected, my understanding is that the user would be diverted to the login p…

---

## [Using GNU radio with microcontroller based designs](https://www.ruby-forum.com/t/using-gnu-radio-with-microcontroller-based-designs/216808)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [February 14, 2012, 4:18pm UTC](https://www.ruby-forum.com/t/using-gnu-radio-with-microcontroller-based-designs/216808 "2012-02-14T16:18:41Z")

</div>

Hi, I am trying to design a FM radio with a msp430 microcontroller from TI as part of a project. I came across GNUradio while working on this and seems to be a brilliant concept. I am wondering if it can be somehow u…

---

## [AWS CreateHit ruby code](https://www.ruby-forum.com/t/aws-createhit-ruby-code/211255)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 31, 2011, 7:59am UTC](https://www.ruby-forum.com/t/aws-createhit-ruby-code/211255 "2011-08-31T07:59:23Z")

</div>

Hi. I’ve been a C developer since 1988, I know zero about ruby and I haven’t been enjoying it so far. I have been handed some code. ??? My Question is has anyone every had any success with the Amazon Mechanical Turk …

---

## [Warbler](https://www.ruby-forum.com/t/warbler/210786)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 17, 2011, 9:35pm UTC](https://www.ruby-forum.com/t/warbler/210786 "2011-08-17T21:35:36Z")

</div>

The last version is 1.3.2 it seems that it isn’t compatible with rake 0.9 yet. Isn’t it?

---

## [Store data with usrp\_spectrum\_sense.py](https://www.ruby-forum.com/t/store-data-with-usrp-spectrum-sense-py/207256)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 26, 2011, 10:11pm UTC](https://www.ruby-forum.com/t/store-data-with-usrp-spectrum-sense-py/207256 "2011-05-26T22:11:03Z")

</div>

Hi everyone, I am new in GNUradio and I want to sense the spectrum of Wifi from 2.4G to 2.5 G with a USRP. I have been reading through a lot of discussions in the forum but I have not been able to store any data usin…

---

## [Geoip redirect by country codes but exclude a client with dynamic ip](https://www.ruby-forum.com/t/geoip-redirect-by-country-codes-but-exclude-a-client-with-dynamic-ip/200286)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 9, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/geoip-redirect-by-country-codes-but-exclude-a-client-with-dynamic-ip/200286 "2010-12-09T21:17:29Z")

</div>

Hello, The site has geoip redirection to subdomains using country codes, before we only needed to exclude a directory from redirection but now my client is asking me to exclude himself from it, how can I do this ? Pl…

---

## [Ya config file parser](https://www.ruby-forum.com/t/ya-config-file-parser/187208)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 3\
**Last updated:** [April 20, 2010, 12:32pm UTC](https://www.ruby-forum.com/t/ya-config-file-parser/187208 "2010-04-20T12:32:43Z")

</div>

I’m wondering how to extend the config-yaml parser at Deneme Bonusu Veren Bahis Siteleri - En iyi Bonus Veren Siteler Nelerdir? so I can write to the file through the variable. right now it works like this: yaml\_dat…

---

## [Including a module in an included module](https://www.ruby-forum.com/t/including-a-module-in-an-included-module/173929)

<div class="topic-metadata">

**Author:** [@princenez](https://www.ruby-forum.com/u/princenez)\
**Replies:** 3\
**Last updated:** [August 18, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/including-a-module-in-an-included-module/173929 "2009-08-18T13:47:41Z")

</div>

module M1; end module M2; include M1; end module M1; DOG = :woof; end module M2; DOG; end # =\> :woof I can add to a module after it has been included. Neat. module M1; DOG = :woof; end module M2; include M1; end module…

---

## [Question on gr.wavfile\_source](https://www.ruby-forum.com/t/question-on-gr-wavfile-source/170892)

<div class="topic-metadata">

**Author:** [@Brook\_L](https://www.ruby-forum.com/u/Brook_L)\
**Replies:** 3\
**Last updated:** [June 26, 2009, 2:47pm UTC](https://www.ruby-forum.com/t/question-on-gr-wavfile-source/170892 "2009-06-26T14:47:29Z")

</div>

Hi All, I’m trying to transmit a wave file using gr.wavfile\_source(). To test my transmission path, I first transmit a sine wave, and I can receive it and sink it to sound card fine. I can hear the sound at the recei…

---

## [Requiring standard libraries within hosted DLR Runtime](https://www.ruby-forum.com/t/requiring-standard-libraries-within-hosted-dlr-runtime/166195)

<div class="topic-metadata">

**Author:** [@dotty](https://www.ruby-forum.com/u/dotty)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 8:27pm UTC](https://www.ruby-forum.com/t/requiring-standard-libraries-within-hosted-dlr-runtime/166195 "2009-04-22T20:27:25Z")

</div>

Hello, I previously tried sending this to the mailing list (on 04/17), but it doesn’t appear to have arrived there. I did a git pull today (04/22/09), and rake compile, so I am using the very latest sources… I’m try…

---

## [Rudamentary question](https://www.ruby-forum.com/t/rudamentary-question/162980)

<div class="topic-metadata">

**Author:** [@Hayden\_Smith](https://www.ruby-forum.com/u/Hayden_Smith)\
**Replies:** 3\
**Last updated:** [March 16, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/rudamentary-question/162980 "2009-03-16T13:56:26Z")

</div>

Greetings, I’m looking to write a script to perform the functions listed as below, would anyone have any ideas as to how I might approach this situation: I have a file called “David Slater - Pensive Moments.txt” whic…

---

## [Not able to read a file just created](https://www.ruby-forum.com/t/not-able-to-read-a-file-just-created/161564)

<div class="topic-metadata">

**Author:** [@naresh](https://www.ruby-forum.com/u/naresh)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 8:26am UTC](https://www.ruby-forum.com/t/not-able-to-read-a-file-just-created/161564 "2009-03-03T08:26:22Z")

</div>

hi, My Ruby code is as follows In a class One method creats and writes (write\_data) one/more files by reading data from another file. Another method reads (read\_data) these files and perform some action. Observed t…

---

## [Rails e yaml](https://www.ruby-forum.com/t/rails-e-yaml/161308)

<div class="topic-metadata">

**Author:** [@enrico](https://www.ruby-forum.com/u/enrico)\
**Replies:** 3\
**Last updated:** [February 25, 2009, 2:14pm UTC](https://www.ruby-forum.com/t/rails-e-yaml/161308 "2009-02-25T14:14:56Z")

</div>

Ciao a tutti! Giocando con la nuova funzionalitÃ di localizzazione (I18n) di Rails 2.2 mi sono imbattuto in continui errori sui file di localizzazione yml. Questi errori sono legati agli spazi o alle tabulazioni cont…

---

## [HookR version 1.0.0 released](https://www.ruby-forum.com/t/hookr-version-1-0-0-released/154770)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 3\
**Last updated:** [December 3, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/hookr-version-1-0-0-released/154770 "2008-12-03T21:18:51Z")

</div>

HookR version 1.0.0 by Avdi G. http://hookr.rubyforge.org == DESCRIPTION HookR is a publish/subscribe callback hook facility for Ruby. == CHANGES 1 major enhancement Birthday! == SYNOPSIS: require ‘rubygems’ …

---

## [Re: Hebergement Rails](https://www.ruby-forum.com/t/re-hebergement-rails/154370)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 3\
**Last updated:** [November 28, 2008, 12:54pm UTC](https://www.ruby-forum.com/t/re-hebergement-rails/154370 "2008-11-28T12:54:59Z")

</div>

\[viré les accents dans le Subject:\] Le 20 novembre 2008 13:01, Big C. a écrit : Je cherche un hébergeur qui propose Rails en mutualisé? Pour compléter la liste, en hébergeur français, on n’a pas cité Typhon, je cr…

---

## [Tiny\_mce File Manager](https://www.ruby-forum.com/t/tiny-mce-file-manager/150252)

<div class="topic-metadata">

**Author:** [@calabriama](https://www.ruby-forum.com/u/calabriama)\
**Replies:** 3\
**Last updated:** [October 7, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/tiny-mce-file-manager/150252 "2008-10-07T18:29:42Z")

</div>

Hola, estoy usando el tiny\_mce, necesito un file manager, no se si en tiny\_mce hay algún plugin implementado o si alguien lo ha hecho para ruby. He estado mirando en estos enlaces (1, 2), otra opción sería hacerlo yo …

---

## [How to point to proper worksheet in excel](https://www.ruby-forum.com/t/how-to-point-to-proper-worksheet-in-excel/142360)

<div class="topic-metadata">

**Author:** [@sirtyman](https://www.ruby-forum.com/u/sirtyman)\
**Replies:** 3\
**Last updated:** [July 8, 2008, 12:30am UTC](https://www.ruby-forum.com/t/how-to-point-to-proper-worksheet-in-excel/142360 "2008-07-08T00:30:13Z")

</div>

I have following code: @xl = WIN32OLE.new(‘Excel.Application’) @xl\[‘Visible’\] = TRUE @wb = @xl.Workbooks.Add @ws = @xb.Worksheets(“XXXXX”) The problem is that last line throws exception: moethod\_missing: Worksheets …

---

## [Protect from forgery](https://www.ruby-forum.com/t/protect-from-forgery/128302)

<div class="topic-metadata">

**Author:** [@Miguel\_SSSSngel\_Mar](https://www.ruby-forum.com/u/Miguel_SSSSngel_Mar)\
**Replies:** 3\
**Last updated:** [February 6, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/protect-from-forgery/128302 "2008-02-06T22:08:44Z")

</div>

Buenas!, tengo un problema, a ver tengo un cacheo de acciÃ³n en una vista donde se encuetra un formulario de login, la cuestiÃ³n es que la primera vez que se accede se cachea la acciÃ³n y puedo logearme correctamente. …

---

## [Mocking models provided in Rails plugins](https://www.ruby-forum.com/t/mocking-models-provided-in-rails-plugins/117661)

<div class="topic-metadata">

**Author:** [@thechak](https://www.ruby-forum.com/u/thechak)\
**Replies:** 3\
**Last updated:** [October 19, 2007, 9:21am UTC](https://www.ruby-forum.com/t/mocking-models-provided-in-rails-plugins/117661 "2007-10-19T09:21:59Z")

</div>

Hey folks, How do I mock a model that is given to me by a Rails plugin? I’m trying to mock Session from the restful\_authentication plugin but I get a number of errors telling me RSpec doesn’t recognize Session. NameE…

---

## [Inline editing of datetime and dropdown select objects?](https://www.ruby-forum.com/t/inline-editing-of-datetime-and-dropdown-select-objects/57183)

<div class="topic-metadata">

**Author:** [@aantix](https://www.ruby-forum.com/u/aantix)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/inline-editing-of-datetime-and-dropdown-select-objects/57183 "2007-09-20T16:21:08Z")

</div>

I don’t believe that Rails has support for the inline editing of datetime objects or dropdown combo boxes. Does anyone have a helper function or two that would allow me to do such a thing?

---

## [How to handle cardinality 1-to-2 with Associations?](https://www.ruby-forum.com/t/how-to-handle-cardinality-1-to-2-with-associations/108173)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 3\
**Last updated:** [June 30, 2007, 8:27am UTC](https://www.ruby-forum.com/t/how-to-handle-cardinality-1-to-2-with-associations/108173 "2007-06-30T08:27:59Z")

</div>

Hello, I am new to RoR and am coding a small budgetting app with two tables (see below). As you can see every account has\_many transactions and every transaction has 2 accounts. How can I best respresent this using A…

---

## [Is \[ \] really a method?](https://www.ruby-forum.com/t/is-really-a-method/105755)

<div class="topic-metadata">

**Author:** [@vineetraja](https://www.ruby-forum.com/u/vineetraja)\
**Replies:** 3\
**Last updated:** [June 2, 2007, 6:21am UTC](https://www.ruby-forum.com/t/is-really-a-method/105755 "2007-06-02T06:21:50Z")

</div>

Hi all, Well while running down the text I read that \[\] (used in case Arrays and Hashes) is actually a method called on that Array/hash object and also that it can be overridden. well point taken. BUT if this is jus…

---

## [Converting Python to Ruby - question about main()](https://www.ruby-forum.com/t/converting-python-to-ruby-question-about-main/92555)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 3\
**Last updated:** [April 20, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/converting-python-to-ruby-question-about-main/92555 "2007-04-20T20:41:46Z")

</div>

Some Python programs have a couple lines of code like this: if main == “main” main() I think it’s supposed to call the main function if the script is executed directly. Is there an equivalent in Ruby? Or is it even …

---

## [Stupid postgresql test fixtures](https://www.ruby-forum.com/t/stupid-postgresql-test-fixtures/89083)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 4, 2007, 3:02am UTC](https://www.ruby-forum.com/t/stupid-postgresql-test-fixtures/89083 "2007-04-04T03:02:31Z")

</div>

Hi, So, I’ve got a postgresql database with referential integrity on the foreign keys. It’s a pain in the ass because I get a ton of errors like this if I don’t have each test load fixtures in exactly the right orde…

---

## [WEBrick killed by Apple Security Update?](https://www.ruby-forum.com/t/webrick-killed-by-apple-security-update/75319)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/webrick-killed-by-apple-security-update/75319 "2007-03-07T22:41:09Z")

</div>

Hey everybody - just checking in to see if anybody has the same issue; I just installed Apple’s latest Security Update this morning, and oddly, when I run ./script/server to start WEBrick, it poops out and returns me …

---

## [OFDM - on air?](https://www.ruby-forum.com/t/ofdm-on-air/87013)

<div class="topic-metadata">

**Author:** [@Dominik\_A](https://www.ruby-forum.com/u/Dominik_A)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 6:08pm UTC](https://www.ruby-forum.com/t/ofdm-on-air/87013 "2007-02-28T18:08:25Z")

</div>

Hello, I’m currently trying to make your ofdm simulation work with two usrp rev4. The scripts benchmark\_ofdm\_tx.py and …rx.py are modified in order to send (I looked on the examples in the directory “examples/python/…

---

## [Load testing using ruby](https://www.ruby-forum.com/t/load-testing-using-ruby/85664)

<div class="topic-metadata">

**Author:** [@swapnali](https://www.ruby-forum.com/u/swapnali)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 7:54pm UTC](https://www.ruby-forum.com/t/load-testing-using-ruby/85664 "2007-02-15T19:54:55Z")

</div>

Hi I want to simualte 300 users for an application. Can someone tell me how many users can be simulated using ruby ? Thanks, Swapnali

---

## [DÃ©couper une chaÃ®ne en sous-chaÃ®nes](https://www.ruby-forum.com/t/da-couper-une-chaa-ne-en-sous-chaa-nes/83544)

<div class="topic-metadata">

**Author:** [@t5in9tao](https://www.ruby-forum.com/u/t5in9tao)\
**Replies:** 3\
**Last updated:** [January 27, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/da-couper-une-chaa-ne-en-sous-chaa-nes/83544 "2007-01-27T15:28:45Z")

</div>

Bonsoir, Aurriez-vous une idÃ©e pour dÃ©couper en plusieurs blocs fixes une chaÃ®ne dont le nombre de caractÃ¨res est variable ? Voci un exemple : Cette variable contient 33 caractÃ¨res string = “DKZksi2kz2l20SKD?Z92…

---

## [Another migration problem](https://www.ruby-forum.com/t/another-migration-problem/68647)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 3\
**Last updated:** [September 15, 2006, 1:16am UTC](https://www.ruby-forum.com/t/another-migration-problem/68647 "2006-09-15T01:16:48Z")

</div>

I’ve added the following line to a migration file after all the create\_table statements. For the life of me, I can’t figure out what is wrong with it. execute “ALTER TABLE users\_roles ADD CONSTRAINT FK\_UserRoles\_Users …

---

## [Where is HTML::XMLParser?](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 3\
**Last updated:** [June 28, 2006, 12:19am UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163 "2006-06-28T00:19:29Z")

</div>

I’ve seen it mentioned as maybe being in REXML, NET, or MECHANIZE, but have not managed to find in any of those. Most likely, I’ve missed it. Anyone know how to find it? And can anyone compare with HTree? (I like H…

---

## [Saluti](https://www.ruby-forum.com/t/saluti/89870)

<div class="topic-metadata">

**Author:** [@Massimiliano\_MSr](https://www.ruby-forum.com/u/Massimiliano_MSr)\
**Replies:** 3\
**Last updated:** [March 30, 2006, 11:04am UTC](https://www.ruby-forum.com/t/saluti/89870 "2006-03-30T11:04:20Z")

</div>

Konnichiwa. Dopo essermi assentato un attimo (chi ricorda di avermi visto l’ultima volta da queste parti un anno fa e più non mi picchi), torno con piacere in mailing list, e vi trovo più organizzati che mai: duplice …

---

## [Seeding trackback content for design purposes in development](https://www.ruby-forum.com/t/seeding-trackback-content-for-design-purposes-in-development/54579)

<div class="topic-metadata">

**Author:** [@kyleh](https://www.ruby-forum.com/u/kyleh)\
**Replies:** 3\
**Last updated:** [March 9, 2006, 12:27am UTC](https://www.ruby-forum.com/t/seeding-trackback-content-for-design-purposes-in-development/54579 "2006-03-09T00:27:11Z")

</div>

I’m tweaking the look and feel of my Typo installation and want to turn on trackbacks and style them in development. As I don’t have any trackbacks yet what is the easiest way to get some into the database so that I …

---

## [\[ANN\] Ajax training in Austria: "Ajax richtig verwenden"](https://www.ruby-forum.com/t/ann-ajax-training-in-austria-ajax-richtig-verwenden/73430)

<div class="topic-metadata">

**Author:** [@thomas\_f](https://www.ruby-forum.com/u/thomas_f)\
**Replies:** 3\
**Last updated:** [February 26, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/ann-ajax-training-in-austria-ajax-richtig-verwenden/73430 "2006-02-26T12:38:27Z")

</div>

Heya all, I?m doing a one-day training on everything Ajax mainly focusing on script.aculo.us, but naturally including Prototype and a look on Ruby on Rails Ajax capabilities as well, plus a look on our product fluxio…

---

## [Listing Object.methods](https://www.ruby-forum.com/t/listing-object-methods/98216)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 3\
**Last updated:** [January 28, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/listing-object-methods/98216 "2006-01-28T22:09:35Z")

</div>

Hello, Tonight I was thinking that it would be handy to have a way to list all the methods in a class but not list any of the standard methods that it inherits from its parent object enless they have been added to b…

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

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