# Latest

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

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

---

## [Data transfer](https://www.ruby-forum.com/t/data-transfer/245836)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 22, 2013, 9:10am UTC](https://www.ruby-forum.com/t/data-transfer/245836 "2013-07-22T09:10:09Z")

</div>

when i am trying to transfer data within the laptop , i am able to do it. but i could not achieve the same using usrp. my machine is detecting usrp properly. pls help… also if i can get a flowgraph for data transfer …

---

## [Out of office vom 22.-26.7](https://www.ruby-forum.com/t/out-of-office-vom-22-26-7/235879)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 22, 2013, 6:29am UTC](https://www.ruby-forum.com/t/out-of-office-vom-22-26-7/235879 "2013-07-22T06:29:32Z")

</div>

Guten Tag, vielen Dank fr Ihre Nachricht. Ich bin vom 22. bis 26. Juli viel unterwegs und kann nur beschrnkt auf meine E-Mails zugreifen. Ich werde mich aber schnellstmglich bei Ihnen melden. Freundliche Gre, Michae…

---

## [Rails and vpn](https://www.ruby-forum.com/t/rails-and-vpn/235874)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 22, 2013, 6:23am UTC](https://www.ruby-forum.com/t/rails-and-vpn/235874 "2013-07-22T06:23:41Z")

</div>

Hi, I have a page on my rails website that should be accessible only via a vpn connection between my server and another one. Is it possible to check on controller this ? thanks

---

## [Help: System hanging up](https://www.ruby-forum.com/t/help-system-hanging-up/235878)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 22, 2013, 3:57am UTC](https://www.ruby-forum.com/t/help-system-hanging-up/235878 "2013-07-22T03:57:40Z")

</div>

I have project with a sine wave signal source, mixers, QAM de/modulators, etc. and have a couple of scope with multiple channels and a couple of WX GUI FFT sinks. I have a throttle on a scope input close to the front …

---

## [QT FFT GUI - 3.7 works differently than 3.6](https://www.ruby-forum.com/t/qt-fft-gui-3-7-works-differently-than-3-6/235876)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 22, 2013, 2:46am UTC](https://www.ruby-forum.com/t/qt-fft-gui-3-7-works-differently-than-3-6/235876 "2013-07-22T02:46:21Z")

</div>

I’ve used the QT GUI Sink in ver 3.6 with good results. In GRC 3.6 the Center Frequency (Hz) variable in the QT GUI Sink allows inputting a value or variable that is added to the X-axis value display when the Display …

---

## [Location recursive downloads php files](https://www.ruby-forum.com/t/location-recursive-downloads-php-files/235869)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 21, 2013, 10:17pm UTC](https://www.ruby-forum.com/t/location-recursive-downloads-php-files/235869 "2013-07-21T22:17:08Z")

</div>

