# Latest

**URL:** https://www.ruby-forum.com/latest.md?page=512

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

---

## [Backbone on Rails](https://www.ruby-forum.com/t/backbone-on-rails/237115)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [October 25, 2013, 2:43pm UTC](https://www.ruby-forum.com/t/backbone-on-rails/237115 "2013-10-25T14:43:52Z")

</div>

Hi, I just want to implement Backbone JS on Rails.Could you please help in that. Thanks, Ashok K.

---

## [Performance testing](https://www.ruby-forum.com/t/performance-testing/237125)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 25, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/performance-testing/237125 "2013-10-25T14:38:02Z")

</div>

I’m getting under 5000 requests per second hitting just the nginx welcome page on a default configuration. Any tips to improve this please? setup is: macbook pro retina 10.8.3 RoverMR:webserver rover$ nginx -v ngi…

---

## [Goes lrit?](https://www.ruby-forum.com/t/goes-lrit/246493)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [October 25, 2013, 2:27pm UTC](https://www.ruby-forum.com/t/goes-lrit/246493 "2013-10-25T14:27:30Z")

</div>

Hello, Is there any GOES LRIT decoder available under Linux and GNU Radio with support for USRP or RTL-SDR. In case there is only USRP compatibility, perhaps with the GRC file freely available it can be attempted to b…

---

## [How to disable Chunked response encoding in v3.2](https://www.ruby-forum.com/t/how-to-disable-chunked-response-encoding-in-v3-2/237102)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 25, 2013, 1:44pm UTC](https://www.ruby-forum.com/t/how-to-disable-chunked-response-encoding-in-v3-2/237102 "2013-10-25T13:44:51Z")

</div>

Hello Ruby on Rails: Talk group, I need to disable Chunked response encoding in Rails 3.2 or force HTTP/1.0 in response of one controller action. Is there an easy way to do this? \_ Thanks

---

## [Proxy pass with rewrite](https://www.ruby-forum.com/t/proxy-pass-with-rewrite/237107)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 1:43pm UTC](https://www.ruby-forum.com/t/proxy-pass-with-rewrite/237107 "2013-10-25T13:43:40Z")

</div>

