# Latest

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

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

---

## [Status of GNU Radio with OSX 10.9](https://www.ruby-forum.com/t/status-of-gnu-radio-with-osx-10-9/237581)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 3, 2013, 2:54am UTC](https://www.ruby-forum.com/t/status-of-gnu-radio-with-osx-10-9/237581 "2013-12-03T02:54:10Z")

</div>

Earlier today I pushed r113561 to MacPorts \< Changeset 113561 – MacPorts \> which should allow pretty much any compiler should work on 10.8 or 10.9 (and, likely, any other OSX version) to build any version of gnuradio …

---

## [Re: Volk machine](https://www.ruby-forum.com/t/re-volk-machine/237832)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 11:31pm UTC](https://www.ruby-forum.com/t/re-volk-machine/237832 "2013-12-02T23:31:41Z")

</div>

The recorded file was only about 80MB for 10 seconds of recording, and FFT playback was static. Without using the low pass filter, I was seeing a bunch of ‘D’ (I think) markers, and my playback was choppy. Nick F. re…

---

## [ANN: Sequel 4.5.0 Released](https://www.ruby-forum.com/t/ann-sequel-4-5-0-released/237831)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 11:07pm UTC](https://www.ruby-forum.com/t/ann-sequel-4-5-0-released/237831 "2013-12-02T23:07:15Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer f…

---

## [Re: Volk machine](https://www.ruby-forum.com/t/re-volk-machine/237830)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 2, 2013, 11:04pm UTC](https://www.ruby-forum.com/t/re-volk-machine/237830 "2013-12-02T23:04:47Z")

</div>

Nick: I tried downsampling the 25MHz to 10, but still was not recording the whole time I ran (about 10 seconds, with only a couple seconds of playback). That was when I tried using a RAM disk, albeit at 50 downsampl…

---

## [Volk machine](https://www.ruby-forum.com/t/volk-machine/237692)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 2, 2013, 10:33pm UTC](https://www.ruby-forum.com/t/volk-machine/237692 "2013-12-02T22:33:12Z")

</div>

When running with a USRP source at 25M and a low pass filter down to 10MHz, I get something saying “Using Volk machine: sse4\_a\_64”, and my file sink only records a couple seconds of data. I ran the volk\_profile script…

---

## [Minitest / JRuby issue](https://www.ruby-forum.com/t/minitest-jruby-issue/237738)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 2, 2013, 10:26pm UTC](https://www.ruby-forum.com/t/minitest-jruby-issue/237738 "2013-12-02T22:26:11Z")

</div>

I’m trying to get the Sidekiq specs running green under JRuby 1.7.8 and I’m seeing a somewhat obscure error in a MiniTest (4.7.5) mock. I’m getting the following: Error: manager#test\_0002\_assigns work to a process…

---

## [Tork 19.5.1 - test with fork](https://www.ruby-forum.com/t/tork-19-5-1-test-with-fork/237828)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 9:19pm UTC](https://www.ruby-forum.com/t/tork-19-5-1-test-with-fork/237828 "2013-12-02T21:19:32Z")

</div>

Manuals: http://sunaku.github.io/tork Sources: GitHub - sunaku/tork: 💞 Tests your Ruby code, in parallel, as you change it Tork runs your tests as they change, in parallel: Absorbs test execution overhead into a mas…

---

## [Ngx\_http\_redis-0.3.7 released](https://www.ruby-forum.com/t/ngx-http-redis-0-3-7-released/237823)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 2, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/ngx-http-redis-0-3-7-released/237823 "2013-12-02T18:11:57Z")

</div>

ngx\_http\_redis module version 0.3.7 released, available for immediate download at http://people.freebsd.org/~osa/ngx\_http\_redis-0.3.7.tar.gz \*) Bugfix: ngx\_http\_redis\_module might issue the error message “redis sent …

---

## [Infinity Loop in background in html.erb - how?](https://www.ruby-forum.com/t/infinity-loop-in-background-in-html-erb-how/237822)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 3:30pm UTC](https://www.ruby-forum.com/t/infinity-loop-in-background-in-html-erb-how/237822 "2013-12-02T15:30:02Z")

