# Latest

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

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

---

## [Add class variable to all models using concern to extend AR?](https://www.ruby-forum.com/t/add-class-variable-to-all-models-using-concern-to-extend-ar/237601)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 21, 2013, 5:22pm UTC](https://www.ruby-forum.com/t/add-class-variable-to-all-models-using-concern-to-extend-ar/237601 "2013-11-21T17:22:30Z")

</div>

Hi All, I’ve previously used concerns to extend my models without problems. I’m now trying to extend all my models in one swell-foop by extending AR with a concern. In brief, I want to add a class variable to each i…

---

## [The right book for me learning ruby?](https://www.ruby-forum.com/t/the-right-book-for-me-learning-ruby/237546)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 11\
**Last updated:** [November 21, 2013, 5:15pm UTC](https://www.ruby-forum.com/t/the-right-book-for-me-learning-ruby/237546 "2013-11-21T17:15:38Z")

</div>

Hay guys, I’m new to ruby and since I tried it out, I just loved it! Like the syntax and the code style. So I want to learn ruby now. But I don’t know which book is the right one for me to start with. I have a littl…

---

## [Run executable file](https://www.ruby-forum.com/t/run-executable-file/237618)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 21, 2013, 4:57pm UTC](https://www.ruby-forum.com/t/run-executable-file/237618 "2013-11-21T16:57:31Z")

</div>

Hi Guys, I’m having ruby script (functional test). I have to run exe file which is already running to check if it’s possible to have 2 applications working at the same time. They shouldn’t work and they actually don’t…

---

## [Error after clean install on Windows](https://www.ruby-forum.com/t/error-after-clean-install-on-windows/237427)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 12\
**Last updated:** [November 21, 2013, 3:31pm UTC](https://www.ruby-forum.com/t/error-after-clean-install-on-windows/237427 "2013-11-21T15:31:41Z")

</div>

Hello, I have a problem with my JRuby installation. I just installed JRuby 1.7.6 exe+jre(x64) on Windows 8 64-bit and tried to execute “jruby -S gem list --local” This gave me the following error message: C:\>jruby -…

---

## [Passing a variable to other blocks](https://www.ruby-forum.com/t/passing-a-variable-to-other-blocks/237617)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 21, 2013, 3:19pm UTC](https://www.ruby-forum.com/t/passing-a-variable-to-other-blocks/237617 "2013-11-21T15:19:22Z")

</div>

Hello Everyone I was wondering how to pass a variable defined in one block to another. For instance, say we defined a variable in a block impl.cc, how can I pass this variable to another block? Or how can I make it p…

---

## [Re: Signal Hound spectrum analyzer](https://www.ruby-forum.com/t/re-signal-hound-spectrum-analyzer/237620)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 3:17pm UTC](https://www.ruby-forum.com/t/re-signal-hound-spectrum-analyzer/237620 "2013-11-21T15:17:36Z")

</div>

On Thu, Nov 21, 2013 at 4:25 AM, Senzo Ngubane removed\_email\_address@domain.invalid wrote: Hi Every one I am working on the gnu radio 3.7.1. i am trying to use the signal hound in gnu radio as the source for receivi…

---

## [UHD: cannot find usrp2](https://www.ruby-forum.com/t/uhd-cannot-find-usrp2/200644)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 6\
**Last updated:** [November 21, 2013, 2:47pm UTC](https://www.ruby-forum.com/t/uhd-cannot-find-usrp2/200644 "2013-11-21T14:47:01Z")

</div>

uhd\_find\_devices → linux; GNU C++ version 4.4.1; Boost\_103800; UHD\_0001.20101216232717.a78a72f No UHD Devices Found Used the latest UHD code by git pull Used the latest firmware in http://www.ettus.com/downlo…

---

## [\[Backport93 - Backport #8555\]\[Open\] Backport r41325](https://www.ruby-forum.com/t/backport93-backport-8555-open-backport-r41325/235429)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [November 21, 2013, 1:52pm UTC](https://www.ruby-forum.com/t/backport93-backport-8555-open-backport-r41325/235429 "2013-11-21T13:52:18Z")

</div>

Issue #8555 has been reported by authorNari (Narihiro N.). Backport #8555: Backport r41325 Author: authorNari (Narihiro N.) Status: Open Priority: Normal Assignee: usa (Usaku NAKAMURA) Category: Target version: …

---

## [Why an Object is\_a? Module?](https://www.ruby-forum.com/t/why-an-object-is-a-module/237599)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 21, 2013, 11:58am UTC](https://www.ruby-forum.com/t/why-an-object-is-a-module/237599 "2013-11-21T11:58:04Z")

</div>

I have a piece of code (derived from How do I create a class instance from a string name in ruby? - Stack Overflow), which works like a charm, but I don’t fully understand WHY it works. Here is a small example which d…

---

## [JRuby class with BeanInfo capabilities](https://www.ruby-forum.com/t/jruby-class-with-beaninfo-capabilities/237619)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 10:59am UTC](https://www.ruby-forum.com/t/jruby-class-with-beaninfo-capabilities/237619 "2013-11-21T10:59:24Z")

</div>

Hi! This is the scenario: I’m using JRuby to create a small DSL for creating Apache Camel routes in an OSGi environment. Things are working nicely, and it’s possible to load jruby scripts such as: require 'lib/dsl' …

---

## [Nginx-1.4.4](https://www.ruby-forum.com/t/nginx-1-4-4/237569)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 21, 2013, 10:55am UTC](https://www.ruby-forum.com/t/nginx-1-4-4/237569 "2013-11-21T10:55:18Z")

</div>

Changes with nginx 1.4.4 19 Nov 2013 \*) Security: a character following an unescaped space in a request line was handled incorrectly (CVE-2013-4547); the bug had appeared in …

---

## [Caching unexpected behaviour](https://www.ruby-forum.com/t/caching-unexpected-behaviour/237589)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 10\
**Last updated:** [November 21, 2013, 10:35am UTC](https://www.ruby-forum.com/t/caching-unexpected-behaviour/237589 "2013-11-21T10:35:26Z")

</div>

Hi I have this RoR (2.3.16) app that has a simple agenda tool. Each customer has their own individual database, and I have one central database with login, passwd and the customer database name. Something like this: …

---

## [I can't run a program I just created! Are spaces in file names a problem?](https://www.ruby-forum.com/t/i-cant-run-a-program-i-just-created-are-spaces-in-file-names-a-problem/237591)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [November 21, 2013, 10:17am UTC](https://www.ruby-forum.com/t/i-cant-run-a-program-i-just-created-are-spaces-in-file-names-a-problem/237591 "2013-11-21T10:17:53Z")

</div>

Using ruby with windows vista, created a new program and I’m in the correct directory on the command line but I keep getting a load error. Even after checking my spelling exactly matches the file name. I put a space …

---

## [Passing hash as arguments](https://www.ruby-forum.com/t/passing-hash-as-arguments/158713)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 3\
**Last updated:** [November 21, 2013, 10:00am UTC](https://www.ruby-forum.com/t/passing-hash-as-arguments/158713 "2013-11-21T10:00:20Z")

</div>

Is this the best way (though contrived) to use a hash as an argument in ruby? def state\_name\_age(feeling, info{}) “#{:name} is #{feeling} #{:age} #{:units} old” end my\_info = {} my\_info = {:name =\> “Kate”, :units =\>…

---

## [Hello, someone used to an online spree](https://www.ruby-forum.com/t/hello-someone-used-to-an-online-spree/237593)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 21, 2013, 9:15am UTC](https://www.ruby-forum.com/t/hello-someone-used-to-an-online-spree/237593 "2013-11-21T09:15:22Z")

</div>

Hi hope you all have a good day I go to the Ruby On Rails group by a concern I have less than 8 days to make a demo online shop, my rails level is medium, the store should not be functional at all, but if should have …

---

## [Gr-ieee802-11: Mostly broken flow graphs in examples](https://www.ruby-forum.com/t/gr-ieee802-11-mostly-broken-flow-graphs-in-examples/237616)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 21, 2013, 8:28am UTC](https://www.ruby-forum.com/t/gr-ieee802-11-mostly-broken-flow-graphs-in-examples/237616 "2013-11-21T08:28:38Z")

</div>

Dear Sirs, From the README file of GitHub - bastibl/gr-ieee802-11: IEEE 802.11 a/g/p Transceiver, it mentions “in the examples folder are several flowgraphs”. But how come many of the flow graphs have errors: many por…

---

## [Re: HELP! - Problem with radio application deploy](https://www.ruby-forum.com/t/re-help-problem-with-radio-application-deploy/237614)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 7:42am UTC](https://www.ruby-forum.com/t/re-help-problem-with-radio-application-deploy/237614 "2013-11-21T07:42:29Z")

</div>

Thanks Tom and Marcus for taking time out and explaining things on the list. – Bob

---

## [Gr-ieee802-11 compilation error](https://www.ruby-forum.com/t/gr-ieee802-11-compilation-error/237615)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 21, 2013, 6:45am UTC](https://www.ruby-forum.com/t/gr-ieee802-11-compilation-error/237615 "2013-11-21T06:45:50Z")

</div>

Dear Sir, While compiling gr-ieee802-11 from GitHub - bastibl/gr-ieee802-11: IEEE 802.11 a/g/p Transceiver, these errors were encountered: host@~/gr-ieee802-11/build $ make Scanning dependencies of target ieee802\_…

---

## [Ngx\_openresty stable version 1.4.3.6 released](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-4-3-6-released/237613)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 6:18am UTC](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-4-3-6-released/237613 "2013-11-21T06:18:22Z")

</div>

Hello! I just released a new stable version for ngx\_openresty, 1.4.3.6, which includes the latest official fix for the security issue CVE-2013-4547 in the Nginx core: http://openresty.org/#Download Best regards, -a…

---

## [Transmitting on both channels with the LFTX board](https://www.ruby-forum.com/t/transmitting-on-both-channels-with-the-lftx-board/237612)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 21, 2013, 4:12am UTC](https://www.ruby-forum.com/t/transmitting-on-both-channels-with-the-lftx-board/237612 "2013-11-21T04:12:09Z")

</div>

Hello, I have a LFTX board and a LFRX board in a USRP-N210 and I am using GRC 3.6.1 in ubuntu 13.10. I would like to transmit on both LFTX channels simultaneously. Does anyone know how? Here are some things I tried…

---

## [Why is my rspec controller test for get method not working?](https://www.ruby-forum.com/t/why-is-my-rspec-controller-test-for-get-method-not-working/237514)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 21, 2013, 3:34am UTC](https://www.ruby-forum.com/t/why-is-my-rspec-controller-test-for-get-method-not-working/237514 "2013-11-21T03:34:11Z")

</div>

Hello Everyone, Why is my controller test in the get method not working? https://github.com/haloflightleader/bank/blob/02695c7c5106b30e178d3a0d05125f8deedd5e67/spec/controllers/accounts\_controller\_spec.rb#L18 This is …

---

## [Gnuradio repository error](https://www.ruby-forum.com/t/gnuradio-repository-error/237610)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 21, 2013, 3:20am UTC](https://www.ruby-forum.com/t/gnuradio-repository-error/237610 "2013-11-21T03:20:10Z")

</div>

It timeouts even after few attempts. See below. $ git clone --progress gnuradio.git - GNU Radio Cloning into ‘gnuradio’… error: Unable to get pack file http://gnuradio.org/git/gnuradio.git/objects/pack/pack-d0093c65…

---

## [Ruby script if statement](https://www.ruby-forum.com/t/ruby-script-if-statement/237607)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [November 20, 2013, 11:07pm UTC](https://www.ruby-forum.com/t/ruby-script-if-statement/237607 "2013-11-20T23:07:06Z")

</div>

Hi, I want to write a if statement script, what it will do is if the phone number field exist, then print the phone number, otherwise leave it blank. I have tried this: \<% if @user.phone\_work != 0 %\>Work: \<%= @user.…

---

## [Ruby script delimiter a number](https://www.ruby-forum.com/t/ruby-script-delimiter-a-number/237550)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 20, 2013, 10:40pm UTC](https://www.ruby-forum.com/t/ruby-script-delimiter-a-number/237550 "2013-11-20T22:40:22Z")

</div>

Hi, here is my ruby script displaying the land area: \<%= property.land\_area\_sqm -%\> I want to delimiter the number to a format with comma like 10000000 --\>10,000,000 I have tried this but not working: property.land…

---

## [Re: Looking for DSSS demodulator](https://www.ruby-forum.com/t/re-looking-for-dsss-demodulator/237606)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 20, 2013, 10:12pm UTC](https://www.ruby-forum.com/t/re-looking-for-dsss-demodulator/237606 "2013-11-20T22:12:53Z")

</div>

I have been working on a DSSS system for some time now. You can find our work-in-progress here: A few comments: this project grew out of the DARPA spectrum challenge: our team eventually dropped out of the race bec…

---

## [Railties-4.0.1 - what happened to rake tmp:clear](https://www.ruby-forum.com/t/railties-4-0-1-what-happened-to-rake-tmp-clear/237608)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 20, 2013, 10:11pm UTC](https://www.ruby-forum.com/t/railties-4-0-1-what-happened-to-rake-tmp-clear/237608 "2013-11-20T22:11:43Z")

</div>

MRI-2.0.0p247 Railties-4.0.1 We have a standalone Rails-3.2.15 based application that we are upgrading to 4.0.1. It uses only the following components of Rails-4.0.1: actionmailer (4.0.1) actionpack (4.0.1) active…

---

## [Gr-ieee802-11 CMake Error](https://www.ruby-forum.com/t/gr-ieee802-11-cmake-error/237594)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [November 20, 2013, 10:06pm UTC](https://www.ruby-forum.com/t/gr-ieee802-11-cmake-error/237594 "2013-11-20T22:06:27Z")

</div>

Hi all, Please help me if you know the solution: My system Ubuntu 13.04 GNURADIO 3.7.2 I run: sudo apt-get install libitpp-dev git clone git://github.com/bastibl/gr-ieee802-11.git cd gr-ieee802-11 mkdir build cd…

---

## [No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)](https://www.ruby-forum.com/t/no-rakefile-found-looking-for-rakefile-rakefile-rakefile-rb-rakefile-rb/237604)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 20, 2013, 9:47pm UTC](https://www.ruby-forum.com/t/no-rakefile-found-looking-for-rakefile-rakefile-rakefile-rb-rakefile-rb/237604 "2013-11-20T21:47:58Z")

</div>

I just started learning Rake. I was reading the blog - Rake Tutorial - Lukasz Wrobel. So I installed first it : kirti@kirti-Aspire-5733Z:~$ gem install rake Fetching: rake-10.1.0.gem (100%) Successfully installed ra…

---

## [Building GNU Radio for arm etc](https://www.ruby-forum.com/t/building-gnu-radio-for-arm-etc/237603)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 20, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/building-gnu-radio-for-arm-etc/237603 "2013-11-20T20:41:08Z")

</div>

I’ve put together a repo manifest file for building GNU Radio using OpenEmbedded. The repo tool will take care of checking out the various layers needed and (if you sue the stable branch) deliver layers that built ima…

---

## [Meta-sdr for building gnuradio and other interesting things for embedded devices](https://www.ruby-forum.com/t/meta-sdr-for-building-gnuradio-and-other-interesting-things-for-embedded-devices/237602)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 20, 2013, 6:02pm UTC](https://www.ruby-forum.com/t/meta-sdr-for-building-gnuradio-and-other-interesting-things-for-embedded-devices/237602 "2013-11-20T18:02:47Z")

</div>

At GR-COn one of the items we talked about in the embedded working group was creating a meta-sdr layer for OpenEmbedded to collect GNU Radio related recipes (and other interesting SDR recipes). I have started this lay…

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

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