# Latest

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

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

---

## [If statement not working](https://www.ruby-forum.com/t/if-statement-not-working/236239)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [August 18, 2013, 5:47pm UTC](https://www.ruby-forum.com/t/if-statement-not-working/236239 "2013-08-18T17:47:48Z")

</div>

Ok so i am trying to get my if statement to work but my console keeps closing out and i don’t know how to keep it open other than using gets which doesn’t seem to work when there’s an error, the c++ equivalent of keep…

---

## [Problems installing Gnuradio 3.7](https://www.ruby-forum.com/t/problems-installing-gnuradio-3-7/246029)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 18, 2013, 5:38pm UTC](https://www.ruby-forum.com/t/problems-installing-gnuradio-3-7/246029 "2013-08-18T17:38:22Z")

</div>

I am trying without success to install 3.7 using Marcus’s build-gnuradio script and getting errors related to ice and ‘upcast’ not declared here. Anyone know a way to fix this. By the way, I have also tried pybombs an…

---

## [Nginx Web Server Q3 survey](https://www.ruby-forum.com/t/nginx-web-server-q3-survey/246059)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 18, 2013, 4:31pm UTC](https://www.ruby-forum.com/t/nginx-web-server-q3-survey/246059 "2013-08-18T16:31:52Z")

</div>

Hi everyone! I would like to ask for 5 minutes of your time and participate in a survey that is intended to monitor current trends in Nginx community and suggest improvements to Nginx. To participate just visit this …

---

## [Method\_missing not working in RoR 3.1.1 & Ruby 1.9.2p290?](https://www.ruby-forum.com/t/method-missing-not-working-in-ror-3-1-1-ruby-1-9-2p290/215181)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 18, 2013, 11:19am UTC](https://www.ruby-forum.com/t/method-missing-not-working-in-ror-3-1-1-ruby-1-9-2p290/215181 "2013-08-18T11:19:56Z")

</div>

I am porting a Rails 2.3.8 app (ruby 1.8.7 (2010-01-10 patchlevel 249) \[i386-mingw32\]) to Rails 3.1.1 Ruby 1.9.2p290 In the 2.4.8 app a method\_missing is being called correctly. It’s a ghost method. In Rails 3.1.1 R…

---

## [Strange rake test issue on rails 2.4 to 3.0.20 upgrade](https://www.ruby-forum.com/t/strange-rake-test-issue-on-rails-2-4-to-3-0-20-upgrade/236248)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 18, 2013, 11:19am UTC](https://www.ruby-forum.com/t/strange-rake-test-issue-on-rails-2-4-to-3-0-20-upgrade/236248 "2013-08-18T11:19:20Z")

</div>

Hi all ! I’m currently upgrading a huge app from Rails 2.4 to 3.0.20 and I’m running on Ruby 1.9.3-p448 The switch have been done with success except for the tests. I’ve a strange issue and I’m not able to fix it :f…

---

## [Trouble building nginx from dotdeb](https://www.ruby-forum.com/t/trouble-building-nginx-from-dotdeb/236245)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 18, 2013, 9:59am UTC](https://www.ruby-forum.com/t/trouble-building-nginx-from-dotdeb/236245 "2013-08-18T09:59:54Z")

</div>

I’m trying to follow this tutorial: to build nginx with ngx\_pagespeed on a Debian Wheezy machine. Unfortunately so far I have been using nginx from dotdeb so I’m trying to use their sources. The error occurs when …

---

## [\[ruby-trunk - Bug #5808\]\[Open\] "a = \[\]; a \<\< a; puts JSON.dump(a)" aborted](https://www.ruby-forum.com/t/ruby-trunk-bug-5808-open-a-a-a-puts-json-dump-a-aborted/215187)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 18, 2013, 9:37am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5808-open-a-a-a-puts-json-dump-a-aborted/215187 "2013-08-18T09:37:41Z")

</div>

