# Top

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

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

---

## [Well-Grounded Rubyist -- Person class implementation in chapter 4 question](https://www.ruby-forum.com/t/well-grounded-rubyist-person-class-implementation-in-chapter-4-question/235690)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 9, 2013, 9:53am UTC](https://www.ruby-forum.com/t/well-grounded-rubyist-person-class-implementation-in-chapter-4-question/235690 "2013-07-09T09:53:17Z")

</div>

Hi, I am new to programming and new to Ruby. I have been studying Ruby using David Black’s book, and I need bit of help with this: Code in listing 4.11, 4.12 and 4.13 needs to be pieced together (I think) to do some…

---

## [Why do you think of NilClass#to\_proc?](https://www.ruby-forum.com/t/why-do-you-think-of-nilclass-to-proc/219693)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 12, 2012, 11:13pm UTC](https://www.ruby-forum.com/t/why-do-you-think-of-nilclass-to-proc/219693 "2012-05-12T23:13:01Z")

</div>

I have two minds about using a NilClass#to\_proc class NilClass def to\_proc Proc.new{ |\*a| a } end end Or class NilClass def to\_proc Proc.new{ nil } end end Which makes the most sense? I thought of th…

---

## [Fixing Net::TFTP](https://www.ruby-forum.com/t/fixing-net-tftp/214819)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 13, 2011, 10:50pm UTC](https://www.ruby-forum.com/t/fixing-net-tftp/214819 "2011-12-13T22:50:08Z")

</div>

Hi all - I’m extremely new to Ruby programming. Forgive me. I’m trying to develop an updated Net::TFTP library. The existing library doesn’t seem to work correctly with the few embedded devices that I’ve tried it w…

---

## [Getting the most of our caches when dealing with external HTTP services](https://www.ruby-forum.com/t/getting-the-most-of-our-caches-when-dealing-with-external-http-services/214105)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 22, 2011, 1:41pm UTC](https://www.ruby-forum.com/t/getting-the-most-of-our-caches-when-dealing-with-external-http-services/214105 "2011-11-22T13:41:44Z")

</div>

Dear all, I am dealing with a group of pages that display data from a few different HTTP resources. In order to get these pages to be performant you must understand that I want to cache as much as possible at the fro…

---

## [How would you counter the following argument for developing in Rails](https://www.ruby-forum.com/t/how-would-you-counter-the-following-argument-for-developing-in-rails/205102)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [March 31, 2011, 2:26am UTC](https://www.ruby-forum.com/t/how-would-you-counter-the-following-argument-for-developing-in-rails/205102 "2011-03-31T02:26:17Z")

</div>

So, you have a solid idea of what you want to accomplish. You know that by using Ruby on Rails and the core engines/plugins that will help manage your project, you will save your company money, time, and have a full …

---

## [How to know a search result is successfully displayed through its source codes](https://www.ruby-forum.com/t/how-to-know-a-search-result-is-successfully-displayed-through-its-source-codes/200748)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [December 26, 2010, 4:53am UTC](https://www.ruby-forum.com/t/how-to-know-a-search-result-is-successfully-displayed-through-its-source-codes/200748 "2010-12-26T04:53:50Z")

</div>

I am working on a project where need to search a keyword by using simple search. Once you type a keyword in the search field, the “submit” button is clicked, then the matched search result is returned. Who can tell me …

---

