# Latest

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

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

---

## [Porting Kalibrate tool](https://www.ruby-forum.com/t/porting-kalibrate-tool/246168)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 9, 2013, 3:02am UTC](https://www.ruby-forum.com/t/porting-kalibrate-tool/246168 "2013-09-09T03:02:34Z")

</div>

Just wondering if there is anyone here who would be willing to have a go at porting the kalibrate tool for use with the hackrf, I think this would be a great tool to have but my programming skills are not good enough …

---

## [Ngx\_openresty devel version 1.4.2.5 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-4-2-5-released/236504)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 9, 2013, 2:23am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-4-2-5-released/236504 "2013-09-09T02:23:26Z")

</div>

Hello folks! I am happy to announce that the new development version of ngx\_openresty, 1.4.2.5, is now released: http://openresty.org/#Download Special thanks go to all the contributors for making this happen! Below…

---

## [Md2man 2.0.2 - markdown to manpage](https://www.ruby-forum.com/t/md2man-2-0-2-markdown-to-manpage/236505)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 9, 2013, 12:43am UTC](https://www.ruby-forum.com/t/md2man-2-0-2-markdown-to-manpage/236505 "2013-09-09T00:43:50Z")

</div>

md2man is a Ruby library and command-line program that converts Markdown documents into UNIX manual pages (both Roff and HTML). Demonstration of HTML manual page output from md2man-html(1): http://snk.tuxfamily.org…

---

## [Ruby 2.0 DateTime::strptime formatting problem?](https://www.ruby-forum.com/t/ruby-2-0-datetime-strptime-formatting-problem/246164)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 8, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/ruby-2-0-datetime-strptime-formatting-problem/246164 "2013-09-08T21:46:16Z")

</div>

Trying to use DateTime::strptime to convert date/time strings. The “month” format string returns “Invalid Date” for almost every combination of input string and format string, including some combinations that absolut…

---

## [ADMIN - Bad gateway bounce msgs](https://www.ruby-forum.com/t/admin-bad-gateway-bounce-msgs/236501)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 8, 2013, 7:46pm UTC](https://www.ruby-forum.com/t/admin-bad-gateway-bounce-msgs/236501 "2013-09-08T19:46:31Z")

</div>

Getting delivery failure msgs for a removed\_email\_address@domain.invalid.?? high is subscribed to this list. Every response to this list generates one. Could an admin unsubscribe that address as it’s a guaranteed deliv…

---

## [TX gain control doesn't work on WBX+USRP2](https://www.ruby-forum.com/t/tx-gain-control-doesnt-work-on-wbx-usrp2/246188)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 8, 2013, 7:10pm UTC](https://www.ruby-forum.com/t/tx-gain-control-doesnt-work-on-wbx-usrp2/246188 "2013-09-08T19:10:33Z")

</div>

Hi all, I got this issue when I test my own code. So I measured the transmit power using a spectrum analyzer and ‘uhd\_siggen\_gui’ example in UHD. I tested the following settings: sudo uhd\_siggen\_gui -x 100k -g 0 -f …

---

## [Testing a REST API that receives params in json and returns data in json](https://www.ruby-forum.com/t/testing-a-rest-api-that-receives-params-in-json-and-returns-data-in-json/246150)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [September 8, 2013, 5:21pm UTC](https://www.ruby-forum.com/t/testing-a-rest-api-that-receives-params-in-json-and-returns-data-in-json/246150 "2013-09-08T17:21:38Z")

</div>

