# Top

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

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

---

## [Block pop-up for rails apps](https://www.ruby-forum.com/t/block-pop-up-for-rails-apps/169037)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 8\
**Last updated:** [June 21, 2009, 8:22am UTC](https://www.ruby-forum.com/t/block-pop-up-for-rails-apps/169037 "2009-06-21T08:22:25Z")

</div>

Hi all Sometimes on some ISP, my application pop ups some ads for that company. However, some other websites do not get the pop up when I open the website using the same ISP. Is there a way that I can block those pop…

---

## [Distcheck error on latest trunk](https://www.ruby-forum.com/t/distcheck-error-on-latest-trunk/158326)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 8\
**Last updated:** [January 22, 2009, 7:34pm UTC](https://www.ruby-forum.com/t/distcheck-error-on-latest-trunk/158326 "2009-01-22T19:34:14Z")

</div>

+++++++++++++++ Making all in gr-usrp Making all in src /opt/local/bin/swig -c++ -fvirtual -python -modern -keyword -w511 - DOMNITHREAD\_POSIX=1 \[snip\] -I/GNURadio/trunk/build/gnuradio-3.2svn/\_build/usrp/host/lib/le…

---

## [System calls prohibited?](https://www.ruby-forum.com/t/system-calls-prohibited/149233)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 8\
**Last updated:** [September 23, 2008, 12:27am UTC](https://www.ruby-forum.com/t/system-calls-prohibited/149233 "2008-09-23T00:27:02Z")

</div>

I have a controller method written along these lines: begin system("/script/that/generates/output \> text\_file") var += IO.readlines(“text\_file”) send\_data var, :filename =\> “attachment.txt”, :disposition =\> ‘attachm…

---

## [Need a second set of eyes to help me](https://www.ruby-forum.com/t/need-a-second-set-of-eyes-to-help-me/91427)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 8\
**Last updated:** [April 9, 2007, 5:20am UTC](https://www.ruby-forum.com/t/need-a-second-set-of-eyes-to-help-me/91427 "2007-04-09T05:20:51Z")

</div>

I think I am going blind, because I cannot find what is wrong with the following. The bad thing is that I had it working, made couple of changes, reverted back to the original, now it doesn’t work. I have been trying…

---

## [Regular expressions](https://www.ruby-forum.com/t/regular-expressions/70798)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 8\
**Last updated:** [October 3, 2006, 11:40am UTC](https://www.ruby-forum.com/t/regular-expressions/70798 "2006-10-03T11:40:54Z")

</div>

I’m sorry if this has been done before, but I can’t seem to find any good examples: I’m trying to search mail messages for headers based on the following: config = YAML.load\_file(‘config.yaml’) $stdin.each do |line| …

---

## [Run gr\_specest](https://www.ruby-forum.com/t/run-gr-specest/231400)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 6, 2014, 2:36pm UTC](https://www.ruby-forum.com/t/run-gr-specest/231400 "2014-08-06T14:36:45Z")

</div>

Hi all: I have installed the gr\_specest toolbox successfully.And I use the gnuradio 3.7.5.But when I run the specest\_from\_file.py,error exists: File "/usr/local/bin/specest\_from\_file.py", line 142 SyntaxError:…

---

## [Saving raw data after correct frame reception](https://www.ruby-forum.com/t/saving-raw-data-after-correct-frame-reception/240592)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 15, 2014, 8:16am UTC](https://www.ruby-forum.com/t/saving-raw-data-after-correct-frame-reception/240592 "2014-05-15T08:16:24Z")

</div>

hi all guys, I would like to be able to store raw data into file after correct frame reception. For this reason I suppose there should be a block that buffers raw data and wait for the trigger to store into file. Th…

---

## [How to know in which class we are when inheriting](https://www.ruby-forum.com/t/how-to-know-in-which-class-we-are-when-inheriting/224853)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 28, 2012, 4:51pm UTC](https://www.ruby-forum.com/t/how-to-know-in-which-class-we-are-when-inheriting/224853 "2012-11-28T16:51:43Z")

</div>

Look at this code: class One def initialize puts self.class end end class Two \< One def initialize super() puts self.class end end Two.new() I want to know that when in initialize in One Class we are in One …

---

## [New to Ruby](https://www.ruby-forum.com/t/new-to-ruby/222932)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 17, 2012, 12:02pm UTC](https://www.ruby-forum.com/t/new-to-ruby/222932 "2012-09-17T12:02:55Z")

</div>

Hi Friends. I am extremely new to Ruby. can you please suggest me how to proceed to grab this in a short span of time…

---

## [Test.rb for make run](https://www.ruby-forum.com/t/test-rb-for-make-run/208096)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [June 10, 2011, 7:34am UTC](https://www.ruby-forum.com/t/test-rb-for-make-run/208096 "2011-06-10T07:34:54Z")

</div>

$B!!$5$5$@$G$9!%(B $B!!(Bmake run $BEy$H$7$?$H$-$KAv$i$;$k(B test.rb $B$H$$$&%U%!%$%k$,!$0JA0$O(B $(srcdir)/test.rb $B$@$C$?$N$,!$$$$D$N4V$K$+(B ./test.rb $B$H$J$C$F$$$^$7$?!%(B $B!!JQ99$O(B http://svn.ruby-lang.or…

---

## [Question about SMA-SMA coaxial cable](https://www.ruby-forum.com/t/question-about-sma-sma-coaxial-cable/208014)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [June 10, 2011, 12:24am UTC](https://www.ruby-forum.com/t/question-about-sma-sma-coaxial-cable/208014 "2011-06-10T00:24:28Z")

</div>

I have a question about SMA-SMA coaxial cable offered by Ettus Does this cable have an antenna effect? In other words, if I use this cable, receive gain or some performance measure is better than what I expected due t…

---

## [Metodo Find e ritorno di un numero intero](https://www.ruby-forum.com/t/metodo-find-e-ritorno-di-un-numero-intero/172756)

<div class="topic-metadata">

**Author:** [@cozzaamara](https://www.ruby-forum.com/u/cozzaamara)\
**Replies:** 6\
**Last updated:** [July 27, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/metodo-find-e-ritorno-di-un-numero-intero/172756 "2009-07-27T18:18:31Z")

</div>

Ciao a tutti, sviluppando un mio sistema di paginato avrei bisogno di capire con Rails come trovare direttamente un valore intero dopo una query. Es: Ho bisogno di una query che recuperi il totale dei prodotti: Prod…

---

## [Problems w/ partials and yield](https://www.ruby-forum.com/t/problems-w-partials-and-yield/156408)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 6\
**Last updated:** [December 31, 2008, 2:53am UTC](https://www.ruby-forum.com/t/problems-w-partials-and-yield/156408 "2008-12-31T02:53:30Z")

</div>

Hello, I love the concept of using \<%=yield %\> to automatically render content but there are times where I find it a bit restraining. For instance, I would like to to use the exact same partial for these 2 methods: l…

---

## [Controller DRYness question](https://www.ruby-forum.com/t/controller-dryness-question/152873)

<div class="topic-metadata">

**Author:** [@jhernandez](https://www.ruby-forum.com/u/jhernandez)\
**Replies:** 6\
**Last updated:** [November 16, 2008, 7:07pm UTC](https://www.ruby-forum.com/t/controller-dryness-question/152873 "2008-11-16T19:07:19Z")

</div>

I have some questions regarding how to avoid having to duplicate code in the controller between certain actions such as “new”, “create”, “edit”, “update”, etc. Currently, my “new” and “update” actions both load a coup…

---

## [Fwd: spec\_server not working](https://www.ruby-forum.com/t/fwd-spec-server-not-working/152257)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 6\
**Last updated:** [November 6, 2008, 12:02am UTC](https://www.ruby-forum.com/t/fwd-spec-server-not-working/152257 "2008-11-06T00:02:17Z")

</div>

I can’t seem to get spec\_server to work correctly (I’ve never used it before, so maybe I’m missing something?) I start up spec\_server as prescribed: mdarby@macbook:~/Documents/apps/CCW: rake spec:server:start (in /Us…

---

## [Passing only a hash key, with no value, as an option](https://www.ruby-forum.com/t/passing-only-a-hash-key-with-no-value-as-an-option/131677)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 6\
**Last updated:** [March 12, 2008, 1:35pm UTC](https://www.ruby-forum.com/t/passing-only-a-hash-key-with-no-value-as-an-option/131677 "2008-03-12T13:35:50Z")

</div>

I’m using the method of parameter passing where i have one ‘regular’ parameter and then a hash of options: def chunkify(something, options = {}) … end I want to have it so that the user can just pass a key through w…

---

## [Pluralizacion... Â¿por quÃ© no me cambia las rutas?](https://www.ruby-forum.com/t/pluralizacion-a-por-qua-no-me-cambia-las-rutas/128712)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 6\
**Last updated:** [February 10, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/pluralizacion-a-por-qua-no-me-cambia-las-rutas/128712 "2008-02-10T22:06:36Z")

</div>

Hola, estoy montando una aplicaciÃ³n en catalÃ¡n y necesito algunas pluralizaciones personalizadas. Para ello defino en el Inflector: Inflector.inflections do |inflect| inflect.singular(“plantes”, “planta”) inflect.p…

---

## [Vorstellung](https://www.ruby-forum.com/t/vorstellung/127561)

<div class="topic-metadata">

**Author:** [@tim](https://www.ruby-forum.com/u/tim)\
**Replies:** 6\
**Last updated:** [February 6, 2008, 10:35pm UTC](https://www.ruby-forum.com/t/vorstellung/127561 "2008-02-06T22:35:31Z")

</div>

Hi, beschÃ¤ftige mich nun ca. 3 Monate intensiver mit RoR und schreibe in diesem Bereich meine Diplomarbeit bei der innoQ Deutschland GmbH. Weitere Interessen sind: JS, CSS, Linux, Agile- Softwareentwicklung, Gettin…

---

## [One or two indexes? add\_index :votes, \[:item\_id, :ip\_address\]](https://www.ruby-forum.com/t/one-or-two-indexes-add-index-votes-item-id-ip-address/126433)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 6\
**Last updated:** [January 19, 2008, 8:37pm UTC](https://www.ruby-forum.com/t/one-or-two-indexes-add-index-votes-item-id-ip-address/126433 "2008-01-19T20:37:56Z")

</div>

What’s the difference between add\_index :votes, \[:item\_id, :ip\_address\] and add\_index :votes, :item\_id add\_index :votes, :ip\_address Not just in rails, but in the db as well? Thx!

---

## [Duda acerca de servir contenido estatico con mongrel](https://www.ruby-forum.com/t/duda-acerca-de-servir-contenido-estatico-con-mongrel/123172)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 6\
**Last updated:** [December 16, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/duda-acerca-de-servir-contenido-estatico-con-mongrel/123172 "2007-12-16T21:05:01Z")

</div>

Hola lista, como estÃ¡n, tengo una pequeÃ±a duda acerca del deploy, es que tengo una aplicacion en mi servidor , la cual esta en production environment , con apache y mongrel. pero viendo el log de un mongrel me pare…

---

## [Logging object](https://www.ruby-forum.com/t/logging-object/112967)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [August 25, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/logging-object/112967 "2007-08-25T18:49:38Z")

</div>

Hi, Can anyone suggest the best way to pass a Logger object around between all the classes in an application? Currently I have it set in a constant in the top-level but I don’t feel that this is the best way to do it…

---

## [Directory base dei progetti su pc](https://www.ruby-forum.com/t/directory-base-dei-progetti-su-pc/84630)

<div class="topic-metadata">

**Author:** [@Mik](https://www.ruby-forum.com/u/Mik)\
**Replies:** 6\
**Last updated:** [February 7, 2007, 11:14am UTC](https://www.ruby-forum.com/t/directory-base-dei-progetti-su-pc/84630 "2007-02-07T11:14:36Z")

</div>

Salve. COme faccio a settare la directory base sul mio computer dove creare i miei progetti?? Per ora Ã¨ settata su c:/DOcuments…/admin/ Come faccio a cambiarla?? Grazie MIk

---

## [XMLBuilder: no such file to load -- builder](https://www.ruby-forum.com/t/xmlbuilder-no-such-file-to-load-builder/100854)

<div class="topic-metadata">

**Author:** [@matterker](https://www.ruby-forum.com/u/matterker)\
**Replies:** 6\
**Last updated:** [August 1, 2006, 5:21pm UTC](https://www.ruby-forum.com/t/xmlbuilder-no-such-file-to-load-builder/100854 "2006-08-01T17:21:16Z")

</div>

I’m trying to use the XML builder package, but the require is not working. I have a hunch that I don’t have all the requisite dependencies installed, but what, I can’t figure out. Note, I’m a Ruby newbie. I’ve tried…

---

## [How to Password Protect a Controller](https://www.ruby-forum.com/t/how-to-password-protect-a-controller/93308)

<div class="topic-metadata">

**Author:** [@d6veteran](https://www.ruby-forum.com/u/d6veteran)\
**Replies:** 6\
**Last updated:** [March 31, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/how-to-password-protect-a-controller/93308 "2006-03-31T23:36:56Z")

</div>

Several of my models I want to password protect, so that only an admin can enter/destroy data. Is there an easy way to accomplish this by password protecting controllers?

---

## [MS SQL query strangeness for ActiveRecord in Rails](https://www.ruby-forum.com/t/ms-sql-query-strangeness-for-activerecord-in-rails/56368)

<div class="topic-metadata">

**Author:** [@Chester\_C](https://www.ruby-forum.com/u/Chester_C)\
**Replies:** 6\
**Last updated:** [March 31, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/ms-sql-query-strangeness-for-activerecord-in-rails/56368 "2006-03-31T21:55:17Z")

</div>

Hi, I am currently trying to move my rubyonrails app from Linux to Windows server utilizing MS SQL instead of MySQL due to “business” reason. All my listing screen utilize a drop down list in each column to allow user …

---

## [Image filter module](https://www.ruby-forum.com/t/image-filter-module/244163)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 29, 2016, 4:03pm UTC](https://www.ruby-forum.com/t/image-filter-module/244163 "2016-02-29T16:03:53Z")

</div>

Hello, I just installed image filter module for resizing images. It worked as expected but we faced an issue that this module doesn’t respect EXIF so some images are being rotated to the original state then nginx res…

---

## [Php\_info - fastcgi\_split\_path\_info - Not does not work](https://www.ruby-forum.com/t/php-info-fastcgi-split-path-info-not-does-not-work/213042)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 21, 2011, 3:15pm UTC](https://www.ruby-forum.com/t/php-info-fastcgi-split-path-info-not-does-not-work/213042 "2011-10-21T15:15:17Z")

</div>

I am having trouble setting the PATH\_INFO I want accessing thus: http://www.examples.com/test.php/images/test/000001 LOGS 2011/10/20 15:54:51 \[error\] 76110#0: \*1 open() “/var/www1/examples.com/test.php/dddd/eeee” fa…

---

## [Assigned but unused variable](https://www.ruby-forum.com/t/assigned-but-unused-variable/191876)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 1\
**Last updated:** [July 20, 2010, 6:52am UTC](https://www.ruby-forum.com/t/assigned-but-unused-variable/191876 "2010-07-20T06:52:45Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!:G6ae(B ruby -w e$B$GF0$+$9$H;H$o$l$FL5$5$=$&$JJQ?t$KBP$7$Fe(B “assigned but unused variable” e$B$H7Y9p$7$F$/$l$k$h$&$G$9!%e(B e$B!!$G!$$$$D$be(B -w e$BIU$-$GF0$+$7$F$$$k;d$G$9$,!$I8=\`%i%$%…

---

## [Jgem or gem](https://www.ruby-forum.com/t/jgem-or-gem/188697)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 1\
**Last updated:** [May 16, 2010, 9:33pm UTC](https://www.ruby-forum.com/t/jgem-or-gem/188697 "2010-05-16T21:33:06Z")

</div>

Jruby binaries comes with two “rubygems” : jgem and gem. which one do I use? root@K2:/usr/local/jruby/bin# diff jgem gem 18c18,21 \< args = ARGV.clone We need to preserve the original ARGV to use for passing gem opti…

---

## [Testng with ruby](https://www.ruby-forum.com/t/testng-with-ruby/157220)

<div class="topic-metadata">

**Author:** [@shekarls](https://www.ruby-forum.com/u/shekarls)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/testng-with-ruby/157220 "2009-01-08T17:35:04Z")

</div>

All, I am planning to Setup Automation framework consisting of following : Selenium RC with ruby Testng Ant Question 1: I would want to know what is the equivalent of : import org.testng.annotations.\*; import …

---

## [Undefined method \`white\_list\_sanitizer'](https://www.ruby-forum.com/t/undefined-method-white-list-sanitizer/153555)

<div class="topic-metadata">

**Author:** [@Matt\_McNeil](https://www.ruby-forum.com/u/Matt_McNeil)\
**Replies:** 1\
**Last updated:** [November 18, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/undefined-method-white-list-sanitizer/153555 "2008-11-18T19:03:53Z")

</div>

Hi there, After upgrading to the latest Rails RC (2.2.0) and rspec 1.1.11, I’m getting the following error in my specs (but not in the application itself): NoMethodError in ‘ApplicationHelper#truncate\_text truncates …

---

## [How to find position in an array](https://www.ruby-forum.com/t/how-to-find-position-in-an-array/125591)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [January 10, 2008, 3:27pm UTC](https://www.ruby-forum.com/t/how-to-find-position-in-an-array/125591 "2008-01-10T15:27:05Z")

</div>

I have an array: r1.rp\_parts: \[\<Rp1…\>\]\[\<Rp1…\>\]\[\<Rp1…\>\]\[\<Rp4…\>\] If I do: r1.rp\_parts\[2\] I obtain Rp1… I would like to obtain de position of r1.rp\_parts\[2\] in the r1.rp\_parts array. I know that it’s position is 2, …

---

## [Redmine error - No route matches \[GET\] "/redmine"](https://www.ruby-forum.com/t/redmine-error-no-route-matches-get-redmine/259171)

<div class="topic-metadata">

**Author:** [@KlausFriese](https://www.ruby-forum.com/u/KlausFriese)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 8:02am UTC](https://www.ruby-forum.com/t/redmine-error-no-route-matches-get-redmine/259171 "2020-04-06T08:02:04Z")

</div>

Hi, After solving my FCGI problems on my managed server I’m getting another error now from my redmine installation: No route matches \[GET\] “/redmine” Rails.root: /usr/www/users/admin/redmine-4.0.4 Application Trace …

---

## [JRuby and Java Reflection](https://www.ruby-forum.com/t/jruby-and-java-reflection/252485)

<div class="topic-metadata">

**Author:** [@Pauloo27](https://www.ruby-forum.com/u/Pauloo27)\
**Replies:** 0\
**Last updated:** [May 25, 2019, 9:23pm UTC](https://www.ruby-forum.com/t/jruby-and-java-reflection/252485 "2019-05-25T21:23:15Z")

</div>

Hello, I’m new to JRuby so don’t roast me, plzz. I’m using a Java lib that have a method that gets Class parameter. In Java I can do something like: lib.method(MyClass.class); I want to the same with JRuby. First, i…

---

## [FFT Scaling](https://www.ruby-forum.com/t/fft-scaling/242980)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 14, 2015, 3:05am UTC](https://www.ruby-forum.com/t/fft-scaling/242980 "2015-08-14T03:05:27Z")

</div>

There is an internal scaling effect of fftlen (the length of your FFT) in the FFT block. How do I unscale or remove the scaling factor in the python generated by thr GRC? I tried the one suggested in the faq, … forw…

---

## [Problem with receiver section in BPSK](https://www.ruby-forum.com/t/problem-with-receiver-section-in-bpsk/242139)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 31, 2015, 1:07pm UTC](https://www.ruby-forum.com/t/problem-with-receiver-section-in-bpsk/242139 "2015-05-31T13:07:09Z")

</div>

Hello everyone, I tried to implement bpsk system.I am successful with the transmission part but I am able to see the ISI when I am observing the constellation at the transmitter side. I tried to design the receiver …

---

## [Incomplete HTTP request body sent to upstream](https://www.ruby-forum.com/t/incomplete-http-request-body-sent-to-upstream/233140)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [November 20, 2014, 7:08pm UTC](https://www.ruby-forum.com/t/incomplete-http-request-body-sent-to-upstream/233140 "2014-11-20T19:08:09Z")

</div>

Hi, I’m experiencing an issue whereby nginx and the upstream server get into disagreement about the state of the HTTP interaction, apparently caused by nginx not transmitting the complete request body. The scenario i…

---

## [Array Nil, can't figure out why](https://www.ruby-forum.com/t/array-nil-cant-figure-out-why/231424)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 9, 2014, 8:11am UTC](https://www.ruby-forum.com/t/array-nil-cant-figure-out-why/231424 "2014-08-09T08:11:52Z")

</div>

The array init becomes nil and so it would never enter the if condition, any ideas why?

---

## [Expecting one of two conditions](https://www.ruby-forum.com/t/expecting-one-of-two-conditions/227277)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 0\
**Last updated:** [March 10, 2013, 12:20am UTC](https://www.ruby-forum.com/t/expecting-one-of-two-conditions/227277 "2013-03-10T00:20:15Z")

</div>

I’m expecting my\_test to raise one error or another, but since I’m pulling data from a db, I don’t know which error it will be. Is there a better way to write this? expect { my\_test }.to raise\_error { |error| error.…

---

## [Variables and includes](https://www.ruby-forum.com/t/variables-and-includes/225523)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [January 14, 2013, 12:10pm UTC](https://www.ruby-forum.com/t/variables-and-includes/225523 "2013-01-14T12:10:08Z")

</div>

Is it possible to use a variable from one configuration in a included config file? Example: set $a = “hello”; include test.conf; \[test.conf\] if ($a = “hello”) { set $a = “world”; } something that works with $a W…

---

## [A bug when Host header contain IPv6 address](https://www.ruby-forum.com/t/a-bug-when-host-header-contain-ipv6-address/211265)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 1, 2011, 5:17am UTC](https://www.ruby-forum.com/t/a-bug-when-host-header-contain-ipv6-address/211265 "2011-09-01T05:17:31Z")

</div>

For a request with an IPv6 Host header like: Host: Host: \[2001:250:1800:1::88\] The function “ngx\_http\_validate\_host” will consider the trailing “:88\]” as a port number and trim it. Therefore the value of “r-\>headers\_…

---

## [How can I consume SOAP Web Service?](https://www.ruby-forum.com/t/how-can-i-consume-soap-web-service/185431)

<div class="topic-metadata">

**Author:** [@jorgegetafe](https://www.ruby-forum.com/u/jorgegetafe)\
**Replies:** 3\
**Last updated:** [March 19, 2010, 10:17pm UTC](https://www.ruby-forum.com/t/how-can-i-consume-soap-web-service/185431 "2010-03-19T22:17:21Z")

</div>

Please, I need to know the way to consume SOAP Web Service. I’ve seen some examples but I don’t understand how I can do it. From the client side, I need to save the information into database. Please, somebody answer. …

---

## [Question regarding IMAP & SMTP Proxy](https://www.ruby-forum.com/t/question-regarding-imap-smtp-proxy/122846)

<div class="topic-metadata">

**Author:** [@Matthieu\_Sevestre](https://www.ruby-forum.com/u/Matthieu_Sevestre)\
**Replies:** 3\
**Last updated:** [June 9, 2008, 5:01am UTC](https://www.ruby-forum.com/t/question-regarding-imap-smtp-proxy/122846 "2008-06-09T05:01:51Z")

</div>

Hello I’m new to Nginx. I’m facing a problem and perhaps nginx may be able to help me :slight\_smile: Considering that Nginx will run on a server (let’s say with LAN IP 192.168.2.10), I would like to be able to use as…

---

## [Deprecated syscall](https://www.ruby-forum.com/t/deprecated-syscall/130555)

<div class="topic-metadata">

**Author:** [@Fabio\_Coatti](https://www.ruby-forum.com/u/Fabio_Coatti)\
**Replies:** 3\
**Last updated:** [February 29, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/deprecated-syscall/130555 "2008-02-29T15:17:06Z")

</div>

With latest linux kernels (can’t recall on the spot when I saw this for the first time, something around 2.6.23.XX I suppose) I get this warning on dmesg: warning: process \`nginx’ used the deprecated sysctl system ca…

---

## [Deployment question: How do I symlink to a shared images fol](https://www.ruby-forum.com/t/deployment-question-how-do-i-symlink-to-a-shared-images-fol/113357)

<div class="topic-metadata">

**Author:** [@Ivan\_V](https://www.ruby-forum.com/u/Ivan_V)\
**Replies:** 3\
**Last updated:** [August 30, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/deployment-question-how-do-i-symlink-to-a-shared-images-fol/113357 "2007-08-30T15:10:26Z")

</div>

Hi, I’m deploying my web app with Capistrano 2, my users have content which is stored in the public/images folder and I need this to be stored outside the app, probably in the shared folder, but where I’m having trou…

---

## [Rails based price quote system](https://www.ruby-forum.com/t/rails-based-price-quote-system/99780)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 3\
**Last updated:** [July 26, 2006, 7:42am UTC](https://www.ruby-forum.com/t/rails-based-price-quote-system/99780 "2006-07-26T07:42:00Z")

</div>

Does anyone know of a Rails based Price Quote system? Something where a company could keep track of price quotes they’ve sent out to potential customers?

---

## [Absolutize URLs in a string](https://www.ruby-forum.com/t/absolutize-urls-in-a-string/62432)

<div class="topic-metadata">

**Author:** [@Julian\_SJulikS\_Tark](https://www.ruby-forum.com/u/Julian_SJulikS_Tark)\
**Replies:** 3\
**Last updated:** [June 7, 2006, 11:37am UTC](https://www.ruby-forum.com/t/absolutize-urls-in-a-string/62432 "2006-06-07T11:37:29Z")

</div>

I wonder - do we have some helper/processor/gem to automatically convert all URLs in a passed string to their canonical equivalent - i.e. with the protocol, host and such prepended based on the Rails environment. Supe…

---

## [URL Redirect Problems](https://www.ruby-forum.com/t/url-redirect-problems/198985)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 12, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/url-redirect-problems/198985 "2010-11-12T19:56:30Z")

</div>

Hello everyone, I’m having problems attempting to redirect to another website. My objective here is when I visit “Site A” and click on a link, it will take me to another site on the same server, “Site B”. The URL has …

---

## [Can GNU Radio run on TI DSP environment?](https://www.ruby-forum.com/t/can-gnu-radio-run-on-ti-dsp-environment/191345)

<div class="topic-metadata">

**Author:** [@SS\_SSSS\_SSS\_SSS](https://www.ruby-forum.com/u/SS_SSSS_SSS_SSS)\
**Replies:** 5\
**Last updated:** [July 10, 2010, 3:06am UTC](https://www.ruby-forum.com/t/can-gnu-radio-run-on-ti-dsp-environment/191345 "2010-07-10T03:06:49Z")

</div>

Hello, I am new to GNU Radio. Currently I am considering to implement basic software radio and signal processing on TI DSP environment, such as TI TMS320C674x and C647x DSPs and the evaluation boards. I know GNU ra…

---

## [Code help for implementing online exam please](https://www.ruby-forum.com/t/code-help-for-implementing-online-exam-please/149641)

<div class="topic-metadata">

**Author:** [@rup](https://www.ruby-forum.com/u/rup)\
**Replies:** 5\
**Last updated:** [October 29, 2008, 6:15am UTC](https://www.ruby-forum.com/t/code-help-for-implementing-online-exam-please/149641 "2008-10-29T06:15:51Z")

</div>

Hi, I have been trying to write code for making an online exam management system. I could not think about a logic to implement the actual exam. Here is the problem: I have a questions table with fields like- id, ques…

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

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