## [JRuby and open-uri File handle issue](https://www.ruby-forum.com/t/jruby-and-open-uri-file-handle-issue/187857)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 3\
**Last updated:** [April 30, 2010, 6:39pm UTC](https://www.ruby-forum.com/t/jruby-and-open-uri-file-handle-issue/187857 "2010-04-30T18:39:08Z")

</div>

As stated in another thread we have been seeing the number of open file handles increase through out the day until Tomcat is restarted. We are using Rails 2.3.5 with Tomcat 5 OpenJDK 1.6.0-b09 and Jruby 1.4 on RHEL 5.…

---

## [Programmers motivation: academic research](https://www.ruby-forum.com/t/programmers-motivation-academic-research/178728)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 8\
**Last updated:** [November 12, 2009, 6:43am UTC](https://www.ruby-forum.com/t/programmers-motivation-academic-research/178728 "2009-11-12T06:43:46Z")

</div>

Dear Ruby community, We are researching the motivation factors of Open Source software programmers and would like to ask your cooperation in our large-scale research. The research is performed for the Amsterdam Busine…

---

## [RJS file not rendering](https://www.ruby-forum.com/t/rjs-file-not-rendering/175915)

<div class="topic-metadata">

**Author:** [@aaronvb](https://www.ruby-forum.com/u/aaronvb)\
**Replies:** 3\
**Last updated:** [September 23, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/rjs-file-not-rendering/175915 "2009-09-23T17:31:05Z")

</div>

Hi there, I’ve done this before many times. But for some reason, my controller isn’t rendering my RJS file. Here’s the setup: In the View: a call to remote\_function: \<select name="state" onchange="\<%= remote\_functi…

---

## [Detect TCPSocket interruptions/disappearance](https://www.ruby-forum.com/t/detect-tcpsocket-interruptions-disappearance/168303)

<div class="topic-metadata">

**Author:** [@reynar](https://www.ruby-forum.com/u/reynar)\
**Replies:** 3\
**Last updated:** [May 20, 2009, 3:04pm UTC](https://www.ruby-forum.com/t/detect-tcpsocket-interruptions-disappearance/168303 "2009-05-20T15:04:13Z")

</div>

Hi, I am putting together a background daemon as part of a Rails app to handle monitoring of our phone system. The phone system exposes an TCP socket on which it delivers lines of text in real-time corresponding to e…

---

## [Paypal IPN callback - how to?](https://www.ruby-forum.com/t/paypal-ipn-callback-how-to/129977)

<div class="topic-metadata">

**Author:** [@fonziguy](https://www.ruby-forum.com/u/fonziguy)\
**Replies:** 3\
**Last updated:** [May 18, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/paypal-ipn-callback-how-to/129977 "2009-05-18T15:31:05Z")

</div>

I’m using Paypal to make payments through my Rails app and I have IPN setup so that when rails receives notification from Paypal, a record is activated. This all works fine. However, Paypal sends the notification mult…

---

## [How to validate a form field sequentially](https://www.ruby-forum.com/t/how-to-validate-a-form-field-sequentially/165500)

<div class="topic-metadata">

**Author:** [@quark](https://www.ruby-forum.com/u/quark)\
**Replies:** 3\
**Last updated:** [April 14, 2009, 5:50pm UTC](https://www.ruby-forum.com/t/how-to-validate-a-form-field-sequentially/165500 "2009-04-14T17:50:20Z")

</div>

First, sorry for my English :S … Hi! I’ve searched about my problem into the forum but I didn’t find any post. When I fill, for example, an email field my model validates the presence, uniqueness, max-length (128) an…

---

## [Newbie - several array questions](https://www.ruby-forum.com/t/newbie-several-array-questions/160630)

<div class="topic-metadata">

**Author:** [@latte](https://www.ruby-forum.com/u/latte)\
**Replies:** 8\
**Last updated:** [February 19, 2009, 7:21am UTC](https://www.ruby-forum.com/t/newbie-several-array-questions/160630 "2009-02-19T07:21:13Z")

</div>

Hi all - I’m a first-timer and very much love Ruby! I have several questions involving arrays. First, I’ll create a couple of arrays to use in my examples - arr1 = \[1, 2, 3, 4, 5\] arr2 = \[“foo”, “bar”, “baz”, “abc”, …

---

## [Segmentation fault with ld-2.6.so](https://www.ruby-forum.com/t/segmentation-fault-with-ld-2-6-so/152774)

<div class="topic-metadata">

**Author:** [@Martin\_JSBrownS\_Jr](https://www.ruby-forum.com/u/Martin_JSBrownS_Jr)\
**Replies:** 3\
**Last updated:** [November 8, 2008, 5:23am UTC](https://www.ruby-forum.com/t/segmentation-fault-with-ld-2-6-so/152774 "2008-11-08T05:23:26Z")

</div>

Suddenly, all my ruby apps, even the most basic, are seg faulting. from /var/log/messages… Nov 6 23:42:54 localhost ruby\[5439\] general protection ip:7fed0d030608 sp:a7c7ad30fcdba2eb error:0 in ld-2.6.so\[7fed0d01d000+…

---

## [Edit uploaded file](https://www.ruby-forum.com/t/edit-uploaded-file/142260)

<div class="topic-metadata">

**Author:** [@jaiganez](https://www.ruby-forum.com/u/jaiganez)\
**Replies:** 3\
**Last updated:** [July 7, 2008, 6:02am UTC](https://www.ruby-forum.com/t/edit-uploaded-file/142260 "2008-07-07T06:02:49Z")

</div>

how to edit uploaded file ???pls help…

---

## [Securring a rails app deployed with passenger](https://www.ruby-forum.com/t/securring-a-rails-app-deployed-with-passenger/136697)

<div class="topic-metadata">

**Author:** [@rasmus](https://www.ruby-forum.com/u/rasmus)\
**Replies:** 3\
**Last updated:** [May 6, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/securring-a-rails-app-deployed-with-passenger/136697 "2008-05-06T16:58:40Z")

</div>

Hi guys, I want my rails app to be accessible from certain IPs only. I tried to archieve this the way I was used to it in the PHP-world (in apache vhost-setup): \<VirtualHost \*:80\> ServerName my.domain.com DocumentR…

---

## [Handling browser differences](https://www.ruby-forum.com/t/handling-browser-differences/118877)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 8\
**Last updated:** [November 5, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/handling-browser-differences/118877 "2007-11-05T15:38:42Z")

</div>

Hello, Are there any resources or tutorials on how to handle browser differences in Rails? I’m mainly talking about when they render HTML and/or CSS differently. Do people set up groups of partials that are browser s…

---

## [Multiple apps, one host (mongrel, apache2)?](https://www.ruby-forum.com/t/multiple-apps-one-host-mongrel-apache2/93219)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 8\
**Last updated:** [May 1, 2007, 12:28pm UTC](https://www.ruby-forum.com/t/multiple-apps-one-host-mongrel-apache2/93219 "2007-05-01T12:28:48Z")

</div>

Fame, glory, and a lot of appreciation would shower upon anyone who can indicate how to use mongrel with apache2, to get multiple public apps on one host, without DNS or IP tweaking, etc. To be concrete, let’s say we’…

---

## [Newbee can not install rails](https://www.ruby-forum.com/t/newbee-can-not-install-rails/91663)

<div class="topic-metadata">

**Author:** [@yusufcelik](https://www.ruby-forum.com/u/yusufcelik)\
**Replies:** 8\
**Last updated:** [April 11, 2007, 2:36pm UTC](https://www.ruby-forum.com/t/newbee-can-not-install-rails/91663 "2007-04-11T14:36:24Z")

</div>

Hi, When I try to install rails with the following command I get the following error. c:\\ruby\>gem install rails --include-dependencies ERROR: While executing gem … (RuntimeError) Error instaling rails: rails requi…

---

## [Dry\_scaffold](https://www.ruby-forum.com/t/dry-scaffold/100530)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 20, 2007, 5:07am UTC](https://www.ruby-forum.com/t/dry-scaffold/100530 "2007-02-20T05:07:36Z")

</div>

Announcing, the beta of DRY Scaffolding engine! A DRY scaffolding engine plugin: I love DRY. Ruby on Rails is a great DRY framework. However, the moment I executed “script/generate scaffold” things got “wet”. DryScaf…

---

## [Rails OSX Tiger RMagick Bus Error Abort trap](https://www.ruby-forum.com/t/rails-osx-tiger-rmagick-bus-error-abort-trap/70238)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 8\
**Last updated:** [October 18, 2006, 10:38am UTC](https://www.ruby-forum.com/t/rails-osx-tiger-rmagick-bus-error-abort-trap/70238 "2006-10-18T10:38:56Z")

</div>

Hi; I am using a PowerBook G4 with: OSX Tiger version 10.4.7; Rubygems 0.9; Rails 1.1.6; RMagic 1.13.0 I have Ruby and friends installed at /usr/local/… just as described in: then installed RMagick as descibed in: …

---

## [Rubygems bug?](https://www.ruby-forum.com/t/rubygems-bug/76426)

<div class="topic-metadata">

**Author:** [@Logan\_C](https://www.ruby-forum.com/u/Logan_C)\
**Replies:** 8\
**Last updated:** [March 8, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/rubygems-bug/76426 "2006-03-08T17:05:56Z")

</div>

Help! Today I was trying to use rubygems and all of a sudden I started getting the following odd error messages: % gem update Upgrading installed gems… ERROR: While executing gem … (NoMethodError) undefined method…

---

## [Does engines work with edge rails?](https://www.ruby-forum.com/t/does-engines-work-with-edge-rails/53876)

<div class="topic-metadata">

**Author:** [@Duane\_J](https://www.ruby-forum.com/u/Duane_J)\
**Replies:** 3\
**Last updated:** [February 15, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/does-engines-work-with-edge-rails/53876 "2006-02-15T23:02:25Z")

</div>

I’m just joining the list, so bear with me if this has been asked before. I have an application running on edge rails that I attempted to add the login engine to. Unfortunately, however, I received a stack level too…

---

## [Websockets proxy "Broken pipe"](https://www.ruby-forum.com/t/websockets-proxy-broken-pipe/243305)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 9, 2015, 1:09pm UTC](https://www.ruby-forum.com/t/websockets-proxy-broken-pipe/243305 "2015-09-09T13:09:59Z")

</div>

I have a problem with nginx and websockets proxy. Here is the message I receive: \[error\] 20999#0: \*1997296 send() failed (32: Broken pipe) while proxying upgraded connection, client: 10.0.25.47, server: example.com, r…

---

## [Old release cache](https://www.ruby-forum.com/t/old-release-cache/236986)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 17, 2013, 12:34pm UTC](https://www.ruby-forum.com/t/old-release-cache/236986 "2013-10-17T12:34:10Z")

</div>

Hi all, for first sorry for my english. I’ve deployed a new app release with Capistrano on my Server after a cap deploy:cleanup (just to delete some old releases). At the moment I can’t see the changes I’ve made beca…

---

## [Apéro Ruby à Montpellier - beta](https://www.ruby-forum.com/t/apero-ruby-a-montpellier-beta/210534)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 10, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/apero-ruby-a-montpellier-beta/210534 "2011-08-10T15:04:44Z")

</div>

Bonjour chers développeurs Ruby on Rails, Je vous invite à la version “beta” de l’apéro Ruby Montpellier. Cet événement informel aura lieu le mercredi 24 août à 19h au Vert Anglais à Montpellier. Cette édition sera p…

---

## [Dynamic Links within a namespace](https://www.ruby-forum.com/t/dynamic-links-within-a-namespace/243467)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [November 12, 2015, 4:31pm UTC](https://www.ruby-forum.com/t/dynamic-links-within-a-namespace/243467 "2015-11-12T16:31:19Z")

</div>

Hello all! I am new to all of this and I am trying to accomplish something, and I am hoping that someone will be able to assist me… I am trying to set up a namespace within a dynamic link. I have created an admin nam…

---

## [Correct location for ActionMailer interceptor](https://www.ruby-forum.com/t/correct-location-for-actionmailer-interceptor/242482)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 27, 2015, 3:44pm UTC](https://www.ruby-forum.com/t/correct-location-for-actionmailer-interceptor/242482 "2015-06-27T15:44:33Z")

</div>

I read the Rails documentation for creating an email interceptor. It mentions putting the registration in config/initializers, However, there’s no mention about where I should store the interceptor itself. What is th…

---

## [Specest issue](https://www.ruby-forum.com/t/specest-issue/233550)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 23, 2014, 6:03pm UTC](https://www.ruby-forum.com/t/specest-issue/233550 "2014-12-23T18:03:11Z")

</div>

Dear All: OS: Ubuntu 14.01.1 gnu-radio: 3.7.6 Dell Optiplex 765 I want to use the moving\_average\_vff block from specest, which is not available in GRC. I tried installing gr-specest using pybombs (gnuradio wa…

---

## [Avoiding duplicate string writing](https://www.ruby-forum.com/t/avoiding-duplicate-string-writing/237459)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 14, 2013, 6:29pm UTC](https://www.ruby-forum.com/t/avoiding-duplicate-string-writing/237459 "2013-11-14T18:29:35Z")

</div>

Hi all, I’m trying to run the code below. Basically I want to include the users “user” and “user2” after the line “Authentication:”. I’m running this ruby\_block inside a Chef recipe and in a first moment it works as …

---

## [ARGF: No switch to STDIN after all files?](https://www.ruby-forum.com/t/argf-no-switch-to-stdin-after-all-files/221190)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 4, 2012, 12:19pm UTC](https://www.ruby-forum.com/t/argf-no-switch-to-stdin-after-all-files/221190 "2012-07-04T12:19:53Z")

</div>

I’ve started learning Ruby and trying to do the first (stupid) program as exercise. The input will be supported from a file and/or stdin. If no file given, the program prompt user to insert all the data. If a file is…

---

## [Using Capybara to select from a collection\_select call (select tag)](https://www.ruby-forum.com/t/using-capybara-to-select-from-a-collection-select-call-select-tag/209107)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 12, 2011, 9:01pm UTC](https://www.ruby-forum.com/t/using-capybara-to-select-from-a-collection-select-call-select-tag/209107 "2011-07-12T21:01:30Z")

</div>

I’m trying to use Capybara to test this. I have a step that goes When I select "Price Chopper" from "Organization" And the step definition is When /^(?:|I )select “(.+)” from “(.+)”$/ do |value, field| select(value,…

---

## [Re: Post call verification](https://www.ruby-forum.com/t/re-post-call-verification/204871)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 23, 2011, 8:57pm UTC](https://www.ruby-forum.com/t/re-post-call-verification/204871 "2011-03-23T20:57:48Z")

</div>

If anyone is interested, I wrote a quick little gem to add spies to rspec-mocks. Basically, it adds a method called spy which internally returns a mock.as\_null\_object, and a matcher for “have\_received(:method)” & “ha…

---

## [Email Testing with Cucumber and email-spec](https://www.ruby-forum.com/t/email-testing-with-cucumber-and-email-spec/191331)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/email-testing-with-cucumber-and-email-spec/191331 "2010-07-12T14:51:05Z")

</div>

Hello Friends! I have been trying to test email using Cucumber and Email-Spec. I have put this statement “require ‘email\_spec/cucumber’” in support/env.rb file and I am getting this error: “Using the default profile…

---

## [Modelle Ã¼ber Assoziationen aktualisieren](https://www.ruby-forum.com/t/modelle-a-ber-assoziationen-aktualisieren/165514)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 2\
**Last updated:** [April 23, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/modelle-a-ber-assoziationen-aktualisieren/165514 "2009-04-23T19:00:54Z")

</div>

Hallo zusammen, Ich stehe auf dem Schlauch und hoffe das mir jemand von Euch auf die SprÃ¼nge helfen kann. Worum gehts? Ich baue eine Seite, auf der sich Shops, mitsamt ihrer Ã–ffnungszeiten in eigenen Profilen vere…

---

## [tÃ©lÃ©chargement et affichage d 'image avec HtmlWindow](https://www.ruby-forum.com/t/ta-la-chargement-et-affichage-d-image-avec-htmlwindow/160229)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 2\
**Last updated:** [February 13, 2009, 6:28pm UTC](https://www.ruby-forum.com/t/ta-la-chargement-et-affichage-d-image-avec-htmlwindow/160229 "2009-02-13T18:28:49Z")

</div>

Bonjour Ã tous. Je ne trouve pas la mÃ©thode qui pourrait me permettre de tÃ©lÃ©charger des images sur le web sans avoir ce genre de message d’erreur quand je les affiches avec “HtmlWindow”: Corrupt JPEG data: 1 ext…

---

## [Spread data in gnuradio](https://www.ruby-forum.com/t/spread-data-in-gnuradio/148797)

<div class="topic-metadata">

**Author:** [@mir\_murtuza\_ali](https://www.ruby-forum.com/u/mir_murtuza_ali)\
**Replies:** 2\
**Last updated:** [September 17, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/spread-data-in-gnuradio/148797 "2008-09-17T18:23:39Z")

</div>

hi all i want to spread binary data read from a file using a PN sequence. The PN sequence is generated by a LFSR. Is there any gnuradio block that can help me do this. The gr.glfsr\_source\_b generates the sequence con…

---

## [Play audio file](https://www.ruby-forum.com/t/play-audio-file/147512)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [September 2, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/play-audio-file/147512 "2008-09-02T19:04:02Z")

</div>

Hi all, Does anyone have idea which gem/plug in is used to play audio file under Vista? Thanks, Li

---

## [Building a FAQ](https://www.ruby-forum.com/t/building-a-faq/94464)

<div class="topic-metadata">

**Author:** [@JesSSSSs\_Dugarte](https://www.ruby-forum.com/u/JesSSSSs_Dugarte)\
**Replies:** 2\
**Last updated:** [May 4, 2006, 1:48pm UTC](https://www.ruby-forum.com/t/building-a-faq/94464 "2006-05-04T13:48:06Z")

</div>

I’m new in Rails, and I’m building my first application. I’m trying to make a FAQ for this application, organized by product (questions about each product) and category (questions of different categories or topics), a…

---

## [Is Rails getting testing semantics wrong and making things c](https://www.ruby-forum.com/t/is-rails-getting-testing-semantics-wrong-and-making-things-c/77000)

<div class="topic-metadata">

**Author:** [@lukeredpath](https://www.ruby-forum.com/u/lukeredpath)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 5:06am UTC](https://www.ruby-forum.com/t/is-rails-getting-testing-semantics-wrong-and-making-things-c/77000 "2006-03-08T05:06:40Z")

</div>

Yes, I believe it is and I think it is dangerous, and confusing to people new to the concepts of testing. I’ve mentioned a point similar to this on here before, but with the announcement of Rails “integration” test, …

---

## [Thread specific singleton's](https://www.ruby-forum.com/t/thread-specific-singletons/72211)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 2\
**Last updated:** [December 19, 2005, 10:04am UTC](https://www.ruby-forum.com/t/thread-specific-singletons/72211 "2005-12-19T10:04:37Z")

</div>

How do I make a thread specific Singleton? That is, once instance per thread. Related question: why do Singleton’s use the Name.instance.method idiom (using instance methods) as opposed to Name.method (using class me…

---

## [Newbie question: how do I install this Ruby package?](https://www.ruby-forum.com/t/newbie-question-how-do-i-install-this-ruby-package/242073)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 25, 2015, 9:00pm UTC](https://www.ruby-forum.com/t/newbie-question-how-do-i-install-this-ruby-package/242073 "2015-05-25T21:00:05Z")

</div>

Hello everyone. I have a very basic question. I am completely new to Ruby, and I have no idea how to figure this out. I’d like to install this open source package on my site server: https://github.com/flores/yet-anot…

---

## ['Counts' in WX Scope Plot](https://www.ruby-forum.com/t/counts-in-wx-scope-plot/230867)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 10, 2014, 3:27pm UTC](https://www.ruby-forum.com/t/counts-in-wx-scope-plot/230867 "2014-07-10T15:27:57Z")

</div>

The vertical axis in Scope Plot is labelled as Counts. What does it mean? How is it related to the physical parameters of the signal like amplitude/power? – View this message in context: http://gnuradio.4.n7.nabble…

---

## [Can I have a OS-X like layout?](https://www.ruby-forum.com/t/can-i-have-a-os-x-like-layout/230535)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 5\
**Last updated:** [June 23, 2014, 9:09am UTC](https://www.ruby-forum.com/t/can-i-have-a-os-x-like-layout/230535 "2014-06-23T09:09:33Z")

</div>

Hello, For a project for a volunteers organisation I need a layout who mimick the OS-X layout. Can I have this easily in Ruby ? I have found the RubyMotion but I do not know if this also works for other platforms …

---

## [Configure specific upstream node to spit 30x error](https://www.ruby-forum.com/t/configure-specific-upstream-node-to-spit-30x-error/222165)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 15, 2012, 11:31pm UTC](https://www.ruby-forum.com/t/configure-specific-upstream-node-to-spit-30x-error/222165 "2012-08-15T23:31:11Z")

</div>

Hi all, I was wondering if there is feasible way to have a node spit a specific 30x error (i.e. 307) if it becomes unreachable, instead of passing to next upstream node? upstream mycluster { server 192.168.1.2; se…

---

## [Sending Traffic to another Server/Port/IP asynchronously](https://www.ruby-forum.com/t/sending-traffic-to-another-server-port-ip-asynchronously/216659)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 19, 2012, 11:09am UTC](https://www.ruby-forum.com/t/sending-traffic-to-another-server-port-ip-asynchronously/216659 "2012-03-19T11:09:17Z")

</div>

I have nginx as the HTTP server. I wanted to write a module which asynchronously send all the traffic to another IP or PORT where my analytics server will be running. I dont want to create any lag in serving HTTP requ…

---

## [%r{\\.(gif|jpg|png)$}i](https://www.ruby-forum.com/t/r-gif-jpg-png-i/215433)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 4, 2012, 12:48pm UTC](https://www.ruby-forum.com/t/r-gif-jpg-png-i/215433 "2012-01-04T12:48:46Z")

</div>

So a grandi linee il significato di questa espressione, ma non mi completamente chiara (ad esempio “%r{}”) Qualcuno di voi saprebbe spiegarmela passo passo? Non c’ un modo pi chiaro per scriverla?

---

## [Importing Grblock or not?](https://www.ruby-forum.com/t/importing-grblock-or-not/214144)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 14, 2011, 5:35pm UTC](https://www.ruby-forum.com/t/importing-grblock-or-not/214144 "2011-12-14T17:35:55Z")

</div>

Hi Josh, As you said that the work of grblock has already been merged to your next branch, I am little confusing that how to use grblock. Previously, we installed grblock as a separate module, and in the application…

---

## [WillPaginate::Collection not detectible in assigns?](https://www.ruby-forum.com/t/willpaginate-collection-not-detectible-in-assigns/198772)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 8, 2010, 10:50pm UTC](https://www.ruby-forum.com/t/willpaginate-collection-not-detectible-in-assigns/198772 "2010-11-08T22:50:38Z")

</div>

I am transitioning a Rails 2 app to Rails 3, Rspec 2 and have several controller where I test collect.should be\_an\_instance\_of(WillPaginate::Collection). The spec fails with “expected \[object\] to be an instance of Wil…

---

## [Persistent objects](https://www.ruby-forum.com/t/persistent-objects/185857)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 5\
**Last updated:** [March 27, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/persistent-objects/185857 "2010-03-27T19:14:29Z")

</div>

Is there a way to create an object that is a singleton (one instance per user session) and is kept as long as the user session exists? The object handles a connection to a remote server that is very heavy to establish…

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

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