# Top

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

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

---

## [Mocking a 3rd party call, but with a few exceptions](https://www.ruby-forum.com/t/mocking-a-3rd-party-call-but-with-a-few-exceptions/147844)

<div class="topic-metadata">

**Author:** [@fxp](https://www.ruby-forum.com/u/fxp)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/mocking-a-3rd-party-call-but-with-a-few-exceptions/147844 "2008-09-16T23:05:56Z")

</div>

I use geocoding in our app, and it permeates most of the core functionality. Because it makes a call out to Google or Yahoo or what not to do the geocoding, I’d like to mock this for the bulk of my tests, except for …

---

## [How to delete cache based on expires headers?](https://www.ruby-forum.com/t/how-to-delete-cache-based-on-expires-headers/238137)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [January 6, 2014, 5:18am UTC](https://www.ruby-forum.com/t/how-to-delete-cache-based-on-expires-headers/238137 "2014-01-06T05:18:17Z")

</div>

Hi I’m using proxy\_cache to mirror my files with the configuration below proxy\_cache\_path /var/cache/nginx/image levels=1:2 keys\_zone=one:10m inactive=7d max\_size=100g; Our backend server has the expires header set…

---

## [How does top level method is being called Inside the block with instance\_eval?](https://www.ruby-forum.com/t/how-does-top-level-method-is-being-called-inside-the-block-with-instance-eval/237178)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [October 28, 2013, 5:12pm UTC](https://www.ruby-forum.com/t/how-does-top-level-method-is-being-called-inside-the-block-with-instance-eval/237178 "2013-10-28T17:12:18Z")

</div>

Hi, Follow the code below : class Foo def initialize @var = 1 end private def bar 11 end end p foo = Foo.new # #\<Foo:0x1fc41f0 @var=1\> def baz;13;end foo.instance\_eval do p self # #\<Foo:0x1fc41f0 @var=1\> p…

---

## [Removing directories](https://www.ruby-forum.com/t/removing-directories/224878)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 30, 2012, 6:34pm UTC](https://www.ruby-forum.com/t/removing-directories/224878 "2012-11-30T18:34:14Z")

</div>

Hello, I’ve googled around and I’ve discovered that "FileUtils.rm\_rf(’#{dir}’) will remove a directory. But, I can’t get it to work. I need to go into a created subdirectory, move the files in there to the parent dire…

---

## [Rails 3](https://www.ruby-forum.com/t/rails-3/194180)

<div class="topic-metadata">

**Author:** [@jamba](https://www.ruby-forum.com/u/jamba)\
**Replies:** 6\
**Last updated:** [September 7, 2010, 6:38pm UTC](https://www.ruby-forum.com/t/rails-3/194180 "2010-09-07T18:38:51Z")

</div>

Magari a qualcuno puo’ essere sfuggito… p.s. Diverse volte ho letto richieste di hosting gratuiti per rails. cercando altre cose ho trovato questo: mi sembra che non sia mai stato postato.

---

## [Bug filed: Array#hash should properly handle recursive arrays](https://www.ruby-forum.com/t/bug-filed-array-hash-should-properly-handle-recursive-arrays/165742)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 6\
**Last updated:** [April 17, 2009, 4:01am UTC](https://www.ruby-forum.com/t/bug-filed-array-hash-should-properly-handle-recursive-arrays/165742 "2009-04-17T04:01:07Z")

</div>

Hi, I have just filed this bug on CodePlex: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=605 It is actually pretty easy to fix with a bunch of lines of code in RubyArray.GetHashCode (just tested, too ba…

---

## [Undefined method (XRC problem)](https://www.ruby-forum.com/t/undefined-method-xrc-problem/160328)

<div class="topic-metadata">

**Author:** [@rustee](https://www.ruby-forum.com/u/rustee)\
**Replies:** 6\
**Last updated:** [February 16, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/undefined-method-xrc-problem/160328 "2009-02-16T19:57:01Z")

</div>

I’m trying to get my first small test wxRuby app up and running. I have created an XRC file using DialogBlocks and then used xrcise to produce the ruby code which loads it. I then did a bit of cutting and pasting to p…

---

## [Photo of the Beagle Board and USRP](https://www.ruby-forum.com/t/photo-of-the-beagle-board-and-usrp/135771)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 6\
**Last updated:** [April 26, 2008, 4:28am UTC](https://www.ruby-forum.com/t/photo-of-the-beagle-board-and-usrp/135771 "2008-04-26T04:28:31Z")

</div>

I’ve received a Beagle board and started testing the USRP connection. (Still needs work) I’ve had several requests for more information so I thought a photo would help people understand the possibilities. http://www.f…

---

## [\[patch\] Use G\_CHILD\_ADD when adding elements and pads](https://www.ruby-forum.com/t/patch-use-g-child-add-when-adding-elements-and-pads/197169)

<div class="topic-metadata">

**Author:** [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Replies:** 6\
**Last updated:** [March 31, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/patch-use-g-child-add-when-adding-elements-and-pads/197169 "2008-03-31T17:19:15Z")

</div>

Hi, See attached patch. Sjoerd

---

## [Is anyone successfully using acts\_as\_ferret with Ferret 0.11](https://www.ruby-forum.com/t/is-anyone-successfully-using-acts-as-ferret-with-ferret-0-11/106140)

<div class="topic-metadata">

**Author:** [@casey](https://www.ruby-forum.com/u/casey)\
**Replies:** 6\
**Last updated:** [June 6, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/is-anyone-successfully-using-acts-as-ferret-with-ferret-0-11/106140 "2007-06-06T20:52:33Z")

</div>

Hi all, I upgraded from Ferret 0.11.3 to Ferret 0.11.4 because I was getting intermittent segfaults that seemed to be due to a bug which was fixed (changeset 749). Unfortunately, 0.11.4 + acts\_as\_ferret seems to be a…

---

## [Initialize and superclass](https://www.ruby-forum.com/t/initialize-and-superclass/65708)

<div class="topic-metadata">

**Author:** [@jvivenot](https://www.ruby-forum.com/u/jvivenot)\
**Replies:** 6\
**Last updated:** [August 22, 2006, 12:06am UTC](https://www.ruby-forum.com/t/initialize-and-superclass/65708 "2006-08-22T00:06:39Z")

</div>

Hi I’d like to know something : Lets say I have two classes A and B, where A is B’s superclass. B’s initialize method initialize her own variables, but how could I do in order to run A.initialize before B.initialize …

---

## [Is there a way to get an "around" hook for each spec file?](https://www.ruby-forum.com/t/is-there-a-way-to-get-an-around-hook-for-each-spec-file/211572)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 7, 2011, 5:33pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-get-an-around-hook-for-each-spec-file/211572 "2011-09-07T17:33:04Z")

</div>

Is there a way to run an around block once for every spec file (not spec)? (I want to measure which files take the longest amount of time, count the number of specs in each file, and then report the average spec runni…

---

## [Display/Hide parameters from an XML Files](https://www.ruby-forum.com/t/display-hide-parameters-from-an-xml-files/192500)

<div class="topic-metadata">

**Author:** [@zohair](https://www.ruby-forum.com/u/zohair)\
**Replies:** 3\
**Last updated:** [August 10, 2010, 6:41pm UTC](https://www.ruby-forum.com/t/display-hide-parameters-from-an-xml-files/192500 "2010-08-10T18:41:20Z")

</div>

Hi All, I am writing some blocks and I need help in XML file. 1- I have a drop down menu and I want the chosen option to be displayed on the block. 2- I have an integer parameter that is by default displayed on the …

---

## [Transmitting a binary 'ones and zeroes' file for Bit Error A](https://www.ruby-forum.com/t/transmitting-a-binary-ones-and-zeroes-file-for-bit-error-a/107971)

<div class="topic-metadata">

**Author:** [@rashi\_dixit](https://www.ruby-forum.com/u/rashi_dixit)\
**Replies:** 3\
**Last updated:** [June 29, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/transmitting-a-binary-ones-and-zeroes-file-for-bit-error-a/107971 "2007-06-29T18:45:52Z")

</div>

Hello Everyone I am currently working on binary file transmission from one system to another, but couldnt figure a way out yet. Using tx\_voice.py when I send a binary file with just an arbitrary stream of ones and ze…

---

## [Deprecating {{}} and welcoming %{}](https://www.ruby-forum.com/t/deprecating-and-welcoming/187874)

<div class="topic-metadata">

**Author:** [@josevalim](https://www.ruby-forum.com/u/josevalim)\
**Replies:** 4\
**Last updated:** [May 3, 2010, 8:00am UTC](https://www.ruby-forum.com/t/deprecating-and-welcoming/187874 "2010-05-03T08:00:29Z")

</div>

Hey guys, I did a couple benchmarks related with using {{}} or %{} as interpolation option in message and got the following results. Using Ruby 1.9.1 {{}} 525.48 ms %{} 320.03 ms Using REE {{}} 813.61 ms %…

---

## [Help on play a sound](https://www.ruby-forum.com/t/help-on-play-a-sound/183020)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 4\
**Last updated:** [February 6, 2010, 10:34pm UTC](https://www.ruby-forum.com/t/help-on-play-a-sound/183020 "2010-02-06T22:34:43Z")

</div>

Hi… i have a .wav file in my rails public folder. i would like to play that file when i click play link in my application. so i did like below \<% @file\_path = “#{RAILS\_ROOT}” + “/public/Server\_exe/#{voicemail.file\_p…

---

## [Displaying Asian characters in StyledTextCtrl](https://www.ruby-forum.com/t/displaying-asian-characters-in-styledtextctrl/165646)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 4\
**Last updated:** [April 16, 2009, 7:54am UTC](https://www.ruby-forum.com/t/displaying-asian-characters-in-styledtextctrl/165646 "2009-04-16T07:54:38Z")

</div>

Hi, I used r18n-desktop (http://r18n.rubyforge.org/) for localization, it worked well. But I have trouble displaying Chinese characters in StyledTextCtrl, On Mac, the control accepts characters, but failed to save (c…

---

## [Can't find the partial](https://www.ruby-forum.com/t/cant-find-the-partial/132222)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 4\
**Last updated:** [March 18, 2008, 3:53am UTC](https://www.ruby-forum.com/t/cant-find-the-partial/132222 "2008-03-18T03:53:06Z")

</div>

I have a simple ajax request that should return a partial, but for some reason I am continually told that it is not there. I have modified the partial location to other partials that do work fine elsewhere and it sti…

---

## [Radius tag and send\_data method](https://www.ruby-forum.com/t/radius-tag-and-send-data-method/119384)

<div class="topic-metadata">

**Author:** [@enzo\_ferro](https://www.ruby-forum.com/u/enzo_ferro)\
**Replies:** 4\
**Last updated:** [November 7, 2007, 10:47am UTC](https://www.ruby-forum.com/t/radius-tag-and-send-data-method/119384 "2007-11-07T10:47:08Z")

</div>

Hy everybody, how can I use the “send\_data” method in a radius tag? More details: in a RoR application I’ve used the method “send\_data” to download e file stored in a database table in this way: rhtml code: \<%= lin…

---

## [Dynamically read object's attributes](https://www.ruby-forum.com/t/dynamically-read-objects-attributes/115200)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 4\
**Last updated:** [September 21, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/dynamically-read-objects-attributes/115200 "2007-09-21T17:23:14Z")

</div>

I want to read the values of instance variables in an object, but I don’t know how to reach them. I think the code should be something like: def read\_stuff s = “Class: #{self.class}:\\n” s += “Instance variables:\\n” …

---

## [Validating Child Objects against Parent](https://www.ruby-forum.com/t/validating-child-objects-against-parent/71379)

<div class="topic-metadata">

**Author:** [@ajay](https://www.ruby-forum.com/u/ajay)\
**Replies:** 4\
**Last updated:** [October 8, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/validating-child-objects-against-parent/71379 "2006-10-08T21:10:19Z")

</div>

Folks, This is my situation. I have a form where I create a Parent Object and Two Child object. This is all in one form. In my Controller create… I need to do validation on all three(parent and 2 child). But my ch…

---

## [Replace empty or strange characters within array of arrays](https://www.ruby-forum.com/t/replace-empty-or-strange-characters-within-array-of-arrays/168866)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 5\
**Last updated:** [May 26, 2009, 10:17pm UTC](https://www.ruby-forum.com/t/replace-empty-or-strange-characters-within-array-of-arrays/168866 "2009-05-26T22:17:56Z")

</div>

Hi everyone: I’m a newcomer to Ruby and started learning it approximately one-week ago. I learn very fast (I have a photographic and logical memory) and own a large section of books… I wanted my first program to be …

---

## [Serving WAP pages from nginx](https://www.ruby-forum.com/t/serving-wap-pages-from-nginx/144392)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 5\
**Last updated:** [July 29, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/serving-wap-pages-from-nginx/144392 "2008-07-29T21:29:53Z")

</div>

While serving a lot of WAP / Mobile Based content, nginx is throwing up a lot of HTTP 400 errors. Also connection refused upstream is coming a lot! 2008/07/29 10:43:46 \[info\] 20025#0: 32822441 client sent invali…

---

## [Implementando transacciones a nivel de ap licaciÃ³n](https://www.ruby-forum.com/t/implementando-transacciones-a-nivel-de-ap-licacia-n/83611)

<div class="topic-metadata">

**Author:** [@ferblape](https://www.ruby-forum.com/u/ferblape)\
**Replies:** 5\
**Last updated:** [January 29, 2007, 7:43am UTC](https://www.ruby-forum.com/t/implementando-transacciones-a-nivel-de-ap-licacia-n/83611 "2007-01-29T07:43:52Z")

</div>

¿Cuál consideráis la mejor manera de implementar una transacción a nivel de controlador? Lo que entiendo por transacción es ejecutar un unas determinadas acciones de forma atómica, y que, en el caso de que no se ejecu…

---

## [A little problem](https://www.ruby-forum.com/t/a-little-problem/96742)

<div class="topic-metadata">

**Author:** [@mdallosso](https://www.ruby-forum.com/u/mdallosso)\
**Replies:** 5\
**Last updated:** [January 25, 2006, 2:43am UTC](https://www.ruby-forum.com/t/a-little-problem/96742 "2006-01-25T02:43:23Z")

</div>

Hi everyone, I’m Matteo, I’m Italian, so sorry for my bad English. I’ve just downloaded the “depot” examples, but I’ve an error: script/server bash: script/server: /Users/dave/ruby1.8/bin/ruby: bad interpreter: No su…

---

## [Ruby/vim folding question](https://www.ruby-forum.com/t/ruby-vim-folding-question/48553)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 5\
**Last updated:** [November 22, 2005, 4:09pm UTC](https://www.ruby-forum.com/t/ruby-vim-folding-question/48553 "2005-11-22T16:09:52Z")

</div>

any ruby/vim gurus out there know how to fold only these: modules classes methods based on syntax method folding? fold level won’t cut it here since i might have module A module B module C module D class C def…

---

## [Upstream member liveness](https://www.ruby-forum.com/t/upstream-member-liveness/244438)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [April 13, 2016, 9:36am UTC](https://www.ruby-forum.com/t/upstream-member-liveness/244438 "2016-04-13T09:36:36Z")

</div>

What is the scope of the upstream member liveness: is it per upstream group, or per vhost ? If the question is unclear, consider I have 3 nginx - one balancer and two backends, and the following config part on the n…

---

## [Hierarchical polyphase channelizer vs polyphase channelizer blocks in GRC](https://www.ruby-forum.com/t/hierarchical-polyphase-channelizer-vs-polyphase-channelizer-blocks-in-grc/242529)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 30, 2015, 7:48pm UTC](https://www.ruby-forum.com/t/hierarchical-polyphase-channelizer-vs-polyphase-channelizer-blocks-in-grc/242529 "2015-06-30T19:48:47Z")

</div>

Does anyone have any knowledge of how the parameters need to be set in the hierarchical pfb channelizer? There’s no documentation that I can find. I HAVE gotten the regular channelizer to work and it’s awesome (scree…

---

## [Calling methods, getting string and adding them](https://www.ruby-forum.com/t/calling-methods-getting-string-and-adding-them/220594)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [June 14, 2012, 6:33am UTC](https://www.ruby-forum.com/t/calling-methods-getting-string-and-adding-them/220594 "2012-06-14T06:33:32Z")

</div>

I was wondering why this is not being accepted? I get an error stating that + is an unknown method. I defined a Class and 3 methods within the class, and am merely calling the methods and trying to add them together …

---

## [Rake db:create Segmentation Fault (mysql 6.0.0)](https://www.ruby-forum.com/t/rake-db-create-segmentation-fault-mysql-6-0-0/216433)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 4, 2012, 11:26pm UTC](https://www.ruby-forum.com/t/rake-db-create-segmentation-fault-mysql-6-0-0/216433 "2012-02-04T23:26:09Z")

</div>

Hi I’m new to this. Today I installed the mysql gem and when I attempted db:create ruby told me that “This gem was compiled for 6.0.0 but the client library is 5.5.15” I then installed mysql 6.0.0 and copied the resu…

---

## [How does bundler know whether Gemfile has changed?](https://www.ruby-forum.com/t/how-does-bundler-know-whether-gemfile-has-changed/214974)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [December 18, 2011, 11:29am UTC](https://www.ruby-forum.com/t/how-does-bundler-know-whether-gemfile-has-changed/214974 "2011-12-18T11:29:48Z")

</div>

I am trying to understand how bundler works. Looking at the manual \[1\] it says “If a Gemfile.lock does exist, and you have not updated your Gemfile(5), bundler will fetch all remote sources, but use the dependencies…

---

## [Prawn : undefined method \`make\_table'](https://www.ruby-forum.com/t/prawn-undefined-method-make-table/199921)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 1, 2010, 1:51pm UTC](https://www.ruby-forum.com/t/prawn-undefined-method-make-table/199921 "2010-12-01T13:51:17Z")

</div>

require ‘prawn’ require ‘prawn/core’ require ‘prawn/layout’ Prawn::Document.new do |pdf| subtable = pdf.make\_table(\[\[ “foo”, “bar” \], \[ “baz”, “bax” \]\], :column\_widths =\> \[ 50, 50 \]) { column(0).background\_color = …

---

## [Win32-service Segmentation fault](https://www.ruby-forum.com/t/win32-service-segmentation-fault/170160)

<div class="topic-metadata">

**Author:** [@dandiebolt](https://www.ruby-forum.com/u/dandiebolt)\
**Replies:** 7\
**Last updated:** [June 13, 2009, 6:17am UTC](https://www.ruby-forum.com/t/win32-service-segmentation-fault/170160 "2009-06-13T06:17:25Z")

</div>

Having an issue with win32-service, it works on most 2003 servers I’ve tried, but on several, it segfaults. Platform: Windows Server 2003, Standard Edition Build 3790 Service Pack 2, I have other servers of the same l…

---

## [Re: \[Douglas Geiger BBN 802.11b\] Porting code on 	USRP2 problems](https://www.ruby-forum.com/t/re-douglas-geiger-bbn-802-11b-porting-code-on-usrp2-problems/167198)

<div class="topic-metadata">

**Author:** [@Ben\_Yahmed](https://www.ruby-forum.com/u/Ben_Yahmed)\
**Replies:** 7\
**Last updated:** [May 15, 2009, 5:11am UTC](https://www.ruby-forum.com/t/re-douglas-geiger-bbn-802-11b-porting-code-on-usrp2-problems/167198 "2009-05-15T05:11:16Z")

</div>

Hi all, I succeeded to make the simple\_mac.py working. now it’s pinging correctly but with a huge loss ratio. At first I disabled the carrier sense functions but after I reactivated them but I’m not sure these functi…

---

## [Pasar nil a una accion](https://www.ruby-forum.com/t/pasar-nil-a-una-accion/161237)

<div class="topic-metadata">

**Author:** [@croese](https://www.ruby-forum.com/u/croese)\
**Replies:** 7\
**Last updated:** [February 25, 2009, 7:51am UTC](https://www.ruby-forum.com/t/pasar-nil-a-una-accion/161237 "2009-02-25T07:51:33Z")

</div>

hola lista, como estan… pregunta: puedo pasarle nil a una accion? ya sea en un controllador o en una clase del modelo? ejemplo: si defino una accion en un controllador la cual resive 2 parametros, en algun momento pu…

---

## [Rails link\_to function passing arguments](https://www.ruby-forum.com/t/rails-link-to-function-passing-arguments/116771)

<div class="topic-metadata">

**Author:** [@slackeast](https://www.ruby-forum.com/u/slackeast)\
**Replies:** 1\
**Last updated:** [October 9, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/rails-link-to-function-passing-arguments/116771 "2007-10-09T17:38:24Z")

</div>

I basically want to pass my own custom variables to the link\_to function so I don’t need to set up a bunch of actions within my controller. So here’s more of the details: link\_to example: Code: \<% for g in @games %\> …

---

## [Ruby-serialport on OS X?](https://www.ruby-forum.com/t/ruby-serialport-on-os-x/113685)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 7\
**Last updated:** [September 10, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/ruby-serialport-on-os-x/113685 "2007-09-10T15:56:34Z")

</div>

has anyone run into any gotchas compiling ruby-serialport on OS X? I get the weirdest error message. require “serialport.so” NameError: (eval):1:in private\_class\_method': undefined method create’ for class Class' …

---

## [How to make Rails send a file that is being written](https://www.ruby-forum.com/t/how-to-make-rails-send-a-file-that-is-being-written/86643)

<div class="topic-metadata">

**Author:** [@remis](https://www.ruby-forum.com/u/remis)\
**Replies:** 1\
**Last updated:** [February 25, 2007, 10:01am UTC](https://www.ruby-forum.com/t/how-to-make-rails-send-a-file-that-is-being-written/86643 "2007-02-25T10:01:20Z")

</div>

I’m trying to build a simple proxy to Amazon S3 that would allow a client to request a url that gets mapped to a S3 Object by Rails and streamed back to the client. For S3 integration, I use the highly recommended gem…

---

## [Buitwith.com showing apache and nginx both](https://www.ruby-forum.com/t/buitwith-com-showing-apache-and-nginx-both/244708)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 1, 2016, 3:27pm UTC](https://www.ruby-forum.com/t/buitwith-com-showing-apache-and-nginx-both/244708 "2016-06-01T15:27:23Z")

</div>

When i scan my site with builtwith.com it is showing that i am using both nginx and apache. however i have completely moved my site from apache to nginx. Though previously it was on Apache which i uninstalled after i…

---

## [QT GUI Frequency Sink and real inputs labels are wrong for FFT length != 1024](https://www.ruby-forum.com/t/qt-gui-frequency-sink-and-real-inputs-labels-are-wrong-for-fft-length-1024/234291)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 21, 2015, 5:12pm UTC](https://www.ruby-forum.com/t/qt-gui-frequency-sink-and-real-inputs-labels-are-wrong-for-fft-length-1024/234291 "2015-02-21T17:12:53Z")

</div>

If one selects real input on a QT GUI Frequency sink, and also selects half-width, and also has an FFT size != 1024, then the X-axis labels are wrong. If using an FFT length of 1024, the X axis labels proceed from 0 t…

---

## [Error creating block with different input signature](https://www.ruby-forum.com/t/error-creating-block-with-different-input-signature/230282)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 10, 2014, 2:15pm UTC](https://www.ruby-forum.com/t/error-creating-block-with-different-input-signature/230282 "2014-06-10T14:15:50Z")

</div>

Hi, I am trying to create a C++ block with different input signatures in each of the inputs.I tried the following 2 methods. I followed the example in “pfb\_clock\_sync\_ccf” and created the io signature as: static i…

---

## [Mongrel not starting: \`initialize\_without\_backlog': Cannot assign requested address - bind(2) (Errno](https://www.ruby-forum.com/t/mongrel-not-starting-initialize-without-backlog-cannot-assign-requested-address-bind-2-errno/122861)

<div class="topic-metadata">

**Author:** [@Nii\_amon\_D](https://www.ruby-forum.com/u/Nii_amon_D)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/mongrel-not-starting-initialize-without-backlog-cannot-assign-requested-address-bind-2-errno/122861 "2007-12-12T18:59:31Z")

</div>

Hi I have a rather strange problem with mongrel and I would be grateful if anyone could assist me with resolving. I have an application running mongrel 1.1.1 and rails 1.2.5 with ruby 1.8.6. It was all working fine …

---

## [Nginx1.4.7 ip\_hash load balancing strategy](https://www.ruby-forum.com/t/nginx1-4-7-ip-hash-load-balancing-strategy/241177)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [May 19, 2014, 7:48pm UTC](https://www.ruby-forum.com/t/nginx1-4-7-ip-hash-load-balancing-strategy/241177 "2014-05-19T19:48:36Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Any chance of moving development to Git and GitHub?](https://www.ruby-forum.com/t/any-chance-of-moving-development-to-git-and-github/211848)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [September 16, 2011, 3:59pm UTC](https://www.ruby-forum.com/t/any-chance-of-moving-development-to-git-and-github/211848 "2011-09-16T15:59:41Z")

</div>

Hi! I know that we discussed this earlier, but I wanted to bring it up again. Is there any chance of moving development to Git and GitHub? I am utterly frustrated with Subversion being unable to help me in any way i…

---

## [XML parser with file names and line numbers](https://www.ruby-forum.com/t/xml-parser-with-file-names-and-line-numbers/58374)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 8\
**Last updated:** [April 21, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/xml-parser-with-file-names-and-line-numbers/58374 "2006-04-21T17:59:55Z")

</div>

Howdy, Is there a Ruby XML parser that includes the file name and line number for elements? Thanks, David

---

## [\`ActiveSupport::TimeZone\`](https://www.ruby-forum.com/t/activesupport-timezone/261792)

<div class="topic-metadata">

**Author:** [@brodyhoskins](https://www.ruby-forum.com/u/brodyhoskins)\
**Replies:** 3\
**Last updated:** [September 5, 2021, 11:25pm UTC](https://www.ruby-forum.com/t/activesupport-timezone/261792 "2021-09-05T23:25:11Z")

</div>

Hi everyone, Is anyone familiar with ActiveSupport::TimeZone objects? I’m working with an API that is returning timestamps for a user in Los Angeles, CA in the PST timezone rather than PDT (we’re currently in DST). My g…

---

## [Analog video modulation](https://www.ruby-forum.com/t/analog-video-modulation/231003)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 17, 2014, 7:15am UTC](https://www.ruby-forum.com/t/analog-video-modulation/231003 "2014-07-17T07:15:23Z")

</div>

After finishing my AM Stereo transmitter, I have decided to build an NTSC modulator. I think I have the actually modulation and filter blocks down, I just need to firgure out how to get the right signals from a digit…

---

## [Help with many-to-many nested form](https://www.ruby-forum.com/t/help-with-many-to-many-nested-form/219883)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 21, 2012, 12:47pm UTC](https://www.ruby-forum.com/t/help-with-many-to-many-nested-form/219883 "2012-05-21T12:47:17Z")

</div>

I have a form used to create a ‘Style’. The style may have any number of ‘features’ which correspond to ‘Feature’ models in the features table. I would like to add the appropriate entries to a relationship table (‘sty…

---

## [File.copy for 1.9](https://www.ruby-forum.com/t/file-copy-for-1-9/167595)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [September 8, 2011, 12:09am UTC](https://www.ruby-forum.com/t/file-copy-for-1-9/167595 "2011-09-08T00:09:03Z")

</div>

I am a little lost as to where to find File.copy for 1.9 This worked in 1.8.6 require ‘ftools’ File.copy(‘filename’, ‘dest\_dir’) and in 1.9 is it this? require ‘fileutils’ File.copy\_stream(‘filename’, ‘dest\_name’) …

---

## [OFDM modulation/demodulation over USRP2](https://www.ruby-forum.com/t/ofdm-modulation-demodulation-over-usrp2/181567)

<div class="topic-metadata">

**Author:** [@Veljko\_P](https://www.ruby-forum.com/u/Veljko_P)\
**Replies:** 3\
**Last updated:** [January 18, 2010, 2:08am UTC](https://www.ruby-forum.com/t/ofdm-modulation-demodulation-over-usrp2/181567 "2010-01-18T02:08:16Z")

</div>

Hi, I’m using Ubuntu 9.10, gnuradio version 3.2.2 and two USRP2 boards with XCVR2450 daughter boards. The boards are about a meter apart from each other. I’m trying to get OFDM working over USRP2 boards and for that …

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

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