# Latest

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

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

---

## [Performance problem generating URL for thousands of images, due to hitting HDD for each one](https://www.ruby-forum.com/t/performance-problem-generating-url-for-thousands-of-images-due-to-hitting-hdd-for-each-one/236623)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 7:23pm UTC](https://www.ruby-forum.com/t/performance-problem-generating-url-for-thousands-of-images-due-to-hitting-hdd-for-each-one/236623 "2013-09-19T19:23:43Z")

</div>

Hi, I have a model where I’m using Carrierwave to let users upload their avatars. I have one version for the avatar, cropped to a square called “cropped”. class User mount\_uploader :avatar, AvatarUploader end clas…

---

## [\[Backport 200 - Backport #8927\]\[Assigned\] backport r42980 (fix source\_location of lambda)](https://www.ruby-forum.com/t/backport-200-backport-8927-assigned-backport-r42980-fix-source-location-of-lambda/236621)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 7:14pm UTC](https://www.ruby-forum.com/t/backport-200-backport-8927-assigned-backport-r42980-fix-source-location-of-lambda/236621 "2013-09-19T19:14:56Z")

</div>

Issue #8927 has been reported by nagachika (Tomoyuki C.). Backport #8927: backport r42980 (fix source\_location of lambda) Author: nagachika (Tomoyuki C.) Status: Assigned Priority: Normal Assignee: nagachika (Tomo…

---

## [Working example of rx\_ofdm and rx\_ofdm with Gnuradio Companion](https://www.ruby-forum.com/t/working-example-of-rx-ofdm-and-rx-ofdm-with-gnuradio-companion/236600)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 19, 2013, 6:52pm UTC](https://www.ruby-forum.com/t/working-example-of-rx-ofdm-and-rx-ofdm-with-gnuradio-companion/236600 "2013-09-19T18:52:09Z")

</div>

Hello All, Reviving an older discussion (from what I gather from the list archives). Does anyone have a working example of rx\_ofdm.grc and tx\_ofdm.grc? Or in the minimum, a working example of rx\_ofdm.grc that plays w…

---

## [USRP Clipping?](https://www.ruby-forum.com/t/usrp-clipping/236618)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [September 19, 2013, 6:41pm UTC](https://www.ruby-forum.com/t/usrp-clipping/236618 "2013-09-19T18:41:38Z")

</div>

I am using N210 USRP’s with WBX daughtercards connected with a loopback kit implementing a 8-PSK waveform. When I start transmitting, I get a clean constellation. After a short time however (~5 sec) it appears that th…

---

## [Runtime issue with gr\_modtool block](https://www.ruby-forum.com/t/runtime-issue-with-gr-modtool-block/236556)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 19, 2013, 6:30pm UTC](https://www.ruby-forum.com/t/runtime-issue-with-gr-modtool-block/236556 "2013-09-19T18:30:31Z")

</div>

Dear List, I recently moved a custom block to a new virtual machine, built and compiled, and tried to import. I get the following error: import router Traceback (most recent call last): File “”, line 1, in File …

---

## [Developer's Call today at 1 Eastern](https://www.ruby-forum.com/t/developers-call-today-at-1-eastern/236620)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 6:27pm UTC](https://www.ruby-forum.com/t/developers-call-today-at-1-eastern/236620 "2013-09-19T18:27:36Z")

</div>

Hi everyone, September’s developer’s call starts in just over 30 minutes. Remember, to avoid confusion, do not start your own hangout. We will initiate the public hangout, you will be able to join it by going to the …

---

## [Oracle error](https://www.ruby-forum.com/t/oracle-error/236601)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 19, 2013, 6:20pm UTC](https://www.ruby-forum.com/t/oracle-error/236601 "2013-09-19T18:20:34Z")

</div>

