# Latest

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

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

---

## [Creating One-way connections or Dont wait for upstream](https://www.ruby-forum.com/t/creating-one-way-connections-or-dont-wait-for-upstream/246011)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 16, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/creating-one-way-connections-or-dont-wait-for-upstream/246011 "2013-08-16T14:17:49Z")

</div>

Hello, I am working on an application where http ( websocket, or any type of connection) connections will be one direction for inserting data into a database and queuing data. The client side of the application does n…

---

## [Output each line of an Array to text file](https://www.ruby-forum.com/t/output-each-line-of-an-array-to-text-file/236232)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 16, 2013, 1:37pm UTC](https://www.ruby-forum.com/t/output-each-line-of-an-array-to-text-file/236232 "2013-08-16T13:37:30Z")

</div>

Hi. In order to shuffle the contents of a text file, I read each line of the text file into an array, and then used the “.shuffle!” command to shuffle it in place. The array now contains my shuffled lines. Below is t…

---

## [Could not initialize class jnr.unixsocket.Native$LibC](https://www.ruby-forum.com/t/could-not-initialize-class-jnr-unixsocket-native-libc/246033)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 16, 2013, 12:17pm UTC](https://www.ruby-forum.com/t/could-not-initialize-class-jnr-unixsocket-native-libc/246033 "2013-08-16T12:17:37Z")

</div>

Hello, I’m trying to use the dalli gem (1.1.5) with UNIX sockets under JRuby 1.7.4 on Fedora 19. I get the following error. Java::JavaLang::NoClassDefFoundError (Could not initialize class jnr.unixsocket.Native$LibC)…

---

## [Name keeps printing on new line](https://www.ruby-forum.com/t/name-keeps-printing-on-new-line/246035)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [August 16, 2013, 10:00am UTC](https://www.ruby-forum.com/t/name-keeps-printing-on-new-line/246035 "2013-08-16T10:00:22Z")

</div>

Hi all, im new to this forum and to Ruby, I started learning it a few days ago so I could use it with RPG Maker VX Ace. Now im just practicing but i have run into a small problem that is annoying, I am using notepad++…

---

## [Best transmitter/receiver setup for large coverage](https://www.ruby-forum.com/t/best-transmitter-receiver-setup-for-large-coverage/236215)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 16, 2013, 8:16am UTC](https://www.ruby-forum.com/t/best-transmitter-receiver-setup-for-large-coverage/236215 "2013-08-16T08:16:23Z")

</div>

Hi, I am using usrp2 and gnuradio 3.3.0. I want to use benchmark\_tx.py as transmitter and benchmark\_rx.py as receiver. so that multiple receiver at distance of around 1 KM should get good signal strength. So could …

---

## [Interfacing GNU Radio and N6841A RF Sensor](https://www.ruby-forum.com/t/interfacing-gnu-radio-and-n6841a-rf-sensor/236213)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 16, 2013, 2:19am UTC](https://www.ruby-forum.com/t/interfacing-gnu-radio-and-n6841a-rf-sensor/236213 "2013-08-16T02:19:30Z")

</div>

Has anybody worked on interfacing GNU Radio with N6841A RF Sensor http://www.home.agilent.com/en/pd-1414739-pn-N6841A/rf-sensor Doable ?? – View this message in context: http://gnuradio.4.n7.nabble.com/Interfacing-G…

---

## [Create lowercase index](https://www.ruby-forum.com/t/create-lowercase-index/235597)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [August 16, 2013, 12:39am UTC](https://www.ruby-forum.com/t/create-lowercase-index/235597 "2013-08-16T00:39:26Z")

</div>

Hi I’m sorting some columns like this: MyModel.order(“LOWER(column) ASC”)… But these queries are quite slow. I’m on Postgres by the way. Does Rails support creating a lowercase index for these situations? I know Po…

---

## [Armhf builds for Ubuntu 12.04](https://www.ruby-forum.com/t/armhf-builds-for-ubuntu-12-04/236228)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 16, 2013, 12:24am UTC](https://www.ruby-forum.com/t/armhf-builds-for-ubuntu-12-04/236228 "2013-08-16T00:24:15Z")