</div>

How to make infinity loop in background? In my application.html.erb i want to make this endless:(get\_dialogs and the subscribe\_to) \<% user.get\_dialogs do |dialog| %\> \<%= subscribe\_to “/dialogs/#{dialog\[:id\]}” %\> \<%…

---

## [Fastcgi\_buffering and caching from FastCGI server](https://www.ruby-forum.com/t/fastcgi-buffering-and-caching-from-fastcgi-server/237816)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 2, 2013, 2:45pm UTC](https://www.ruby-forum.com/t/fastcgi-buffering-and-caching-from-fastcgi-server/237816 "2013-12-02T14:45:38Z")

</div>

Hi, devel team! Playing with caching responses from FCGI server I’ve found not documented issue. When fastcgi\_buffering is “off”, then fastcgi\_cache doesn’t work. Yes, this is logical completely, but I think would be …

---

## [Watir question](https://www.ruby-forum.com/t/watir-question/237813)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 16\
**Last updated:** [December 2, 2013, 1:35pm UTC](https://www.ruby-forum.com/t/watir-question/237813 "2013-12-02T13:35:13Z")

</div>

Is there anyway could I able to print the index of the current browser?

---

## [Dynamic request rate throttling](https://www.ruby-forum.com/t/dynamic-request-rate-throttling/237818)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 11:00am UTC](https://www.ruby-forum.com/t/dynamic-request-rate-throttling/237818 "2013-12-02T11:00:07Z")

</div>

Hello, I wish I could send a notification to nginx to dynamically limit the request rate per second. Say I use the request rate module, i would like to be able to override dynamically this setting. How would I do t…

---

## [Javascript and Ruby on rails](https://www.ruby-forum.com/t/javascript-and-ruby-on-rails/237810)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 2, 2013, 10:47am UTC](https://www.ruby-forum.com/t/javascript-and-ruby-on-rails/237810 "2013-12-02T10:47:51Z")

</div>

I’m learning on creating a website using Ruby on Rails (RoR). I had an HTML template that I created when I worked with JSP 2 years ago, and now I want to reuse it in my RoR website. This is HTML file \<body\> …

---

## [Re: Jruby complete and bundle](https://www.ruby-forum.com/t/re-jruby-complete-and-bundle/237814)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 2, 2013, 10:06am UTC](https://www.ruby-forum.com/t/re-jruby-complete-and-bundle/237814 "2013-12-02T10:06:57Z")

</div>

Hi, you should use jgem to install into a local folder (use the -i option). Then you should add the following into jruby-complete-1.7.8.jar (please respect the paths): bin/bundle\* into META-INF\\jruby.home\\bin ‘gems’…

---

## [Controller function - Length](https://www.ruby-forum.com/t/controller-function-length/237812)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 2, 2013, 8:38am UTC](https://www.ruby-forum.com/t/controller-function-length/237812 "2013-12-02T08:38:09Z")

</div>

Hi all, what you used to do when your controller function gets lengthy sometimes ? a way i found is just split the function. What is the real and Rails way to keep my code cleaner and maintainable. Thanks, Lekha.

---

## [Trouble with gr\_multiply\_const\_ff](https://www.ruby-forum.com/t/trouble-with-gr-multiply-const-ff/237776)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [December 2, 2013, 5:25am UTC](https://www.ruby-forum.com/t/trouble-with-gr-multiply-const-ff/237776 "2013-12-02T05:25:21Z")

</div>

Hi all, I’m working on the gen2\_reader project and got some trouble with the amp block. We use the gr\_multiply\_const\_ff to amplify the power of signal. amp = gr.multiply\_const\_ff(amplitude) tx = uhd.usrp\_sink(options…

---

## [\[ruby-trunk - Bug #8674\]\[Open\] \[patch\] unused-parameter warning in ruby/ruby.h](https://www.ruby-forum.com/t/ruby-trunk-bug-8674-open-patch-unused-parameter-warning-in-ruby-ruby-h/245842)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [December 2, 2013, 2:07am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8674-open-patch-unused-parameter-warning-in-ruby-ruby-h/245842 "2013-12-02T02:07:16Z")

</div>

Issue #8674 has been reported by Linda\_pp (R H). Bug #8674: \[patch\] unused-parameter warning in ruby/ruby.h Author: Linda\_pp (R H) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby…

---

## [Validation in Polymorphic association with validates\_associated](https://www.ruby-forum.com/t/validation-in-polymorphic-association-with-validates-associated/237809)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 1, 2013, 11:21pm UTC](https://www.ruby-forum.com/t/validation-in-polymorphic-association-with-validates-associated/237809 "2013-12-01T23:21:58Z")

</div>

Hi all, I have posted this on stackoverflow \<ruby on rails - Validation in Polymorphic association with validates\_associated - Stack Overflow .\>. I am having trouble validating and I just need someone guiding me to th…

---

## [How do I extract values from nested JSON?](https://www.ruby-forum.com/t/how-do-i-extract-values-from-nested-json/237800)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 1, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/how-do-i-extract-values-from-nested-json/237800 "2013-12-01T16:28:00Z")

</div>

After parsing some JSON: data = JSON.parse(data)\[‘info’\] puts data I get: \[ { “title”=\>“CEO”, “name”=\>“George”, “columns”=\>\[ { “display\_name”=\> “Salary”, “value”=\>“3.85”, } , { “display\_name”=\> “Bonus”, “v…

---

## [Checkbox problemi da rails 2 a 3](https://www.ruby-forum.com/t/checkbox-problemi-da-rails-2-a-3/237804)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 1, 2013, 4:00pm UTC](https://www.ruby-forum.com/t/checkbox-problemi-da-rails-2-a-3/237804 "2013-12-01T16:00:48Z")

</div>

Salve a tutti, non riesco a capire perché non riesco a far funzionare più il checkbox che nella versione Rails 2 funzionava perfettamente mentre nella 3 non funziona più. Nella mia vista modifica.html.erb accedo e mo…

---

## [Channel estimation project? (LS, dictionary based compressed sensing, matching pursuit, etc.)](https://www.ruby-forum.com/t/channel-estimation-project-ls-dictionary-based-compressed-sensing-matching-pursuit-etc/237806)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 1, 2013, 12:25pm UTC](https://www.ruby-forum.com/t/channel-estimation-project-ls-dictionary-based-compressed-sensing-matching-pursuit-etc/237806 "2013-12-01T12:25:59Z")

</div>

Dear All, Do you know any project related to channel estimation e.g., dictionary based compressed sensing, matching pursuit? Thanks in advance!

---

## [Quadrature\_demod losing weak signals](https://www.ruby-forum.com/t/quadrature-demod-losing-weak-signals/237796)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [December 1, 2013, 2:02am UTC](https://www.ruby-forum.com/t/quadrature-demod-losing-weak-signals/237796 "2013-12-01T02:02:43Z")

</div>

This seems like a bug, but I want to check first that I’m not having unreasonable expectations. I’m using GNU Radio 3.7.2. If the amplitude of the input to quadrature\_demod\_cf is less than about 10^(-2.23), then the o…

---

## [Tork 19.5.0 - test with fork](https://www.ruby-forum.com/t/tork-19-5-0-test-with-fork/237803)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 1, 2013, 12:21am UTC](https://www.ruby-forum.com/t/tork-19-5-0-test-with-fork/237803 "2013-12-01T00:21:40Z")

</div>

Manuals: http://sunaku.github.io/tork Sources: GitHub - sunaku/tork: 💞 Tests your Ruby code, in parallel, as you change it Tork runs your tests as they change, in parallel: Absorbs test execution overhead into a mas…

---

## [Need good tutorial on ActiveRecord associations](https://www.ruby-forum.com/t/need-good-tutorial-on-activerecord-associations/237801)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 30, 2013, 10:09pm UTC](https://www.ruby-forum.com/t/need-good-tutorial-on-activerecord-associations/237801 "2013-11-30T22:09:38Z")

</div>

Hi, I am very new to rails… I am having hard times to understand the ActiveRecord associations… I tried Active Record Associations — Ruby on Rails Guides … But it is not for beginners. :slight\_smile: Is there any go…

---

## [Select "columns" from multidimensional array?](https://www.ruby-forum.com/t/select-columns-from-multidimensional-array/225832)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 59\
**Last updated:** [November 30, 2013, 9:29pm UTC](https://www.ruby-forum.com/t/select-columns-from-multidimensional-array/225832 "2013-11-30T21:29:51Z")

</div>

There’s probably a simpler answer to this than the ways I’ve come up with. What’s the best way to select columns from a two-dimensional array? I build arrays to match excel-style formatting, like this but larger: a …

---

## [Detecting internal GPSDO not found on first connection](https://www.ruby-forum.com/t/detecting-internal-gpsdo-not-found-on-first-connection/237798)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 30, 2013, 8:18pm UTC](https://www.ruby-forum.com/t/detecting-internal-gpsdo-not-found-on-first-connection/237798 "2013-11-30T20:18:04Z")

</div>

Dear All, my device: USRP N200 System: Ubuntu 13.04 I always get this on first connections (the next ones are okay): $ uhd\_usrp\_probe linux; GNU C++ version 4.7.3; Boost\_105300; UHD\_003.006.000-0-g7788c692 – Openi…

---

## [Why not adopt "Python Style" indentation for Ruby?](https://www.ruby-forum.com/t/why-not-adopt-python-style-indentation-for-ruby/104458)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 142\
**Last updated:** [November 30, 2013, 7:13pm UTC](https://www.ruby-forum.com/t/why-not-adopt-python-style-indentation-for-ruby/104458 "2013-11-30T19:13:48Z")

</div>

As far as I can see, the ‘end’ keyword is ‘repeating yourself’ when used with properly indented code. class Foo def bar(value) if value \< 7 puts “hello” else puts “world” end end def foobar puts “foobar” end …

---

## [Vendo The Rails 3 Way 3a edicion - Obie Fernández 20€](https://www.ruby-forum.com/t/vendo-the-rails-3-way-3a-edicion-obie-fernandez-20/237799)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 30, 2013, 5:55pm UTC](https://www.ruby-forum.com/t/vendo-the-rails-3-way-3a-edicion-obie-fernandez-20/237799 "2013-11-30T17:55:22Z")

</div>

Hola, Vendo libro The Rails 3 way the Obie F. 3a edición. El libro está nuevo, sin usar, y lo vendo ya que canviaron mis perspectivas laborales y ahora no lo necesito. Está considerado la guía básica de todo programa…

---

## [How to remove blank lines using nokogiri?](https://www.ruby-forum.com/t/how-to-remove-blank-lines-using-nokogiri/237662)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 30, 2013, 3:22pm UTC](https://www.ruby-forum.com/t/how-to-remove-blank-lines-using-nokogiri/237662 "2013-11-30T15:22:47Z")

</div>

require ‘nokogiri’ class Nokogiri::XML::Document def remove\_empty\_lines! self.xpath("//text()").each { |txt| txt.content = txt.content.gsub(/\\n\\s\*\\n/,"\\n") };self end end doc = Nokogiri::XML.parse \<\<-eot \<random\_…

---

## [Form data not uploading to sqlite database](https://www.ruby-forum.com/t/form-data-not-uploading-to-sqlite-database/237792)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 30, 2013, 12:25pm UTC](https://www.ruby-forum.com/t/form-data-not-uploading-to-sqlite-database/237792 "2013-11-30T12:25:28Z")

</div>

Hi, I created a simple form using form\_for and partials. When I enter a value in text field and click on add button, the data doesn’t get uploaded in database table. view/task.html.erb \<%= render :partial =\> “job\_f…

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

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