Issue #5808 has been reported by Akira T… Bug #5808: “a = \[\]; a \<\< a; puts JSON.dump(a)” aborted Author: Akira T. Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2011-1…

---

## [Line break retention in simple\_format](https://www.ruby-forum.com/t/line-break-retention-in-simple-format/246017)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 18, 2013, 3:54am UTC](https://www.ruby-forum.com/t/line-break-retention-in-simple-format/246017 "2013-08-18T03:54:10Z")

</div>

There are quite a lot of line break issues with Rails on StackOverflow and the web in general. A lot of solutions are ugly and a lot modify simple\_format so I’ve created a patch that I’d like to hear thoughts on befo…

---

## [Rails not loading precompiled assets](https://www.ruby-forum.com/t/rails-not-loading-precompiled-assets/246019)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 18, 2013, 3:45am UTC](https://www.ruby-forum.com/t/rails-not-loading-precompiled-assets/246019 "2013-08-18T03:45:29Z")

</div>

I’ve just launched my first app, its running on Nginx and Unicorn. For some reason although I precompiled the assets, they’re not showing in the browser. Its showing all the css and js files instead of the precompile…

---

## [Flush temp directory](https://www.ruby-forum.com/t/flush-temp-directory/236203)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 18, 2013, 2:54am UTC](https://www.ruby-forum.com/t/flush-temp-directory/236203 "2013-08-18T02:54:40Z")

</div>

Hi All, I am trying to test accelerated upload on nginx/php-fpm/php-cgi setup and comparing different scenarios e.g one where /temp is a tmpfs, one where it is a disk partition and you will also notice where in i te…

---

## [Email failure messages](https://www.ruby-forum.com/t/email-failure-messages/236230)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 17, 2013, 11:52pm UTC](https://www.ruby-forum.com/t/email-failure-messages/236230 "2013-08-17T23:52:23Z")

</div>

Anyone else getting persistent failure messages from removed\_email\_address@domain.invalid when posting to this list? If so, can we do anything about it? I don’t quite understand this, and surely do not know those peop…

---

## [Pybombs install priorities](https://www.ruby-forum.com/t/pybombs-install-priorities/246014)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 9:39pm UTC](https://www.ruby-forum.com/t/pybombs-install-priorities/246014 "2013-08-17T21:39:46Z")

</div>

Greetings, Is it correctly understtod that when configured with: satisfy\_order = deb,src then pybombs should try to install dependencies from deb first then from source? Or does pybombs expect the deb to be installed…

---

## [Is there a ruby library that can connect to the following connection string](https://www.ruby-forum.com/t/is-there-a-ruby-library-that-can-connect-to-the-following-connection-string/246010)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 9:31pm UTC](https://www.ruby-forum.com/t/is-there-a-ruby-library-that-can-connect-to-the-following-connection-string/246010 "2013-08-17T21:31:48Z")

</div>

Is the a ruby library that’s able to connect to the following kinds of connection strings without needing to parse it. There is something in C#, but I haven’t be able to find something in Ruby. E.g. Data Source=mys…

---

## [Sqlite3 1.3.8 Released](https://www.ruby-forum.com/t/sqlite3-1-3-8-released/236243)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 17, 2013, 8:36pm UTC](https://www.ruby-forum.com/t/sqlite3-1-3-8-released/236243 "2013-08-17T20:36:04Z")

</div>

sqlite3 version 1.3.8 has been released! http://github.com/luislavena/sqlite3-ruby http://groups.google.com/group/sqlite3-ruby This module allows Ruby programs to interface with the SQLite3 database engine (http://ww…

---

## [Dynamic updates to console](https://www.ruby-forum.com/t/dynamic-updates-to-console/236236)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [August 17, 2013, 5:31pm UTC](https://www.ruby-forum.com/t/dynamic-updates-to-console/236236 "2013-08-17T17:31:29Z")

</div>