Hello, I would like to configure ngix with jenkins, nginx should be a proxy for the jenkins instance. I have configuration the proxy pass options in this way: location /jenkins { proxy\_pass http://localh…

---

## [Problem with Float output of Python Sync Block](https://www.ruby-forum.com/t/problem-with-float-output-of-python-sync-block/237124)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 1:13pm UTC](https://www.ruby-forum.com/t/problem-with-float-output-of-python-sync-block/237124 "2013-10-25T13:13:34Z")

</div>

Hi, I have written a Python block that I want to connect to the WXGUI Number Sink using a float. I set the output to a float, and it appears correctly in GRC, and I can connect my block to the WX GUI Number Sink bloc…

---

## [Help: How to cache video in nginx when dynamic link request](https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105)

<div class="topic-metadata">

**Author:** [@Yuanjianyong\_SGeorg](https://www.ruby-forum.com/u/Yuanjianyong_SGeorg)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105 "2013-10-25T13:06:16Z")

</div>

Hi, everybody, Please give me a hand. In VOD system, Nginx is reverse proxy and Lighttpd is application server with video files. And getting video files is the type “play.jsp?videoid=123456”. Now , I want to cache v…

---

## [Problem with Basic Block in Python](https://www.ruby-forum.com/t/problem-with-basic-block-in-python/237114)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 12:53pm UTC](https://www.ruby-forum.com/t/problem-with-basic-block-in-python/237114 "2013-10-25T12:53:40Z")

</div>

Hi, I have been writing a Python block and having realised I would need to have a mismatch between input and output items, I tried to create a new ‘basic block’. I haven’t even added any code yet, it is: "import num…

---

## [Proxy\_pass Cannot GET](https://www.ruby-forum.com/t/proxy-pass-cannot-get/237119)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 12:27pm UTC](https://www.ruby-forum.com/t/proxy-pass-cannot-get/237119 "2013-10-25T12:27:41Z")

</div>

nginx is working, but, when doing proxy\_pass, gives me: Cannot GET /nodejs here are the lines I’ve added to nginx.conf ProxyPass nodejs localhost:2345 ProxyPassReverse nodejs localhost:2345 2345 is where my node ser…

---

## [Wrong realization of method?](https://www.ruby-forum.com/t/wrong-realization-of-method/237121)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 12:08pm UTC](https://www.ruby-forum.com/t/wrong-realization-of-method/237121 "2013-10-25T12:08:59Z")

</div>

Can anybody help me? I’v got the function (method) that was written before me. I have to use this method. I think that I can’t understand several primitive things, but I (may be) don’t know about these things. Questi…

---

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

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 11:00am UTC](https://www.ruby-forum.com/t/rails-book/246465 "2013-10-25T11:00:36Z")

</div>

Hi there, i’m a new RoR developer and i need your feedback about this book : Is it good for learning Rails ? I mean, i already read Michael H. tutorial. Is it useful to me to buy this book ? Are there other good boo…

---

## [Includes (eager loads) of associations that includes joins fails](https://www.ruby-forum.com/t/includes-eager-loads-of-associations-that-includes-joins-fails/237120)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 10:10am UTC](https://www.ruby-forum.com/t/includes-eager-loads-of-associations-that-includes-joins-fails/237120 "2013-10-25T10:10:21Z")

</div>

When an association has joins (either to filter the association or calculate something), it cannot be eager loaded with includes. The \*joins \*command seems to be omitted and I get an error saying the table doesn’t ex…

---

## [Memory allocation problem with my Gtk program (using Cairo)](https://www.ruby-forum.com/t/memory-allocation-problem-with-my-gtk-program-using-cairo/237009)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 25, 2013, 7:08am UTC](https://www.ruby-forum.com/t/memory-allocation-problem-with-my-gtk-program-using-cairo/237009 "2013-10-25T07:08:37Z")

</div>

Hi, I’m trying to write a program that uses a picture from the user’s files to generate a random jigsaw puzzle. For that I’m using Gtk+ for the UI, and Cairo to uses png images as mask for creating the pieces. It work…

---

## [Ruby/rails and NACHA](https://www.ruby-forum.com/t/ruby-rails-and-nacha/54772)

<div class="topic-metadata">

**Author:** [@Rob\_Gordon](https://www.ruby-forum.com/u/Rob_Gordon)\
**Replies:** 1\
**Last updated:** [October 25, 2013, 6:13am UTC](https://www.ruby-forum.com/t/ruby-rails-and-nacha/54772 "2013-10-25T06:13:08Z")

</div>

I am looking for ruby/gem support for ACH transactions, that is bank-bank electronic funds transfers. I have found a gem (Payment) for credit card payment but nothing on ACH /NACHA format. Anyone know of anythings. T…

---

## [Some questions on ruby - case1(hash values changed unexpected)](https://www.ruby-forum.com/t/some-questions-on-ruby-case1-hash-values-changed-unexpected/237100)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [October 25, 2013, 4:08am UTC](https://www.ruby-forum.com/t/some-questions-on-ruby-case1-hash-values-changed-unexpected/237100 "2013-10-25T04:08:12Z")

</div>

\################################# cat case1.rb ################################# #!/usr/bin/env ruby tools\_info\_array = { ‘tool\_a’ =\> \[‘tool\_a\_home’, ‘2009.12-17’, ‘bin’, {‘LD\_LIBRARY\_PATH’ =\> ‘lib’}\] } toolName…

---

## [Tx\_ofdm.grc & rx\_ofdm.grc output data](https://www.ruby-forum.com/t/tx-ofdm-grc-rx-ofdm-grc-output-data/246502)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [October 25, 2013, 3:01am UTC](https://www.ruby-forum.com/t/tx-ofdm-grc-rx-ofdm-grc-output-data/246502 "2013-10-25T03:01:29Z")

</div>

Has anyone tested successfully these two files combined? The input data or vector source is an array of 96 elements \[0-95\] but I’m getting a strange output at the end. The 96 + 4 elements from the crc, then another …

---

## [SBRAC update](https://www.ruby-forum.com/t/sbrac-update/237113)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 2:58am UTC](https://www.ruby-forum.com/t/sbrac-update/237113 "2013-10-25T02:58:34Z")

</div>

I don’t usually post updates about our work at SBRAC on this list, mostly because progress at the observatory has been so very slow, owing to having zero budget to work with. However, today, we achieved a significant…

---

## [UHD: Control Packet Attempt, Sequence](https://www.ruby-forum.com/t/uhd-control-packet-attempt-sequence/237112)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 1:34am UTC](https://www.ruby-forum.com/t/uhd-control-packet-attempt-sequence/237112 "2013-10-25T01:34:23Z")

</div>

I am getting the following error when running my script - UHD Error: Control packet attempt 0, sequence number 391: RuntimeError: no control response, possible packet loss Mostly “attempt 0”, but one “attempt 1”, six…

---

## [Missing File?](https://www.ruby-forum.com/t/missing-file/246491)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 1:30am UTC](https://www.ruby-forum.com/t/missing-file/246491 "2013-10-25T01:30:53Z")

</div>

Running my script, I get an error (repeated twice): ~\\AppData\\Roaming.gnuradio\\prefs\\vmcircbuf\_default\_factory: Invalid argument I looked, and there is no ‘vmcircbuf\_default\_factory’ in the \\prefs folder (there isn’…

---

## [Remote Rails Job](https://www.ruby-forum.com/t/remote-rails-job/237109)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 24, 2013, 10:07pm UTC](https://www.ruby-forum.com/t/remote-rails-job/237109 "2013-10-24T22:07:44Z")

</div>

For anyone interested. Pays well and you can work from home. For info, contact me at removed\_email\_address@domain.invalid. At Robly.com, we’re laser focused on disrupting the email marketing space. We are attacking l…

---

## [\[Rspec\] How do you nest before(:all) or after(:all) blocks?](https://www.ruby-forum.com/t/rspec-how-do-you-nest-before-all-or-after-all-blocks/159407)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 8\
**Last updated:** [October 24, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/rspec-how-do-you-nest-before-all-or-after-all-blocks/159407 "2013-10-24T20:39:56Z")

</div>

Hi all, I’m new to Rspec but loving it so far and looking to use it as a replacement for a Test::Unit framework I have which drives a web app via Watir. So far, things have worked very well with Rspec but I can’t get…

---

## [How is mongoid syntax implemented?](https://www.ruby-forum.com/t/how-is-mongoid-syntax-implemented/237094)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 24, 2013, 8:02pm UTC](https://www.ruby-forum.com/t/how-is-mongoid-syntax-implemented/237094 "2013-10-24T20:02:30Z")

</div>

In mongoid, a ORM mapped database object is like below. The part “type: String” seems to me to not fit into any standard ruby syntax and I was curious how does mongoid implement that ? class Step include Mongoid::Doc…

---

## [My new Ruby gems: string\_in\_file and array\_in\_file](https://www.ruby-forum.com/t/my-new-ruby-gems-string-in-file-and-array-in-file/237110)

<div class="topic-metadata">

**Author:** [@Jason\_H.S\_Rubyist](https://www.ruby-forum.com/u/Jason_H.S_Rubyist)\
**Replies:** 0\
**Last updated:** [October 24, 2013, 7:52pm UTC](https://www.ruby-forum.com/t/my-new-ruby-gems-string-in-file-and-array-in-file/237110 "2013-10-24T19:52:34Z")

</div>

I have published the Ruby gems string\_in\_file and array\_in\_file. Think of them as the ultimate global variables. string\_in\_file is used for storing a string in a file. In addition to writing a string value to a fil…

---

## [Running code in nginx's master process](https://www.ruby-forum.com/t/running-code-in-nginxs-master-process/246469)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 24, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/running-code-in-nginxs-master-process/246469 "2013-10-24T18:50:02Z")

</div>

Is it possible to have a module run code in nginx’s master process, i.e. not in a worker process? I know init\_master is just a stub for now. Are there any chances this gets implemented in the near future? Thanks in…

---

## [Re: GnuRadio in particle accelerators](https://www.ruby-forum.com/t/re-gnuradio-in-particle-accelerators/237122)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 24, 2013, 6:33pm UTC](https://www.ruby-forum.com/t/re-gnuradio-in-particle-accelerators/237122 "2013-10-24T18:33:40Z")

</div>

Hi Mark and Aylons, I’ve also wondered whether a cheap RTL-SDR could be used with GnuRadio as a multichannel analyzer for a homemade Gamma Spectrometer, either using a Geiger tube or a scintillator. I think the tuner…

---

## [Ruby WARC Parser](https://www.ruby-forum.com/t/ruby-warc-parser/191293)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 1\
**Last updated:** [October 24, 2013, 6:28pm UTC](https://www.ruby-forum.com/t/ruby-warc-parser/191293 "2013-10-24T18:28:51Z")

</div>

Is anybody out there working on a Ruby-based parser for the WARC (Web ARChive) file format that (relatively) recently replaced the ARC format? Or perhaps Ruby wrappers around WARC-parsing utilities?

---

## [Writing regular expression,](https://www.ruby-forum.com/t/writing-regular-expression/237052)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 26\
**Last updated:** [October 24, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/writing-regular-expression/237052 "2013-10-24T16:28:02Z")

</div>

hi, I need to replace the string like A1:BA23 =\> A1:B{value} How would I write the regular expression for this?(number after : has to be replace with{value}

---

## [Nginx and iis for sharepoint](https://www.ruby-forum.com/t/nginx-and-iis-for-sharepoint/237104)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 24, 2013, 4:17pm UTC](https://www.ruby-forum.com/t/nginx-and-iis-for-sharepoint/237104 "2013-10-24T16:17:31Z")

</div>

Hi all, I am attempting to implement nginx as a reverse proxy to a sharepoint server with SSL and user-authentication. The problem I am having is nginx does not appear to pass the credentials to the real server. I’…

---

## [Can not show bright\_green color at windows terminal](https://www.ruby-forum.com/t/can-not-show-bright-green-color-at-windows-terminal/246252)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [October 24, 2013, 4:08pm UTC](https://www.ruby-forum.com/t/can-not-show-bright-green-color-at-windows-terminal/246252 "2013-10-24T16:08:44Z")

</div>

At windows 7 x64 . below ruby code can not see the output at terminal : print “\\e\[1;32mi\\e\[0m” Is ruby can not show bright\_green color at window’s terminal?

---

## [Undefineds and or-equals](https://www.ruby-forum.com/t/undefineds-and-or-equals/237091)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 24, 2013, 3:27pm UTC](https://www.ruby-forum.com/t/undefineds-and-or-equals/237091 "2013-10-24T15:27:48Z")

</div>

So, we all know that this works: foo ||= nil puts "blah" if foo # =\> nil but prior to that point, foo has not been defined. If instead of the or-equals first, one tries: puts "blah" if foo one gets a NameError excep…

[Previous page](https://www.ruby-forum.com/latest.md?page=511)

[Next page](https://www.ruby-forum.com/latest.md?page=513)
