# Latest

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

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

---

## [Make test errors](https://www.ruby-forum.com/t/make-test-errors/235216)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 9\
**Last updated:** [September 25, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/make-test-errors/235216 "2013-09-25T18:36:56Z")

</div>

I’m new to this, and I’m sure it will show… I am trying to install and run Gnu Radio in an Ubuntu 12.10 environment. I followed the instructions at http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Ins…

---

## [Proxy to upstream HTTPS server \*without\* any keys/certs in nginx](https://www.ruby-forum.com/t/proxy-to-upstream-https-server-without-any-keys-certs-in-nginx/246274)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 25, 2013, 4:58pm UTC](https://www.ruby-forum.com/t/proxy-to-upstream-https-server-without-any-keys-certs-in-nginx/246274 "2013-09-25T16:58:19Z")

</div>

Hello, We are researching which tools would allow us to do what is described in the subject. After searching the archives here and in other places like stackoverflow, there seems to be conflicting info on whether th…

---

## [Difference between \`Kernel#load\` call with the second parameter and without](https://www.ruby-forum.com/t/difference-between-kernel-load-call-with-the-second-parameter-and-without/246281)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [September 25, 2013, 4:33pm UTC](https://www.ruby-forum.com/t/difference-between-kernel-load-call-with-the-second-parameter-and-without/246281 "2013-09-25T16:33:29Z")

</div>

I was trying to understand the difference between Kernel#load with the second parameter and without. I wrote the code :- so.rb require ‘nokogiri’ doc = Nokogiri::HTML.parse(“ foo”) p doc.child test.rb load ‘C:/Us…

---

## [Rails Girls Milan - Aiutateci ad aiutare :)](https://www.ruby-forum.com/t/rails-girls-milan-aiutateci-ad-aiutare/246269)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [September 25, 2013, 4:30pm UTC](https://www.ruby-forum.com/t/rails-girls-milan-aiutateci-ad-aiutare/246269 "2013-09-25T16:30:15Z")

</div>

L’associazione Ruby Italia sta cercando di aiutare Girls In Tech a trovare i tutor per l’evento Rails G.s Milan, trovate tutte le informazioni qui :slight\_smile: http://rubyitalia.teamartist.com/2013/09/19/rails-girl…

---

## [How to remove new line from output](https://www.ruby-forum.com/t/how-to-remove-new-line-from-output/246260)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 4:19pm UTC](https://www.ruby-forum.com/t/how-to-remove-new-line-from-output/246260 "2013-09-25T16:19:44Z")

</div>

/usr/bin/ldapsearch -h #{internal\_it\_AD\_ipaddress} -p 389 -D “cn=LDAP n xxxxxxxxx” -x -b “CN=DL LDAP xxxxxxxx” -s sub “(objectClass=\*)” -w ‘#{internal\_it\_AD\_password}’ –LLL when it shows output but breaks the …

---

## [40 bad request and UTF8](https://www.ruby-forum.com/t/40-bad-request-and-utf8/236688)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 4:05pm UTC](https://www.ruby-forum.com/t/40-bad-request-and-utf8/236688 "2013-09-25T16:05:07Z")

</div>

Hi, Im using nginx and rails for my site which contains url with georgian letters ie განცხადებები so something like It is mainly working perfectly but sometimes I receive request with truncated url ie 1 - http://g…

---

## [Nginx static files](https://www.ruby-forum.com/t/nginx-static-files/236686)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 2:35pm UTC](https://www.ruby-forum.com/t/nginx-static-files/236686 "2013-09-25T14:35:07Z")

</div>