</div>

Greetings, We have got armhf builds enabled for the gqrx/snapshotshttps://launchpad.net/~gqrx/+archive/snapshotsPPA so if anybody is using Ubuntu 12.04 on a Beaglebone, Parallella or other ARM device with FPU they ar…

---

## [Join table query question](https://www.ruby-forum.com/t/join-table-query-question/236225)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 15, 2013, 11:32pm UTC](https://www.ruby-forum.com/t/join-table-query-question/236225 "2013-08-15T23:32:16Z")

</div>

Hi, I created a join table and am having trouble figuring out how to query it… create\_table “minisections\_questions”, :id =\> false, :force =\> true do |t| t.integer “minisection\_id” t.integer “question\_id” end I a…

---

## [Ruby on rails return json to ajax](https://www.ruby-forum.com/t/ruby-on-rails-return-json-to-ajax/236226)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 15, 2013, 10:02pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-return-json-to-ajax/236226 "2013-08-15T22:02:19Z")

</div>

how i define my controller : def show @user=User.find(params\[:id\]) respond\_to do |format| format.json { render json: @user.to\_json, :only =\> \[:name, :email\]} end end how i define my ajax function: function FunA…

---

## [Mac build](https://www.ruby-forum.com/t/mac-build/236224)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 8:51pm UTC](https://www.ruby-forum.com/t/mac-build/236224 "2013-08-15T20:51:37Z")

</div>

OK, so I was successfully able to build gnu radio. Thanks for the assistance. I think forcing wxWidgets back to the previous version made the difference. Only problem now is links/paths. Can’t run gnuradio-companion o…

---

## [Gem Install/SSL Certificate Verify Failed](https://www.ruby-forum.com/t/gem-install-ssl-certificate-verify-failed/236221)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 15, 2013, 8:23pm UTC](https://www.ruby-forum.com/t/gem-install-ssl-certificate-verify-failed/236221 "2013-08-15T20:23:31Z")

</div>

C:\\Ruby\\tmp\>gem install mysql2 ERROR: Could not find a valid gem ‘mysql2’ (\>= 0), here is why: Unable to download data from https://rubygems.org/ SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B…

---

## [Def is not recognized as an internal or external command](https://www.ruby-forum.com/t/def-is-not-recognized-as-an-internal-or-external-command/246008)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 15, 2013, 8:08pm UTC](https://www.ruby-forum.com/t/def-is-not-recognized-as-an-internal-or-external-command/246008 "2013-08-15T20:08:26Z")

</div>

Hi, yesterday I installed ruby and I have tested a simple function using “def” keyword and it worked. Today I tried to associate .rb files to ruby with these commands: $ assoc .rb=RubyScript .rb=RubyScript $ ftype …

---

## [Set outgoing ip for reverse proxy?](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 15, 2013, 7:43pm UTC](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223 "2013-08-15T19:43:16Z")

</div>

Hello nginx, Iam wondering if there is anyway to bind a specific IP as the outbound IP to contact the backend server for a nginx instance? I serve many instances in a single machine and all of them using the default I…

---

## [Has\_secure\_attribute.since has\_secure\_password only works with passwords](https://www.ruby-forum.com/t/has-secure-attribute-since-has-secure-password-only-works-with-passwords/236222)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 7:13pm UTC](https://www.ruby-forum.com/t/has-secure-attribute-since-has-secure-password-only-works-with-passwords/236222 "2013-08-15T19:13:28Z")

</div>

I have just published this one: has\_secure\_attribute | RubyGems.org | your community gem host. Define encrypted attributes other than passwords. Your feedback is welcome. Thanks in advance. Panayotis

---

## [Ruby 2.0.0 x64 My programm without interpreter](https://www.ruby-forum.com/t/ruby-2-0-0-x64-my-programm-without-interpreter/236206)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 15, 2013, 6:55pm UTC](https://www.ruby-forum.com/t/ruby-2-0-0-x64-my-programm-without-interpreter/236206 "2013-08-15T18:55:49Z")