I organized output to the console, but made ​​it quite inconvenient, the screen is cleared, get the data, and so the loop. Is it possible to update only the place that changed the meaning. The problem I have is that t…

---

## [Grextras installation](https://www.ruby-forum.com/t/grextras-installation/236241)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 2:12pm UTC](https://www.ruby-forum.com/t/grextras-installation/236241 "2013-08-17T14:12:53Z")

</div>

Hi, I am using gnuradio 3.6.3. I am trying to install precog. So to do that i have to install gr-extras. But the git repository for gr-extras says sorry and nothing else How should i install gr-extras now?

---

## [Cannot install thru scripts](https://www.ruby-forum.com/t/cannot-install-thru-scripts/236237)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 11:54am UTC](https://www.ruby-forum.com/t/cannot-install-thru-scripts/236237 "2013-08-17T11:54:58Z")

</div>

Hello all, I've installed 32-bit ubuntu on my 64-bit computer, and tried to install gnuradio through the following script: wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./bu…

---

## [Module development question - Variables](https://www.ruby-forum.com/t/module-development-question-variables/236219)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 5:32am UTC](https://www.ruby-forum.com/t/module-development-question-variables/236219 "2013-08-17T05:32:24Z")

</div>

Hi, been trying to understand variables for a couple of hours - but I jut don’t get it. Can anyone explain, How and when the variable setter function is called? Whether I should / can call it myelf to set the va…

---

## [Proxy\_cache seems not working with X-Accel-Redirect](https://www.ruby-forum.com/t/proxy-cache-seems-not-working-with-x-accel-redirect/236143)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 4:33am UTC](https://www.ruby-forum.com/t/proxy-cache-seems-not-working-with-x-accel-redirect/236143 "2013-08-17T04:33:59Z")

</div>