I try to secure a specific folder and all files and subfolders with this location block: location ^~ /folder1/admin { auth\_basic "Login"; auth\_basic\_user\_file /var/www/domain.tld/www/folder1/admin/.htpasswd; …

---

## [Unsubscribe?](https://www.ruby-forum.com/t/unsubscribe/235873)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 10\
**Last updated:** [July 21, 2013, 6:45pm UTC](https://www.ruby-forum.com/t/unsubscribe/235873 "2013-07-21T18:45:40Z")

</div>

Hi all, Is the mailing list broken or something? I’ve tried unsubscribing but sending just a body of ‘unsubscribe’ to the controller doesn’t appear to work. Any ideas? Regards James M. Sent from my iPhone

---

## [Understating how assets in Rails 4 work in production](https://www.ruby-forum.com/t/understating-how-assets-in-rails-4-work-in-production/235870)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 21, 2013, 6:24pm UTC](https://www.ruby-forum.com/t/understating-how-assets-in-rails-4-work-in-production/235870 "2013-07-21T18:24:02Z")

</div>

When I run rake assets:precompile The compiled assets are written to pubic/assets: I, \[2013-07-21T02:16:00.987988 #13881\] INFO – : Writing /home/jpereira/dev/saleshub/public/assets/glyphicons-halflings-white-62b67d9…

---

## [Problem with rtl\_tcp](https://www.ruby-forum.com/t/problem-with-rtl-tcp/245863)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [July 21, 2013, 5:16pm UTC](https://www.ruby-forum.com/t/problem-with-rtl-tcp/245863 "2013-07-21T17:16:17Z")

</div>

I hope this is the correct ng for posting this question… I’ve a big problem with rtl\_tcp: I’ve tryed with a clean ubuntu installation too… I’ve no more ideas… Any suggestion?

---

## [Rvm su macchina virtuale bitnami](https://www.ruby-forum.com/t/rvm-su-macchina-virtuale-bitnami/235865)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 21, 2013, 4:05pm UTC](https://www.ruby-forum.com/t/rvm-su-macchina-virtuale-bitnami/235865 "2013-07-21T16:05:33Z")

</div>

ciao a tutti, sto installando delle differenti versioni di ruby su una macchina virtuale bitnami con stack ruby. accedo alla ruby console come da documentazione ufficiale: sudo /opt/bitnami/rubyconsole installo la v…

---

## [Ruby Debugger](https://www.ruby-forum.com/t/ruby-debugger/245812)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [July 21, 2013, 1:52pm UTC](https://www.ruby-forum.com/t/ruby-debugger/245812 "2013-07-21T13:52:57Z")

</div>

Could anybody recommend me a good Ruby Debugger. Preferably one that works in vim. I really like gdbtui for C programming, it saves me hours of time, otherwise debugging using printf statements takes up so much time. …

---

## [Closing a socket while another thread is in an IO.select() call on it](https://www.ruby-forum.com/t/closing-a-socket-while-another-thread-is-in-an-io-select-call-on-it/235774)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 21, 2013, 11:24am UTC](https://www.ruby-forum.com/t/closing-a-socket-while-another-thread-is-in-an-io-select-call-on-it/235774 "2013-07-21T11:24:00Z")

</div>

Hello Rubyists, I have a program that opens a TCPSocket, connects it to a server, and then creates a thread which loops until the socket closes, reading from the socket and processing the data read. It calls IO.select…

---

## [How to create Categories in Rails](https://www.ruby-forum.com/t/how-to-create-categories-in-rails/245831)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [July 21, 2013, 9:38am UTC](https://www.ruby-forum.com/t/how-to-create-categories-in-rails/245831 "2013-07-21T09:38:43Z")

</div>

Hey Ruby on Rails Community i’m trying to Add Categories to my Rails app, but don’t quite know how to do this. I have many Pins(Images) and want the user to be able to assign a category on those Pins. ASSIGN not crea…

---

## [How to redirect to a specific page?](https://www.ruby-forum.com/t/how-to-redirect-to-a-specific-page/245862)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 21, 2013, 8:48am UTC](https://www.ruby-forum.com/t/how-to-redirect-to-a-specific-page/245862 "2013-07-21T08:48:36Z")

</div>

I have Rails version 2.3.8.I am using Netbeans 6.9.1 as IDE. I want to redirect localhost:3000 to a specific page. i opened routes.rb file and uncommented the line map.root :controller =\> “Welcome” I created a contro…

---

## [Nginx Cache Config with Multiple Disk Drives](https://www.ruby-forum.com/t/nginx-cache-config-with-multiple-disk-drives/235855)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 21, 2013, 2:22am UTC](https://www.ruby-forum.com/t/nginx-cache-config-with-multiple-disk-drives/235855 "2013-07-21T02:22:28Z")

</div>

Hi, I am looking for guidance on how best to configure Nginx Proxy Cache in a multi-disk drive environment. Our typical server setup is such that each drive is its own partition, for example, if we have a 10 drive se…

---

## [GRCon12 Videos](https://www.ruby-forum.com/t/grcon12-videos/235867)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 20, 2013, 10:07pm UTC](https://www.ruby-forum.com/t/grcon12-videos/235867 "2013-07-20T22:07:19Z")

</div>

Hi everyone, I’ve finally started editing, cutting, and posting the videos from last year’s GRCon12 to Youtube. Only the presentations from day 1 of the conference are live right now. I will post individual links to …

---

## [Gnuradio 3.6.x recipe for pybombs?](https://www.ruby-forum.com/t/gnuradio-3-6-x-recipe-for-pybombs/235853)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 20, 2013, 9:15pm UTC](https://www.ruby-forum.com/t/gnuradio-3-6-x-recipe-for-pybombs/235853 "2013-07-20T21:15:21Z")

</div>

Has anyone a recipe for installing the 3.6-branch via pybombs ? I need a 3.6 parallel installation on my system, because many old projects are not working “out of the box” in 3.7.x. Even many of the projects reference…

---

## [Can I add frequency offset at sender in ofdm example](https://www.ruby-forum.com/t/can-i-add-frequency-offset-at-sender-in-ofdm-example/235866)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 20, 2013, 7:21pm UTC](https://www.ruby-forum.com/t/can-i-add-frequency-offset-at-sender-in-ofdm-example/235866 "2013-07-20T19:21:26Z")

</div>

Hi, guys Thanks in advance. I plan to do a experiment in usrp that intentionally adding some frequency offset in data symbol before transmission. Is that feasible to implement it in gnuradio? Which block should I mod…

---

## [How to catch the mocked infinite loop behavior and handle it with a rescue block using RSpec](https://www.ruby-forum.com/t/how-to-catch-the-mocked-infinite-loop-behavior-and-handle-it-with-a-rescue-block-using-rspec/235868)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 20, 2013, 7:19pm UTC](https://www.ruby-forum.com/t/how-to-catch-the-mocked-infinite-loop-behavior-and-handle-it-with-a-rescue-block-using-rspec/235868 "2013-07-20T19:19:37Z")

</div>

I have a Book Model which is a ruby script that assigns prices to certain predefined Book titles mentioned in the program. I’m using Ruby 1.9.3-p327 and rspec 2.11.0 #class RspecLoopStop \< Exception; end class Book …

---

## [Video streaming through gr-extras tuntap in pre-cog](https://www.ruby-forum.com/t/video-streaming-through-gr-extras-tuntap-in-pre-cog/245823)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 20, 2013, 6:30pm UTC](https://www.ruby-forum.com/t/video-streaming-through-gr-extras-tuntap-in-pre-cog/245823 "2013-07-20T18:30:02Z")

</div>

Hi I am trying to stream a VLC video stream to the gr-extras tuntap device. I have modified the simple\_trx demo to include tuntap device and run the flow graph as a root. I assign the tap device the required ip addre…

---

## [Multiple select issue with a HABTM relationship using Rails 4](https://www.ruby-forum.com/t/multiple-select-issue-with-a-habtm-relationship-using-rails-4/235861)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 20, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/multiple-select-issue-with-a-habtm-relationship-using-rails-4/235861 "2013-07-20T16:28:31Z")

</div>

Although the code seems to be right, when I try to send the form, the values of the multiple select aren’t being sent.If I just remove the multiple option, everything works as expected considering just one value, but…

---

## [RSpec2 error codes testing](https://www.ruby-forum.com/t/rspec2-error-codes-testing/235863)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 20, 2013, 2:20pm UTC](https://www.ruby-forum.com/t/rspec2-error-codes-testing/235863 "2013-07-20T14:20:02Z")

</div>

I have an issue with testing error codes. If a record is not found, it raises exception ActiveRecord::RecordNotFound. The thing is, I wanna check if 404 is returned. If I go ahead and just check : response.status.shou…

---

## [How to use twitter bootstrap](https://www.ruby-forum.com/t/how-to-use-twitter-bootstrap/235860)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 20, 2013, 1:25pm UTC](https://www.ruby-forum.com/t/how-to-use-twitter-bootstrap/235860 "2013-07-20T13:25:06Z")

</div>

Hi, I have a Ruby 1.9.3p194 and Rails 4.0.0, Can i used twitter-bootstrap for designing with these version, Or it is compatible with these version, also tell me how to make rails application using twitter bootstrap…

---

## [Integrate jquery Grantt with my app in rails](https://www.ruby-forum.com/t/integrate-jquery-grantt-with-my-app-in-rails/235862)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 20, 2013, 1:01pm UTC](https://www.ruby-forum.com/t/integrate-jquery-grantt-with-my-app-in-rails/235862 "2013-07-20T13:01:44Z")

</div>

Hi! I made a app in rails and have registed somethings… i would integrate jquery grantt with my app in rails. Its is the project jqueryGrantt, he generate a json. I think that i could build a JSON with rails and in…

---

## [RSpec can't define singleton error when trying to mock gets and puts for Hash Elements](https://www.ruby-forum.com/t/rspec-cant-define-singleton-error-when-trying-to-mock-gets-and-puts-for-hash-elements/245878)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 20, 2013, 11:50am UTC](https://www.ruby-forum.com/t/rspec-cant-define-singleton-error-when-trying-to-mock-gets-and-puts-for-hash-elements/245878 "2013-07-20T11:50:21Z")

</div>

I have a Book Model which is a ruby script that assigns prices to certain predefined Book titles mentioned in the program. Here’s how the book model looks:- class Book attr\_accessor :books def initialize books …

---

## [Data transfer through Pre-cog](https://www.ruby-forum.com/t/data-transfer-through-pre-cog/235858)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 20, 2013, 10:22am UTC](https://www.ruby-forum.com/t/data-transfer-through-pre-cog/235858 "2013-07-20T10:22:50Z")

</div>

Hi I am trying from the past week to use the pre-cog library for data transfer between two USRP N210 devices. I have tried a number of configurations by replacing many blocks and modifying the Python code. I managed…

---

## [Configuring extras:tun/tap on ubuntu 12.04](https://www.ruby-forum.com/t/configuring-extras-tun-tap-on-ubuntu-12-04/235857)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 20, 2013, 6:37am UTC](https://www.ruby-forum.com/t/configuring-extras-tun-tap-on-ubuntu-12-04/235857 "2013-07-20T06:37:19Z")

</div>

Hi I have a problem with configuring the gr0 interface for gnuradio on ubuntu 12.04. The command $sudo ifconfig gr0 192.168.200.1 does not work and return back error of SIOCSIFADDR: No such device gr0: ERROR while…

---

## [Normalize dates taht are entered in more then one way](https://www.ruby-forum.com/t/normalize-dates-taht-are-entered-in-more-then-one-way/235845)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 20, 2013, 3:45am UTC](https://www.ruby-forum.com/t/normalize-dates-taht-are-entered-in-more-then-one-way/235845 "2013-07-20T03:45:00Z")

</div>

Hi all, I’m looking for a function, gem, etc. that will help to unify dates as they come in different formats. If the date comes in (1/2/2012,2012-01-02,01-02-2012,20120102,01022012, etc.) it would be nice to have …

---

## [Delayed job in Rails 4](https://www.ruby-forum.com/t/delayed-job-in-rails-4/235683)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [July 19, 2013, 11:19pm UTC](https://www.ruby-forum.com/t/delayed-job-in-rails-4/235683 "2013-07-19T23:19:46Z")

</div>

Hello People, One of my application being developed in Rails 4 needs delayed job, but for some reason when I add this gem GitHub - collectiveidea/delayed\_job: Database based asynchronous priority queue system -- Extra…

---

## [Out of memory error with file IO expected?](https://www.ruby-forum.com/t/out-of-memory-error-with-file-io-expected/235854)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 19, 2013, 10:23pm UTC](https://www.ruby-forum.com/t/out-of-memory-error-with-file-io-expected/235854 "2013-07-19T22:23:39Z")

</div>

Hello, I noticed when running this code, with 1.7.4: 100.times { Thread.new { loop { File.open(‘big’, ‘w’) do |f| f.seek 10\_000\_000\_000; f.puts ‘a’; end}}} after awhile, I got this failure in all threads. Perhaps the …

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

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