</div>

How to compile a program written in Ruby, in my version of Windows 7 is the x64, I tried gem ocra but when you start the computer file cursing components gem not found I use gems … It is very strange, very nice progra…

---

## [Bug in bug-gnuradio](https://www.ruby-forum.com/t/bug-in-bug-gnuradio/246046)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 15, 2013, 6:17pm UTC](https://www.ruby-forum.com/t/bug-in-bug-gnuradio/246046 "2013-08-15T18:17:22Z")

</div>

FYI, mail sent to removed\_email\_address@domain.invalid is bouncing. -d

---

## [Compilation walkthrough for Windows x64](https://www.ruby-forum.com/t/compilation-walkthrough-for-windows-x64/246016)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 15, 2013, 5:14pm UTC](https://www.ruby-forum.com/t/compilation-walkthrough-for-windows-x64/246016 "2013-08-15T17:14:51Z")

</div>

Hi, As compiling gnuradio on this platform is not completely trivial, I’ve made a simple walkthrough a few months ago. It’s for a slightly old version (3.6.4.1), but it can be adapter for 3.6.5.1 (although I haven’t…

---

## [Working with dynamic fields](https://www.ruby-forum.com/t/working-with-dynamic-fields/236207)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 15, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/working-with-dynamic-fields/236207 "2013-08-15T17:04:55Z")

</div>

Hi, I’m developing a app with dynamic field using hstore ( postgres ). The app works great, but now, i’m trying to implement validations. my code is: #model … def initialize\_custom\_fields class\_eval do validates …

---

## [IPv6 range specification for allow/deny](https://www.ruby-forum.com/t/ipv6-range-specification-for-allow-deny/246021)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 15, 2013, 4:32pm UTC](https://www.ruby-forum.com/t/ipv6-range-specification-for-allow-deny/246021 "2013-08-15T16:32:46Z")

</div>

Hi, I’d like to limit a range of IPv6 space to a “server” context using “allow” and “deny”. I haven’t been able to find any information on how to do this in the documentation, nor on the web. The only example I’ve fo…

---

## [Any experience or thoughts about Stormpath and their like?](https://www.ruby-forum.com/t/any-experience-or-thoughts-about-stormpath-and-their-like/236220)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 4:02pm UTC](https://www.ruby-forum.com/t/any-experience-or-thoughts-about-stormpath-and-their-like/236220 "2013-08-15T16:02:23Z")

</div>

Just ran across Stormpath \[1\] in a recent mailing \[2\]. They provide a hosted user management service instead of you having write one (using Devise and CanCan, for example). Has anyone used them or anything like them? …

---

## [Re: doing chris pine learn to program - chapter 7 challenge feedback](https://www.ruby-forum.com/t/re-doing-chris-pine-learn-to-program-chapter-7-challenge-feedback/236211)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 15, 2013, 3:58pm UTC](https://www.ruby-forum.com/t/re-doing-chris-pine-learn-to-program-chapter-7-challenge-feedback/236211 "2013-08-15T15:58:38Z")

</div>

Please ignore my last mail… @OP: Only recently there has been a discussion on sorting, with implementations, you might want to have a look at it. @Rafael: class Foo; @words; … doesn’t make any sense begin … end whil…

---

## [\[ruby-trunk - Feature #8786\]\[Open\] Process.clock\_gettime(:realtime)](https://www.ruby-forum.com/t/ruby-trunk-feature-8786-open-process-clock-gettime-realtime/246013)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 3:33pm UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-8786-open-process-clock-gettime-realtime/246013 "2013-08-15T15:33:45Z")

</div>

Issue #8786 has been reported by znz (Kazuhiro NISHIYAMA). Feature #8786: Process.clock\_gettime(:realtime) Author: znz (Kazuhiro NISHIYAMA) Status: Open Priority: Normal Assignee: Category: Target version: Sock…

---

## [Win32 Binary - bug in OpenSSL](https://www.ruby-forum.com/t/win32-binary-bug-in-openssl/236216)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 3:05pm UTC](https://www.ruby-forum.com/t/win32-binary-bug-in-openssl/236216 "2013-08-15T15:05:06Z")

</div>

Howdy folks, Whilst I’m a militant Unix guy I’m having to use the Win32 version of nginx for a specific project which requires SSL MiTM proxying as part of a virtualised app suite. I spent a few hours battling with a…

---

## [Upstream max\_fails disable](https://www.ruby-forum.com/t/upstream-max-fails-disable/245978)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 15, 2013, 2:10pm UTC](https://www.ruby-forum.com/t/upstream-max-fails-disable/245978 "2013-08-15T14:10:45Z")

</div>

Hi I’m using the upstream module - with sole purpose to enable keepalives to my backend I don’t want to use any of the other features, I only have 1 server in the upstream {} Does that mean max\_fails is still being …

---

## [LFRX as IF stage questions](https://www.ruby-forum.com/t/lfrx-as-if-stage-questions/245994)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 15, 2013, 2:06pm UTC](https://www.ruby-forum.com/t/lfrx-as-if-stage-questions/245994 "2013-08-15T14:06:05Z")

</div>

Hi all guys, I have designed a small board based on Ti’s CC1000 transciever, which I want to use as my RF front end. The board provides 10.7 MHz IF signal at one of the pins. After connecting everything I come to the …

---

## [Build errors](https://www.ruby-forum.com/t/build-errors/81907)

<div class="topic-metadata">

**Author:** [@Robert\_McGwier](https://www.ruby-forum.com/u/Robert_McGwier)\
**Replies:** 9\
**Last updated:** [August 15, 2013, 12:51pm UTC](https://www.ruby-forum.com/t/build-errors/81907 "2013-08-15T12:51:17Z")

</div>

I am getting build errors on 3 different machines which heretofore have worked perfectly. It involves the pmt/mblock code. The failure to build comes in the last step of building the libmblock.so and libmblock-qa.so.…

---

## [SciTE Issue, "puts" doesn't show up until user input for "gets"](https://www.ruby-forum.com/t/scite-issue-puts-doesnt-show-up-until-user-input-for-gets/236183)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 15, 2013, 10:17am UTC](https://www.ruby-forum.com/t/scite-issue-puts-doesnt-show-up-until-user-input-for-gets/236183 "2013-08-15T10:17:40Z")

</div>

I’m having a bit of trouble with SciTE. I’m new to Ruby and I’ve been working with SciTE for only a couple of days. For some reason whenever I write a “puts” statement followed by a “gets” statement, the “puts” statem…

---

## [\[ruby-trunk - Bug #8749\]\[Open\] Readline.readline stops STDOUT?](https://www.ruby-forum.com/t/ruby-trunk-bug-8749-open-readline-readline-stops-stdout/246004)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [August 15, 2013, 6:42am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8749-open-readline-readline-stops-stdout/246004 "2013-08-15T06:42:40Z")

</div>

Issue #8749 has been reported by no6v (Nobuhiro IMAI). Bug #8749: Readline.readline stops STDOUT? Author: no6v (Nobuhiro IMAI) Status: Open Priority: Normal Assignee: Category: ext Target version: ruby -v: ruby…

---

## [Re: doing chris pine learn to program - chapter 7 challenge feedback](https://www.ruby-forum.com/t/re-doing-chris-pine-learn-to-program-chapter-7-challenge-feedback/236212)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 4:52am UTC](https://www.ruby-forum.com/t/re-doing-chris-pine-learn-to-program-chapter-7-challenge-feedback/236212 "2013-08-15T04:52:51Z")

</div>

\-----Ursprüngliche Nachricht----- Gesendet: Wednesday, 14 August 2013 um 18:47:41 Uhr Von: “Rafael M.” removed\_email\_address@domain.invalid An: removed\_email\_address@domain.invalid Betreff: Re: doing chris pine learn…

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

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