My config location ~ /cached/ { proxy\_pass http://apache; proxy\_cache cache; proxy\_cache\_valid 2h; proxy\_cache\_key “$host|$request\_uri”; } location /htdocs\_internal/ { internal; alias $htdocs\_path; } R…

---

## [Cache based on file size](https://www.ruby-forum.com/t/cache-based-on-file-size/236104)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 2:54am UTC](https://www.ruby-forum.com/t/cache-based-on-file-size/236104 "2013-08-17T02:54:40Z")

</div>

Hi, In looking over Nginx configuration for the proxy module, I do not see an easy way to influence what is cached based on object size. I have two use cases of interest: Store a small file in a particular zone (e.…

---

## [Thoughts on a domain based white label app?](https://www.ruby-forum.com/t/thoughts-on-a-domain-based-white-label-app/236217)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 16, 2013, 10:03pm UTC](https://www.ruby-forum.com/t/thoughts-on-a-domain-based-white-label-app/236217 "2013-08-16T22:03:28Z")

</div>

Greets! I was wondering if there might be any pitfalls I should be aware of in order to create a domain based white label app. By that I mean, a single app that will change the layout/css/routes of an app depending o…

---

## [Unable to install rvm](https://www.ruby-forum.com/t/unable-to-install-rvm/245733)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [August 16, 2013, 8:22pm UTC](https://www.ruby-forum.com/t/unable-to-install-rvm/245733 "2013-08-16T20:22:25Z")

</div>

I’ve never had this problem before, and have no idea why I have it now. Environment: I’m running Kubuntu Linux 13.04 Problem: I couple of days ago a previously-working installation of rvm simply disappeared. There hav…

---

## [August developer call video](https://www.ruby-forum.com/t/august-developer-call-video/236238)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 16, 2013, 7:48pm UTC](https://www.ruby-forum.com/t/august-developer-call-video/236238 "2013-08-16T19:48:32Z")

</div>

This is the video of the call. Philip

---

## [Timed\_commands broken (gr-uhd / 3.7.1)?](https://www.ruby-forum.com/t/timed-commands-broken-gr-uhd-3-7-1/236235)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 16, 2013, 7:42pm UTC](https://www.ruby-forum.com/t/timed-commands-broken-gr-uhd-3-7-1/236235 "2013-08-16T19:42:41Z")

</div>

Hello list, after a lot of working, I finally came around to write a minimal example to show what does not work. To make it short: from python, calling src = uhd.usrp\_source(…) \[…\] src.set\_command\_time(uhd.time\_spe…

---

## [Dev Call August 16th (Friday)](https://www.ruby-forum.com/t/dev-call-august-16th-friday/245977)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 16, 2013, 7:11pm UTC](https://www.ruby-forum.com/t/dev-call-august-16th-friday/245977 "2013-08-16T19:11:44Z")

</div>

Hi everyone, our next developer’s call will be on Friday, August 16th. This is an exception from our third-Thursday rule, in the future, we will still be sticking to that. Also, we’ll try and reduce the chaos in the …

---

## [\[ruby-trunk - Bug #8746\]\[Assigned\] TestWEBrickCGI#test\_cgi fails with mswin64 on English version of](https://www.ruby-forum.com/t/ruby-trunk-bug-8746-assigned-testwebrickcgi-test-cgi-fails-with-mswin64-on-english-version-of/245947)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 16, 2013, 5:41pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8746-assigned-testwebrickcgi-test-cgi-fails-with-mswin64-on-english-version-of/245947 "2013-08-16T17:41:10Z")

</div>

Issue #8746 has been reported by usa (Usaku NAKAMURA). Bug #8746: TestWEBrickCGI#test\_cgi fails with mswin64 on English version of Windows Author: usa (Usaku NAKAMURA) Status: Assigned Priority: Normal Assignee: …

---

## [Rails undefined method \`model\_name' in form partial](https://www.ruby-forum.com/t/rails-undefined-method-model-name-in-form-partial/236229)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 16, 2013, 4:44pm UTC](https://www.ruby-forum.com/t/rails-undefined-method-model-name-in-form-partial/236229 "2013-08-16T16:44:29Z")

</div>

i have such model: class ToType \< ActiveRecord::Base attr\_accessible :Name, :TYP\_CCM, :TYP\_CCM\_TAX, :TYP\_CDS\_ID, :TYP\_CTM, :TYP\_CYLINDERS, :TYP\_DOORS, :TYP\_HP\_FROM, :TYP\_HP\_UPTO, :TYP\_ID, :TYP\_KV\_ABS\_DES\_ID, :TYP\_…

---

## [Gtk3 scratch, on Windows](https://www.ruby-forum.com/t/gtk3-scratch-on-windows/235444)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 16, 2013, 4:10pm UTC](https://www.ruby-forum.com/t/gtk3-scratch-on-windows/235444 "2013-08-16T16:10:27Z")

</div>

Hello, Using gtk3 on window, i get a bug (program scratch) when resizing window (specially on resizing dialog window), with almost all my Ruiby applications. Here a scratch with an old gtk demo : …\\gtk3-2.0.2-x86-mi…

---

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

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 16, 2013, 4:06pm UTC](https://www.ruby-forum.com/t/gem-install-ssl-certificate-verify-failed/236234 "2013-08-16T16:06:45Z")

</div>

Solved. Restored old copy of ruby193 & rubygems folder, and ran gem update. Everything is back to normal. “Gem Install/SSL Certificate Verify Failed”. C:\\Ruby\\tmp\>gem install mysql2 #(but the same for any gem) ERROR…

---

## [Geoip filtering not working](https://www.ruby-forum.com/t/geoip-filtering-not-working/235755)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 16, 2013, 3:15pm UTC](https://www.ruby-forum.com/t/geoip-filtering-not-working/235755 "2013-08-16T15:15:07Z")

</div>

Hello, I’m trying to figure out why Nginx’s geoip modules doesn’t seem to filter out certain ip’s from a banned country. I manually tested the GeoIP.dat using ‘geoiplookup’ against a few ips that successfully connect…

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

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