Hey everyone, This is a problem that has been bothering me for some time. I am building an API function that should receive data in json and response in json. My controller tests run fine(Since I abstract that the d…

---

## [Can i run nginx caching and http server on same box?(newbie)](https://www.ruby-forum.com/t/can-i-run-nginx-caching-and-http-server-on-same-box-newbie/246171)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 8, 2013, 5:19pm UTC](https://www.ruby-forum.com/t/can-i-run-nginx-caching-and-http-server-on-same-box-newbie/246171 "2013-09-08T17:19:18Z")

</div>

can i run nginx caching and http server on same box? can i set caching per directory and/or per server block? how can i check what is actually being cached? logs? should i place php scripts outside root location? dis…

---

## [Some doubts in using gr\_modtool](https://www.ruby-forum.com/t/some-doubts-in-using-gr-modtool/246170)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [September 8, 2013, 4:02pm UTC](https://www.ruby-forum.com/t/some-doubts-in-using-gr-modtool/246170 "2013-09-08T16:02:10Z")

</div>

Given below is the constructor in vector\_to\_stream block. The block size is passed as a parameter to the constructor. vector\_to\_stream\_impl::vector\_to\_stream\_impl(size\_t itemsize, size\_t nitems\_per\_block) : sync\_int…

---

## [Turn off Nginx SPDY?](https://www.ruby-forum.com/t/turn-off-nginx-spdy/246191)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 8, 2013, 1:57pm UTC](https://www.ruby-forum.com/t/turn-off-nginx-spdy/246191 "2013-09-08T13:57:10Z")

</div>

I want to test non-SPDY vs SPDY performance for Nginx and I have Nginx compiled with SPDY support and it’s enabled by adding to listen directive the spdy option as per Module ngx\_http\_spdy\_module. I thought that omi…

---

## [Insert a value into ruby arrays](https://www.ruby-forum.com/t/insert-a-value-into-ruby-arrays/246169)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 8, 2013, 7:55am UTC](https://www.ruby-forum.com/t/insert-a-value-into-ruby-arrays/246169 "2013-09-08T07:55:36Z")

</div>

HI, I have a @projects array and I have multiple attributes in that… (id,proj\_name,desc etc). I need to loop @projects array and insert one more attribute(“Multiple”) to each project…So array\[0\] will be projects obje…

---

## [RSpec vs. Cucumber](https://www.ruby-forum.com/t/rspec-vs-cucumber/246063)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 12\
**Last updated:** [September 8, 2013, 7:42am UTC](https://www.ruby-forum.com/t/rspec-vs-cucumber/246063 "2013-09-08T07:42:45Z")

</div>

So far, I’ve been using RSpec for testing my Rails apps simply because that’s what railstutorial.org emphasizes. However, I am in the process of trying out Cucumber. I like the fact that it’s in plain English, and t…

---

## [Byte strings](https://www.ruby-forum.com/t/byte-strings/236497)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 8, 2013, 6:39am UTC](https://www.ruby-forum.com/t/byte-strings/236497 "2013-09-08T06:39:05Z")

</div>

It appears that in Ruby2.0 it’s impossible to treat strings as mutable byte arrays. Is there any replacement? FWIW, the string is initialized with: v = \[“00” \* len\].pack(“H\*”) and trouble is caused at: q,r …

---

## ['Bug' with rational resampler block in GRC](https://www.ruby-forum.com/t/bug-with-rational-resampler-block-in-grc/236494)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 8, 2013, 3:37am UTC](https://www.ruby-forum.com/t/bug-with-rational-resampler-block-in-grc/236494 "2013-09-08T03:37:25Z")

</div>

Hi, Just to point out that the rational resampler block in gnuradio 3.7.\[01\] of gnuradio companion has a default for Taps to be ‘None’. This isn’t a legal option - the default in pre-3.7 versions was a blank. If the …

---

## [Fwd: "invalid byte sequence in UTF-8" on user-provided parameter - how to resolve?](https://www.ruby-forum.com/t/fwd-invalid-byte-sequence-in-utf-8-on-user-provided-parameter-how-to-resolve/246173)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [September 8, 2013, 12:23am UTC](https://www.ruby-forum.com/t/fwd-invalid-byte-sequence-in-utf-8-on-user-provided-parameter-how-to-resolve/246173 "2013-09-08T00:23:22Z")

</div>

Hi all, I have a Rails 3.2.12 app running under JRuby 1.7.2. In working with a particular payment gateway, I have a user who is entering a name with a French accented character as her user name (e.g. Labbé). When t…

---

## [How to use USRP to detect and collect weak satellite signals](https://www.ruby-forum.com/t/how-to-use-usrp-to-detect-and-collect-weak-satellite-signals/246158)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 16\
**Last updated:** [September 7, 2013, 6:14pm UTC](https://www.ruby-forum.com/t/how-to-use-usrp-to-detect-and-collect-weak-satellite-signals/246158 "2013-09-07T18:14:13Z")

</div>

Hi, All I am working on a project which requires to receive signals from LEO satellites like orbcomm and iridium. I tried to use USRP N210 to collect the data, but I found the signal may be too weak to be observed. …

---

## [\[Backport 200 - Backport #8873\]\[Assigned\] backport r42867 (fatal error class name)](https://www.ruby-forum.com/t/backport-200-backport-8873-assigned-backport-r42867-fatal-error-class-name/236495)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 7, 2013, 5:22pm UTC](https://www.ruby-forum.com/t/backport-200-backport-8873-assigned-backport-r42867-fatal-error-class-name/236495 "2013-09-07T17:22:49Z")

</div>

Issue #8873 has been reported by nagachika (Tomoyuki C.). Backport #8873: backport r42867 (fatal error class name) Author: nagachika (Tomoyuki C.) Status: Assigned Priority: Normal Assignee: nagachika (Tomoyuki C.…

---

## [Parameter with the same name as the controller returning the params hash instead of nil](https://www.ruby-forum.com/t/parameter-with-the-same-name-as-the-controller-returning-the-params-hash-instead-of-nil/246176)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [September 7, 2013, 9:10am UTC](https://www.ruby-forum.com/t/parameter-with-the-same-name-as-the-controller-returning-the-params-hash-instead-of-nil/246176 "2013-09-07T09:10:27Z")

</div>

Hi, I am having an issue with this code\[1\]. Testing in cucumber if there is no parameter :shot breaks. Somehow the shout parameter it’s returning the whole params hash. This thing happens everytime when the parameter…

---

## [Soap5r: attempting to use SOAP::RPC::Driver.new()](https://www.ruby-forum.com/t/soap5r-attempting-to-use-soap-driver-new/236322)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 14\
**Last updated:** [September 7, 2013, 8:49am UTC](https://www.ruby-forum.com/t/soap5r-attempting-to-use-soap-driver-new/236322 "2013-09-07T08:49:41Z")

</div>

Trying my hand at Ruby. Sanitized source: ------------ cut here ------------ require ‘soap/rpc/driver’ I assume the following URL works… browsing to it returns: You must use a POST request to get answer from gsoa…

---

## [\[ruby-trunk - Feature #8657\]\[Open\] Make Find.find respect the encodings of arguments](https://www.ruby-forum.com/t/ruby-trunk-feature-8657-open-make-find-find-respect-the-encodings-of-arguments/235844)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 7, 2013, 6:39am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-8657-open-make-find-find-respect-the-encodings-of-arguments/235844 "2013-09-07T06:39:11Z")

</div>

Issue #8657 has been reported by ktsj (Kazuki Tsujimoto). Feature #8657: Make Find.find respect the encodings of arguments Author: ktsj (Kazuki Tsujimoto) Status: Open Priority: Normal Assignee: Category: lib Ta…

---

## [Is there anyone using gem milia (multitenancy)?](https://www.ruby-forum.com/t/is-there-anyone-using-gem-milia-multitenancy/236489)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 7, 2013, 6:08am UTC](https://www.ruby-forum.com/t/is-there-anyone-using-gem-milia-multitenancy/236489 "2013-09-07T06:08:13Z")

</div>

I’m looking for examples of how to use the gem and especially the process of sign-up commented at gem github. Thanks Ricardo.

---

## [Confusion with method call without \`.\` operator](https://www.ruby-forum.com/t/confusion-with-method-call-without-operator/236493)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 7, 2013, 1:49am UTC](https://www.ruby-forum.com/t/confusion-with-method-call-without-operator/236493 "2013-09-07T01:49:23Z")

</div>

I am confused on the second call :- class Foo def \<\<(param) “hi” end end foo = Foo.new foo.\<\<(1) # =\> “hi” foo \<\< 1 # =\> “hi” # I didn’t use . method,then how method \<\< has been called?

---

## [Using if statements in a location block with set](https://www.ruby-forum.com/t/using-if-statements-in-a-location-block-with-set/246162)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 7, 2013, 1:43am UTC](https://www.ruby-forum.com/t/using-if-statements-in-a-location-block-with-set/246162 "2013-09-07T01:43:24Z")

</div>

Is the following going to work as expected: location /v1/users { rewrite ^/users/(.\*)/accounts$ /v1/users/$1/accounts break; if ($server\_name = 'js.mydomain.com') { set $backend "api.mydomain.com…

---

## [Hosting ruby application of IIS 7](https://www.ruby-forum.com/t/hosting-ruby-application-of-iis-7/245618)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [September 6, 2013, 11:29pm UTC](https://www.ruby-forum.com/t/hosting-ruby-application-of-iis-7/245618 "2013-09-06T23:29:05Z")

</div>

Hi all, I am new to ruby programming. I have just started creating a simple ruby application using ruby on rails. I have installed ruby 1.8.7-p371 and DevKit successfully. I am able to run the application using http:…

---

## [Struggling with a model - are there good developers to help?](https://www.ruby-forum.com/t/struggling-with-a-model-are-there-good-developers-to-help/236483)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 6, 2013, 10:46pm UTC](https://www.ruby-forum.com/t/struggling-with-a-model-are-there-good-developers-to-help/236483 "2013-09-06T22:46:26Z")

</div>

Hi guys, I’m new with web development so I’m sorry if my question sounds trivial. I’m building an app to write wine tasting notes, and I have to translate this tasting frameworkhttp://www.wsetglobal.com/documents/l3\_…

---

## [Kernel#\`\` not working in my IRB](https://www.ruby-forum.com/t/kernel-not-working-in-my-irb/236492)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 6, 2013, 10:05pm UTC](https://www.ruby-forum.com/t/kernel-not-working-in-my-irb/236492 "2013-09-06T22:05:32Z")

</div>

I tried Kernel#\`\` but not working cd command. kirti@kirti-Aspire-5733Z:~$ irb --simple-prompt pwd =\> “/home/kirti\\n” var = cd 'ruby' =\> “” var =\> “” pwd =\> “/home/kirti\\n”

---

## [How carry data between 2 page by ruby session](https://www.ruby-forum.com/t/how-carry-data-between-2-page-by-ruby-session/246177)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 6, 2013, 8:11pm UTC](https://www.ruby-forum.com/t/how-carry-data-between-2-page-by-ruby-session/246177 "2013-09-06T20:11:33Z")

</div>

Hi I am trying to carry logged\_in username from one page to different page by cgi session. but it does not work , can any one please tell me what i am doing wrong page1.rb : #!/usr/bin/ruby " #!/usr/bin/ruby req…

---

## [Installing jekyll failed on win7(failed on redcarpet)](https://www.ruby-forum.com/t/installing-jekyll-failed-on-win7-failed-on-redcarpet/236490)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 6, 2013, 6:52pm UTC](https://www.ruby-forum.com/t/installing-jekyll-failed-on-win7-failed-on-redcarpet/236490 "2013-09-06T18:52:42Z")

</div>

Hi, I am trying to install Jekyll on my windows 7(32bit), but failed. My ruby version is: ruby 2.0.0p247 (2013-06-27) \[i386-mingw32\] Iv installed the DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe as instructed I have Min…

---

## [Delete duplicate entries from a 2 dimensional array in ror](https://www.ruby-forum.com/t/delete-duplicate-entries-from-a-2-dimensional-array-in-ror/236488)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 6, 2013, 4:50pm UTC](https://www.ruby-forum.com/t/delete-duplicate-entries-from-a-2-dimensional-array-in-ror/236488 "2013-09-06T16:50:34Z")

</div>

I am trying to loop an array like this… @mem = \[\] @tran = Transport.find\_all\_by\_month\_and\_vehicle(date,vehicle) tran.each do |t| @mem \<\< \[Student.find\_by\_id(t.mem\_id), t.transport\_date, vehicle.no\] if t.mem\_type==“St…

---

## [Legacy data associations](https://www.ruby-forum.com/t/legacy-data-associations/236485)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 6, 2013, 4:43pm UTC](https://www.ruby-forum.com/t/legacy-data-associations/236485 "2013-09-06T16:43:02Z")

</div>

I have the task to work with a database that I am not allows to modify. It is a legacy database. In my class I have put some sample data to illustrate what I am trying to do. I working with rails 4 and ruby 2. Can so…

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

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