I got this error when trying to connect to the database: C:/test/Ruby/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:in \`require’: OCI.DLL: 193(%1 is not a valid Win32 application. ) (LoadError) what…

---

## [Extracting Gem Through Ruby Code](https://www.ruby-forum.com/t/extracting-gem-through-ruby-code/246268)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 4:47pm UTC](https://www.ruby-forum.com/t/extracting-gem-through-ruby-code/246268 "2013-09-19T16:47:35Z")

</div>

When I attempt to install rails (or any gem)i get ERROR could not find a valid gem xxxx ()=0 here is why: Unable to download data from https://rubygems.org/- to many connection resets (url of gem) Is there a way to ex…

---

## [Usrp source & gr.file\_sink](https://www.ruby-forum.com/t/usrp-source-gr-file-sink/236617)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 4:24pm UTC](https://www.ruby-forum.com/t/usrp-source-gr-file-sink/236617 "2013-09-19T16:24:03Z")

</div>

Hi everybody! I’m trying to collect data from usrp using gr.file\_sink(gr.sizeof\_gr\_complex,“filename”) but I’ve some difficulty. In my top block there is a trasmitter section that ends with an usrp\_sink, and a receiv…

---

## [IMAP retrieve messages marked for deletion](https://www.ruby-forum.com/t/imap-retrieve-messages-marked-for-deletion/236612)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 3:35pm UTC](https://www.ruby-forum.com/t/imap-retrieve-messages-marked-for-deletion/236612 "2013-09-19T15:35:20Z")

</div>

I need to retrieve messages marked for deletion but non expunged yet, I’ve searched documentation but not found any mode. Tried to fetch FLAGS, but with: imap.uid\_fetch(data.attr\[‘UID’\], \[‘RFC822’, ‘FLAGS’, ‘INTERNALD…

---

## [Overriding view page in core module through rails plugin](https://www.ruby-forum.com/t/overriding-view-page-in-core-module-through-rails-plugin/236588)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [September 19, 2013, 3:25pm UTC](https://www.ruby-forum.com/t/overriding-view-page-in-core-module-through-rails-plugin/236588 "2013-09-19T15:25:13Z")

</div>

Hi, I have a rails2.3 application and I have a requirement to override one of the view in the core module through plugin. In the core module view page, there is a text area to type the message. Now the requirement is …

---

## [Send data in fragments with nginx!](https://www.ruby-forum.com/t/send-data-in-fragments-with-nginx/236609)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 2:27pm UTC](https://www.ruby-forum.com/t/send-data-in-fragments-with-nginx/236609 "2013-09-19T14:27:57Z")

</div>

Hello, We're using video streaming site with nginx and most of the users download videos via IDM(Internet Download Manager). We want to prevent this downloading by sending videos into fragments so IDM will not be …

---

## [JOBS - Sr. Ruby on Rails Engineer @ Austin, TX](https://www.ruby-forum.com/t/jobs-sr-ruby-on-rails-engineer-austin-tx/236614)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 2:23pm UTC](https://www.ruby-forum.com/t/jobs-sr-ruby-on-rails-engineer-austin-tx/236614 "2013-09-19T14:23:17Z")

</div>

Hi All, My name is Zafar. I am a Recruiter with ICONMA. ICONMA has been in the IT Staffing industry for over 12 years. We are Direct & preferred vendors to several Fortune 100 & 500 companies. I would like to bring…

---

## [Deleting model using optimistic locking results in ActiveRecord::StaleObjectError](https://www.ruby-forum.com/t/deleting-model-using-optimistic-locking-results-in-activerecord-staleobjecterror/229651)

<div class="topic-metadata">

**Author:** [@coriordan](https://www.ruby-forum.com/u/coriordan)\
**Replies:** 2\
**Last updated:** [September 19, 2013, 2:23pm UTC](https://www.ruby-forum.com/t/deleting-model-using-optimistic-locking-results-in-activerecord-staleobjecterror/229651 "2013-09-19T14:23:17Z")

</div>

Hi, I have a model defined like so: class Course \< ActiveRecord::Base has\_many :attendances, :dependent =\> :destroy has\_many :attendees, :through =\> :attendances, :source =\> :user … when I attempt to delete a Cours…

---

## [Root inside Location Block? Pitfalls says NO, Beginner’s Guide says YES](https://www.ruby-forum.com/t/root-inside-location-block-pitfalls-says-no-beginner-s-guide-says-yes/246259)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 19, 2013, 2:20pm UTC](https://www.ruby-forum.com/t/root-inside-location-block-pitfalls-says-no-beginner-s-guide-says-yes/246259 "2013-09-19T14:20:56Z")

</div>

Practically the first two pages I read when starting with nginx were: which says “putting Root inside Location Block is BAD” - don’t do it. and http://nginx.org/en/docs/beginners\_guide.html which gives this as its …

---

## [XML parsing, ISO8859-1 & UTF-8](https://www.ruby-forum.com/t/xml-parsing-iso8859-1-utf-8/236599)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 19, 2013, 1:14pm UTC](https://www.ruby-forum.com/t/xml-parsing-iso8859-1-utf-8/236599 "2013-09-19T13:14:53Z")

</div>

Hello, I have to use the information in a webservice which look like this : \<?xml version="1.0" encoding="utf-8"?\> \<?xml version="1.0" encoding="iso-8859-1"?\> \<Name\>Test\_Name\</Name\> The problem is the two different e…

---

## [Fedora 19 performs poorly](https://www.ruby-forum.com/t/fedora-19-performs-poorly/246232)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 19, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/fedora-19-performs-poorly/246232 "2013-09-19T13:09:02Z")

</div>

Note: same message also posted in -ru list I’m trying to migrate from Fedora 14 (2.6.35.14-97.fc14.x86\_64) to Fedora 19 (3.10.11-200.fc19.x86\_64) worker\_processes 40; events { worker\_connections 8000; use epoll; …

---

## [HTTP\_X\_FORWARDED\_FOR being truncated/prefixed with a comma and no IP for some requests](https://www.ruby-forum.com/t/http-x-forwarded-for-being-truncated-prefixed-with-a-comma-and-no-ip-for-some-requests/246240)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [September 19, 2013, 12:36pm UTC](https://www.ruby-forum.com/t/http-x-forwarded-for-being-truncated-prefixed-with-a-comma-and-no-ip-for-some-requests/246240 "2013-09-19T12:36:53Z")

</div>

Hi - I have confirmed an unusual situation in which it appears the leading address is being stripped from x-forwarded-for headers passed on to downstream hosts (running Apache in this case) on very specific requests.…

---

## [Timeout serving large requests](https://www.ruby-forum.com/t/timeout-serving-large-requests/229702)

<div class="topic-metadata">

**Author:** [@BrindleFly](https://www.ruby-forum.com/u/BrindleFly)\
**Replies:** 13\
**Last updated:** [September 19, 2013, 11:54am UTC](https://www.ruby-forum.com/t/timeout-serving-large-requests/229702 "2013-09-19T11:54:14Z")

</div>

I’m struggling to find the source of a timeout. I am running Nginx (1.2.6), Passenger 3.0.18, and Rails 3.2.11. On serving one long running request, I find the results (CSV file) truncated after being returned from t…

---

## [Problem with change Model url for rails\_admin](https://www.ruby-forum.com/t/problem-with-change-model-url-for-rails-admin/236606)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 11:03am UTC](https://www.ruby-forum.com/t/problem-with-change-model-url-for-rails-admin/236606 "2013-09-19T11:03:59Z")

</div>

i wont to change url name of model in rails\_admin example i have model Help and \*url : /admin/help/ \* now i wont to change name of url to “/admin/customerHelp” so how can it be posible to change in rails\_admin.

---

## [How to get rid of 204 Intercepted requests of IDM?](https://www.ruby-forum.com/t/how-to-get-rid-of-204-intercepted-requests-of-idm/236594)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [September 19, 2013, 9:18am UTC](https://www.ruby-forum.com/t/how-to-get-rid-of-204-intercepted-requests-of-idm/236594 "2013-09-19T09:18:48Z")

</div>

Hello, We're running a video streaming website with nginx for streaming videos. The issue we’re having is, whenever user try to stream any mp4 or flv file from our site using chrome, IDM(Internet Download Mana…

---

## [Mandrill mail problem](https://www.ruby-forum.com/t/mandrill-mail-problem/236528)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 19, 2013, 8:32am UTC](https://www.ruby-forum.com/t/mandrill-mail-problem/236528 "2013-09-19T08:32:03Z")

</div>

Hello All, I am trying to use Mandrill api in my rails app. I am getting this error every time:- Net::SMTPServerBusy (401 4.1.7 Bad sender address syntax) I am using Ruby - 1.9.3, rails - 3.2.8, Thin server, & Ubuntu…

---

## [Devise - to change the default column names used in devise](https://www.ruby-forum.com/t/devise-to-change-the-default-column-names-used-in-devise/236607)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 7:08am UTC](https://www.ruby-forum.com/t/devise-to-change-the-default-column-names-used-in-devise/236607 "2013-09-19T07:08:54Z")

</div>

Hi I am using devise for existing application. Do any possibilities there to change the column names used in default in devise like email and encrypted\_password.Since I have mentioned the user columns as email\_addres…

---

## [HTTP library for Ruby with HTTPS, SSL Client Certificate and Keep-Alive support?](https://www.ruby-forum.com/t/http-library-for-ruby-with-https-ssl-client-certificate-and-keep-alive-support/236604)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 7:06am UTC](https://www.ruby-forum.com/t/http-library-for-ruby-with-https-ssl-client-certificate-and-keep-alive-support/236604 "2013-09-19T07:06:58Z")

</div>

Hi All, I’m trying to write an HTTPS client in Ruby. It will connect to the server using HTTPS, passing an authentication token (obtained through a separate login process) and an SSL client certificate. I’m doing the…

---

## [Unable to use net-ssh with jruby 1.7.4](https://www.ruby-forum.com/t/unable-to-use-net-ssh-with-jruby-1-7-4/236605)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 6:58am UTC](https://www.ruby-forum.com/t/unable-to-use-net-ssh-with-jruby-1-7-4/236605 "2013-09-19T06:58:33Z")

</div>

I just got jruby-1.7.4. Here are the gems installed on my machine \*\*\* LOCAL GEMS \*\*\* bouncy-castle-java (1.5.0146.1) bundler (1.2.4) jruby-launcher (1.0.15 java) jruby-openssl (0.8.2) net-ssh (2.7.0) rake (10.0.3) …

---

## [Writing Data](https://www.ruby-forum.com/t/writing-data/246182)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 19, 2013, 6:17am UTC](https://www.ruby-forum.com/t/writing-data/246182 "2013-09-19T06:17:19Z")

</div>

Hi, I am using roo gem for reading data from open office, But I don’t have any other way to write the data into openoffice. Anyone knows any way how to write the data into openoffice? Is there any other gem could I u…

---

## [Re: About setting the GRC block properties](https://www.ruby-forum.com/t/re-about-setting-the-grc-block-properties/246265)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 2:09am UTC](https://www.ruby-forum.com/t/re-about-setting-the-grc-block-properties/246265 "2013-09-19T02:09:50Z")

</div>

Good afternoon, Anyone had been making those blocks and letting it running successfully before? Can you leave some advice or message? Thanks

---

## [Limit IP req/s excl bots](https://www.ruby-forum.com/t/limit-ip-req-s-excl-bots/236597)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [September 19, 2013, 2:01am UTC](https://www.ruby-forum.com/t/limit-ip-req-s-excl-bots/236597 "2013-09-19T02:01:04Z")

</div>

Does anyone know if there is any truth to this blog post: And if so where about in the code its implemented? I was trying to find out if its possible to use a map to control limit req/s limits but I still cant find…

---

## [Problem with Rails assets:precompile on 7u40](https://www.ruby-forum.com/t/problem-with-rails-assets-precompile-on-7u40/246216)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 18, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/problem-with-rails-assets-precompile-on-7u40/246216 "2013-09-18T22:18:28Z")

</div>

Hi I’m having problems running rake RAILS\_ENV=production RAILS\_GROUPS=assets assets:precompile with the following exception: This is with Rails 3.2.13, JRuby 1.7.4 on Ubuntu 12.04LTS and Oracle Java 7u40. The same…

---

## [Issues with usrp\_spectrum\_sense.py and B100](https://www.ruby-forum.com/t/issues-with-usrp-spectrum-sense-py-and-b100/246248)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 18, 2013, 9:25pm UTC](https://www.ruby-forum.com/t/issues-with-usrp-spectrum-sense-py-and-b100/246248 "2013-09-18T21:25:52Z")

</div>

I am having gnuradio version 3.6.5.1 which I installed 3 weeks back with build-gnuradio script. I am running usrp\_spectrum\_sense.py on B100 (Serial EDR13W5B1) When I run it it simply gets stuck and not responds to ctr…

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

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