I have a rails server and I would like to serve all this static files \*. jpg, \*. png, \*. css, \*. js, \*. gif, \*. jpeg with nginx This is my actual configuration server { listen 443; server\_name emotionalworld.co www.…

---

## [From time to time we can't reload the nginx service and get this error... /var/run/nginx.pid: No su](https://www.ruby-forum.com/t/from-time-to-time-we-cant-reload-the-nginx-service-and-get-this-error-var-run-nginx-pid-no-su/175310)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 7\
**Last updated:** [September 25, 2013, 2:30pm UTC](https://www.ruby-forum.com/t/from-time-to-time-we-cant-reload-the-nginx-service-and-get-this-error-var-run-nginx-pid-no-su/175310 "2013-09-25T14:30:27Z")

</div>

Reloading nginx daemon configuration…cat: /var/run/nginx.pid: No such file or directory kill: usage: kill \[-s sigspec | -n signum | -sigspec\] pid | jobspec … or kill -l \[sigspec\] can’t reload. Any idea why? I can…

---

## [Questions about proxy\_cache and ssi](https://www.ruby-forum.com/t/questions-about-proxy-cache-and-ssi/236669)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 25, 2013, 2:29pm UTC](https://www.ruby-forum.com/t/questions-about-proxy-cache-and-ssi/236669 "2013-09-25T14:29:52Z")

</div>

Hello list, I hava a nginx config problem , Please help look ! I use proxy\_cache and ssi. nginx config : ssi on; ssi\_silent\_errors on; ssi\_types text/shtml; proxy\_temp\_path /cache/proxy\_temp; proxy\_cache\_path /c…

---

## [400 bad request and utf8](https://www.ruby-forum.com/t/400-bad-request-and-utf8/236687)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 25, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/400-bad-request-and-utf8/236687 "2013-09-25T14:17:44Z")

</div>

Hi, Im using nginx and rails for my site which contains url with georgian letters ie განცხადებები so something like It is mainly working perfectly but sometimes I receive request with truncated url ie 1 - http://g…

---

## [Multitenancy and the options to realise it in rails4](https://www.ruby-forum.com/t/multitenancy-and-the-options-to-realise-it-in-rails4/236640)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 25, 2013, 2:00pm UTC](https://www.ruby-forum.com/t/multitenancy-and-the-options-to-realise-it-in-rails4/236640 "2013-09-25T14:00:03Z")

</div>

Ok the situation is that I have an App, where to user can sign in and can use the app save some data like customers and orders to the db. Since I’m using devise for authentication, I realised the multitenenacy with c…

---

## [Nginx convert UTF8 request to ISO-8859-1](https://www.ruby-forum.com/t/nginx-convert-utf8-request-to-iso-8859-1/236681)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 25, 2013, 1:32pm UTC](https://www.ruby-forum.com/t/nginx-convert-utf8-request-to-iso-8859-1/236681 "2013-09-25T13:32:00Z")

</div>

Hi, IE8 (maybe also IE9/IE10) doesn’t auto encode url (firefox do), and can make utf8 requests If you put “http:///?test=ééé” in the address bar, the é will not be html encoded, and will be sent encoded in utf8 (c3a…

---

## [Merge 3 uploaded videos](https://www.ruby-forum.com/t/merge-3-uploaded-videos/246297)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 25, 2013, 11:45am UTC](https://www.ruby-forum.com/t/merge-3-uploaded-videos/246297 "2013-09-25T11:45:03Z")

</div>

Hello, I’m having 3 categories of videos , one header , main video and one footer. Headers and footers videos are already on amazon s3. I want a user to be able to choose between the header , footer , and a main vi…

---

## [Session in Rails\_API gem](https://www.ruby-forum.com/t/session-in-rails-api-gem/236685)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 25, 2013, 11:38am UTC](https://www.ruby-forum.com/t/session-in-rails-api-gem/236685 "2013-09-25T11:38:02Z")

</div>

Hi Rails Guru, Currently I am working i my project, and that project using rails\_api gem. I want to add session management for authentication, but it seems the session does not working. Here is my configuration in c…

---

## [Moderation in RoR app](https://www.ruby-forum.com/t/moderation-in-ror-app/246289)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [September 25, 2013, 11:09am UTC](https://www.ruby-forum.com/t/moderation-in-ror-app/246289 "2013-09-25T11:09:38Z")

</div>

Hello all! I’m new to RoR, so sorry if it’s too easy. I am making an app, where users can create posts. I have admin and user roles. Now I need to make moderation of posts that user created. How to make admin to acce…

---

## [All webapps behind nginx reverse proxy by port?](https://www.ruby-forum.com/t/all-webapps-behind-nginx-reverse-proxy-by-port/236684)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 25, 2013, 10:19am UTC](https://www.ruby-forum.com/t/all-webapps-behind-nginx-reverse-proxy-by-port/236684 "2013-09-25T10:19:08Z")

</div>

I’m thinking of using nginx as a reverse proxy for all of my administrative webapps so I can keep them under nice tight control. Is this a good idea? Would you use port numbers to separate each of them? Grant

---

## [How to communicate a web app with destkop app?](https://www.ruby-forum.com/t/how-to-communicate-a-web-app-with-destkop-app/236680)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 9\
**Last updated:** [September 25, 2013, 10:18am UTC](https://www.ruby-forum.com/t/how-to-communicate-a-web-app-with-destkop-app/236680 "2013-09-25T10:18:33Z")

</div>

Hi everyone, I need that my web app talk with a dektop application. User case: a user click a button on the page, and this button send a command to the desktop app and wait for the answer from destkop app or timeout. …

---

## [Ngx\_lua + proxy\_next\_upstream](https://www.ruby-forum.com/t/ngx-lua-proxy-next-upstream/236595)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 25, 2013, 8:21am UTC](https://www.ruby-forum.com/t/ngx-lua-proxy-next-upstream/236595 "2013-09-25T08:21:42Z")

</div>

Hello, I have configured: ngx\_lua as rewrite\_by\_lua\_file lua returns upstream Nginx connects to the upstream Works perfectly. The question is how can I archive proxy\_next\_upstream. Preferably I would like to return…

---

## [Rails 4 deprecation of in-place edit methods for collection associations](https://www.ruby-forum.com/t/rails-4-deprecation-of-in-place-edit-methods-for-collection-associations/236571)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 25, 2013, 7:50am UTC](https://www.ruby-forum.com/t/rails-4-deprecation-of-in-place-edit-methods-for-collection-associations/236571 "2013-09-25T07:50:08Z")

</div>

---

## [Image processing](https://www.ruby-forum.com/t/image-processing/223172)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 10\
**Last updated:** [September 25, 2013, 5:50am UTC](https://www.ruby-forum.com/t/image-processing/223172 "2013-09-25T05:50:32Z")

</div>

I’m trying to build a program meant to recognize plants by looking at a picture of their leafs or similar parts. The approach that I had thought to would be: create a mathematical model of the leaves to be recognized …

---

## [Gnu radio installation error](https://www.ruby-forum.com/t/gnu-radio-installation-error/246273)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 25, 2013, 4:36am UTC](https://www.ruby-forum.com/t/gnu-radio-installation-error/246273 "2013-09-25T04:36:35Z")

</div>

Hi all, I have a problem after cloning the gnuradio .when i execute cmake command i’m getting the below error.i installed all the packages and dependencies CMake Error at volk/CMakeLists.txt:79 Please can …

---

## [\[ANN\] jruby-mapdb 0.9.5 gem released](https://www.ruby-forum.com/t/ann-jruby-mapdb-0-9-5-gem-released/236666)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 24, 2013, 11:30pm UTC](https://www.ruby-forum.com/t/ann-jruby-mapdb-0-9-5-gem-released/236666 "2013-09-24T23:30:33Z")

</div>

Hi, I just released this gem allowing jrubyists to use in a fairly transparent way MapDB 0.9.5 (jar is included in the gem). MapDB is a fast key-value store java library. This gem serves as a ‘OKVM’ (object key-val…

---

## [Floating point exception (core dumped)](https://www.ruby-forum.com/t/floating-point-exception-core-dumped/246270)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 11:24pm UTC](https://www.ruby-forum.com/t/floating-point-exception-core-dumped/246270 "2013-09-24T23:24:42Z")

</div>

Hello list, 1/ I have been stuck into debugging process of some code, Am getting a: ‘Floating point exception (core dumped)’ which pop up randomly: In other words, I have tried to find out was that related really to …

---

## [Creating multiple objects from a model](https://www.ruby-forum.com/t/creating-multiple-objects-from-a-model/236672)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [September 24, 2013, 11:08pm UTC](https://www.ruby-forum.com/t/creating-multiple-objects-from-a-model/236672 "2013-09-24T23:08:19Z")

</div>

Hi all, I’m new to the programming world, so much of this stuff is still pretty foreign to me. I’ve created a ‘roll\_dice.rb’ program that draws on the ‘die.rb’ model. When the roll\_dice program is run, the user is si…

---

## [\[JOBS\] RoR consulting roles in New York City, massive commercial web development](https://www.ruby-forum.com/t/jobs-ror-consulting-roles-in-new-york-city-massive-commercial-web-development/246302)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 10:42pm UTC](https://www.ruby-forum.com/t/jobs-ror-consulting-roles-in-new-york-city-massive-commercial-web-development/246302 "2013-09-24T22:42:00Z")

</div>

This is a consulting role, 3-6 month extendable engagements, W2 only through Core Search Group. Think you can design/build for high performance RoR/Python web infrastructure that serves tens of thousands of users conc…

---

## [GNURadio Compressed sensing toolbox](https://www.ruby-forum.com/t/gnuradio-compressed-sensing-toolbox/246075)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 10:23pm UTC](https://www.ruby-forum.com/t/gnuradio-compressed-sensing-toolbox/246075 "2013-09-24T22:23:55Z")

</div>

Hello, Has anyone tried using the Compressive Sensing toolbox for GNURadio? I downloaded it however I am having issue when I build it. https://www.cgran.org/wiki/CompSens Is anyone using/tried compressive sensing on…

---

## [Creating GUI widgets OOT using C++](https://www.ruby-forum.com/t/creating-gui-widgets-oot-using-c/236675)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 10:13pm UTC](https://www.ruby-forum.com/t/creating-gui-widgets-oot-using-c/236675 "2013-09-24T22:13:22Z")

</div>

Hi, I’m currently attempting to create an OOT WX widget. And I’m facing some issue with SWIG (I think). The “make” method looks like this : wx::sptr wx::make(wxWindow\* parent) And the GRC .xml gives as the first arg…

---

## [What is the best way to convert a currency string 'USD' to locale :en-US?](https://www.ruby-forum.com/t/what-is-the-best-way-to-convert-a-currency-string-usd-to-locale-en-us/246306)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [September 24, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-convert-a-currency-string-usd-to-locale-en-us/246306 "2013-09-24T21:46:29Z")

</div>

What is the best way to convert a currency string ‘USD’ to locale :en-US? Right now trying to make it flexible to show the money and symbol correctly based on the currency string (like ‘USD’ or ‘AUD’) stored against …

---

## [Limit\_req and @named locations](https://www.ruby-forum.com/t/limit-req-and-named-locations/236673)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 24, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/limit-req-and-named-locations/236673 "2013-09-24T21:24:16Z")

</div>

Hi list I am experiencing some problems with a rate-limiting setup. I have a “global” limit\_req declared in my http block. I also have additional limit\_req declarations in various locations, both @named and unnamed, …

---

## [Regexes appear same, test !=](https://www.ruby-forum.com/t/regexes-appear-same-test/246275)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 24, 2013, 8:52pm UTC](https://www.ruby-forum.com/t/regexes-appear-same-test/246275 "2013-09-24T20:52:07Z")

</div>

How can this occur? This is output from an RSpec test… expected: /\<(?\<tag\>(\[\[:alpha:\]\])+)\>(?\<cdata\>(.)\*)\<\\/\\k\<tag\>\>/ got: /\<(?(\[\[:alpha:\]\])+)\>(?(.)\*)\</\\k\>/ (using ==) Any clue what I’m missing here? …

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

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