# Latest

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

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

---

## [Proxy\_pass and rewrite](https://www.ruby-forum.com/t/proxy-pass-and-rewrite/236150)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 9, 2013, 8:01pm UTC](https://www.ruby-forum.com/t/proxy-pass-and-rewrite/236150 "2013-08-09T20:01:03Z")

</div>

Hi, I’m try to do a proxy\_pass and rewrite rules like this: location /directory/ { proxy\_pass http://some\_url\_to\_proxy\_pass/; expires +10d; } It’s working, but I need to repeat the /directory/ on the new url to wor…

---

## [Net/telnet haning on pasword](https://www.ruby-forum.com/t/net-telnet-haning-on-pasword/245988)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [August 9, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/net-telnet-haning-on-pasword/245988 "2013-08-09T19:25:10Z")

</div>

Hello all, I’m getting stuck at the @password portion. This script will get into the Cisco ASA, but doesn’t seem to enter in the password. Any help is greatly appreciated. begin session = Net::Telnet::new(‘Host’ =\> @…

---

## [Loop and exit on key](https://www.ruby-forum.com/t/loop-and-exit-on-key/236140)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [August 9, 2013, 6:15pm UTC](https://www.ruby-forum.com/t/loop-and-exit-on-key/236140 "2013-08-09T18:15:51Z")

</div>

curious as to how to do so at the click of a button ended the cycle. Аny infinite loop. Looking for in a search engine, which is not working examples … the problem is that the program had worked at the time, it probab…

---

## [Unable to connect Mysql2 or Sqlite3 on windows](https://www.ruby-forum.com/t/unable-to-connect-mysql2-or-sqlite3-on-windows/236145)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 9, 2013, 4:41pm UTC](https://www.ruby-forum.com/t/unable-to-connect-mysql2-or-sqlite3-on-windows/236145 "2013-08-09T16:41:10Z")

</div>

Hi every body. I would like to know if this problem is occurs only with me? I was unable to get Mysql2 ou Sqlite3 working with Ruby and rails. -ruby 2.0.0p247 (2013-06-27) \[i386-mingw32\] -Rails 4.0.0. I tried severa…

---

## [Rails 3.x, Ruby 1.9.x + HAML = Terror?](https://www.ruby-forum.com/t/rails-3-x-ruby-1-9-x-haml-terror/218339)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 9, 2013, 4:01pm UTC](https://www.ruby-forum.com/t/rails-3-x-ruby-1-9-x-haml-terror/218339 "2013-08-09T16:01:26Z")

</div>

Hi everyone, It seems ruby\_parser is required to parse HAML files for gettext msgids with the gettext:find rake task from gettext. However, ruby\_parser doesn’t seem to work on Ruby 1.9.x. So is it impossible to extr…

---

## [Tracking down a LoadError](https://www.ruby-forum.com/t/tracking-down-a-loaderror/246024)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 9, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/tracking-down-a-loaderror/246024 "2013-08-09T15:48:34Z")

</div>

I’m having a tough time debugging an exception in my local setup: org.jruby.exceptions.RaiseException: (LoadError) load error: jruby/rack/rack\_ext – java.lang.invoke.WrongMethodTypeException: MethodHandle(ThreadContex…

---

## [How to test whether IO object is open for writing](https://www.ruby-forum.com/t/how-to-test-whether-io-object-is-open-for-writing/236146)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 9, 2013, 2:57pm UTC](https://www.ruby-forum.com/t/how-to-test-whether-io-object-is-open-for-writing/236146 "2013-08-09T14:57:52Z")

</div>

Given an object of type IO (respectively File), what is the easiest way to see whether it is open for writing? I could try to write the null string to the object and, if I get an exception, assume that it is not write…

---

## [Value of def-expr](https://www.ruby-forum.com/t/value-of-def-expr/236149)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 9, 2013, 1:34pm UTC](https://www.ruby-forum.com/t/value-of-def-expr/236149 "2013-08-09T13:34:49Z")

</div>

Issue #3753 has been updated by matz (Yukihiro M.). Yes, I think Module#define\_method should return a symbol as def statement does. Matz. Feature #3753: value of def-expr Author: usa (Usaku NAKAMURA) Status: Assi…

---

## [Order on join model](https://www.ruby-forum.com/t/order-on-join-model/236142)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 9, 2013, 1:13pm UTC](https://www.ruby-forum.com/t/order-on-join-model/236142 "2013-08-09T13:13:12Z")

</div>

Hi I have three models, User, Like and Photo. A User can like many Photos and a Photo can have many Likers. In my User model I have: has\_many :likes, foreign\_key: “liker\_id”, dependent: :destroy has\_many :liked\_phot…

---

## [Rails 4 , how to validate form with remote tag on client side?](https://www.ruby-forum.com/t/rails-4-how-to-validate-form-with-remote-tag-on-client-side/246002)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 9, 2013, 12:39pm UTC](https://www.ruby-forum.com/t/rails-4-how-to-validate-form-with-remote-tag-on-client-side/246002 "2013-08-09T12:39:17Z")

</div>

I need pure javascript validation for ajax form. Rails 4 docs lacks in this part.

---

## [Other css design framework like bootstrap](https://www.ruby-forum.com/t/other-css-design-framework-like-bootstrap/245954)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 9, 2013, 12:37pm UTC](https://www.ruby-forum.com/t/other-css-design-framework-like-bootstrap/245954 "2013-08-09T12:37:32Z")

</div>

hello friends, i am using twitter bootstrap css designing framwork… is there other framework like bootstrap… please suggest…

---

## [Disable Rails caching in test environment?](https://www.ruby-forum.com/t/disable-rails-caching-in-test-environment/194332)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 2\
**Last updated:** [August 9, 2013, 12:35pm UTC](https://www.ruby-forum.com/t/disable-rails-caching-in-test-environment/194332 "2013-08-09T12:35:45Z")

</div>

Is there a way to make Rails.cache.fetch always execute the code block in the test environment? (disable caching) For example in my test console on Rails 3 ruby-1.9.2-rc2 \> Rails.cache.fetch(‘foo’) {‘bar’} =\> “bar” …

---

## [Audio on Mac OS X - status and workarounds](https://www.ruby-forum.com/t/audio-on-mac-os-x-status-and-workarounds/245996)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 9, 2013, 12:05pm UTC](https://www.ruby-forum.com/t/audio-on-mac-os-x-status-and-workarounds/245996 "2013-08-09T12:05:55Z")

</div>

Greetings, While working on the Mac OS X app bundle for Gqrx 2.2, (available here http://gqrx.dk/download), I encountered several issues with the OS X audio support in gnuradio. These are my notes and how I worked aro…

---

## [Poor performance when loading huge number of server section](https://www.ruby-forum.com/t/poor-performance-when-loading-huge-number-of-server-section/236141)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 9, 2013, 10:22am UTC](https://www.ruby-forum.com/t/poor-performance-when-loading-huge-number-of-server-section/236141 "2013-08-09T10:22:30Z")

</div>

Hi there, I got a problem when using nginx as a reverse proxy. Configurations using per server policy to set upstream host. Nginx spends significant time loading config files as while as virtual server inscreased to a …

---

## [How to insert tags?](https://www.ruby-forum.com/t/how-to-insert-tags/246006)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 9, 2013, 9:55am UTC](https://www.ruby-forum.com/t/how-to-insert-tags/246006 "2013-08-09T09:55:02Z")

</div>

Dear Professionals ! HTML-page has a tag: NAME \<%= @fmod.NAME %\> How to insert(in the Ruby program) almost same tags after this tag with other parameters than NAME ? Warm Wishes

---

## [\[Backport93 - Backport #8577\]\[Open\] r41077, r41105](https://www.ruby-forum.com/t/backport93-backport-8577-open-r41077-r41105/245664)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 9, 2013, 9:25am UTC](https://www.ruby-forum.com/t/backport93-backport-8577-open-r41077-r41105/245664 "2013-08-09T09:25:49Z")

</div>

Issue #8577 has been reported by tadf (tadayoshi funaba). Backport #8577: r41077, r41105 Author: tadf (tadayoshi funaba) Status: Open Priority: Normal Assignee: Category: Target version: r41077, r41105

---

## [Xlate FIR filter broken in gr 3.7](https://www.ruby-forum.com/t/xlate-fir-filter-broken-in-gr-3-7/245951)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 28\
**Last updated:** [August 9, 2013, 6:48am UTC](https://www.ruby-forum.com/t/xlate-fir-filter-broken-in-gr-3-7/245951 "2013-08-09T06:48:07Z")

</div>

Hi, made an attempt to test my python scripts with new 3.7.0 of GR and what i am seeing xlate fir filter is broken previously xlate worked perfect with 3.6 version tested with waterfalls and i see wrong xlating i thi…

---

## [Changing Nginx keep-alive behavior based on error response of proxied server](https://www.ruby-forum.com/t/changing-nginx-keep-alive-behavior-based-on-error-response-of-proxied-server/236117)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 9, 2013, 5:36am UTC](https://www.ruby-forum.com/t/changing-nginx-keep-alive-behavior-based-on-error-response-of-proxied-server/236117 "2013-08-09T05:36:15Z")

</div>

I was wondering if there is a way in Nginx to force a client to close the connection (or modify the keepalive parameters) when a proxied server returns a particular error response. To elaborate a bit, if I have Nginx …

---

## [Worker process is not getting killed , when master is killed using -9](https://www.ruby-forum.com/t/worker-process-is-not-getting-killed-when-master-is-killed-using-9/236132)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 8, 2013, 8:51pm UTC](https://www.ruby-forum.com/t/worker-process-is-not-getting-killed-when-master-is-killed-using-9/236132 "2013-08-08T20:51:02Z")

</div>

Hi, I am facing one problem with nginx. I am waiting for nginx to stop withing 30 seconds. If it is not getting stopped, I am firing command to kill master process using pkill -9 \<master\_process\_pid\> But, Killing …

---

## [Re: \[ANN\] Multidimensional Array - MDArray 0.5.4](https://www.ruby-forum.com/t/re-ann-multidimensional-array-mdarray-0-5-4/245971)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [August 8, 2013, 8:25pm UTC](https://www.ruby-forum.com/t/re-ann-multidimensional-array-mdarray-0-5-4/245971 "2013-08-08T20:25:20Z")

</div>

Rodrigo: Don’t you have your own mailing list for this tool MDArray? If so, I would suggest to make announcements there and not here anymore, though your project is somehow related to jruby. Christian On Wed, Aug 7,…

---

## [Find URL paramenters from a string](https://www.ruby-forum.com/t/find-url-paramenters-from-a-string/245990)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 8, 2013, 7:35pm UTC](https://www.ruby-forum.com/t/find-url-paramenters-from-a-string/245990 "2013-08-08T19:35:05Z")

</div>

I have a string which contain some parameters I want to extract but I cant get it to look good. Here is what I have right now puts Rack::Utils.parse\_query(“http://www.aspnetpage.com/frmindex?id=5&shelf=111”) {“http:/…

---

## [Issue with mering ActiveRecord query results](https://www.ruby-forum.com/t/issue-with-mering-activerecord-query-results/236127)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 8, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/issue-with-mering-activerecord-query-results/236127 "2013-08-08T18:50:40Z")

</div>

class ABC def self.active self.live.where('starts\_at \<= ?', Time.now).where('(ends\_at \> ? || ends\_at IS NULL)’, Time.now) end def self.recently\_completed\` self.completed.where("completed\_at \> ?", 2.days.ago)\` end …

---

## [\[Backport 200 - Backport #8752\]\[Assigned\] please backport r42439](https://www.ruby-forum.com/t/backport-200-backport-8752-assigned-please-backport-r42439/245991)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 8, 2013, 6:40pm UTC](https://www.ruby-forum.com/t/backport-200-backport-8752-assigned-please-backport-r42439/245991 "2013-08-08T18:40:08Z")

</div>

Issue #8752 has been reported by usa (Usaku NAKAMURA). Backport #8752: please backport r42439 Author: usa (Usaku NAKAMURA) Status: Assigned Priority: Normal Assignee: nagachika (Tomoyuki C.) Category: Target ver…

---

## [Question about overruns with simple flowgraph](https://www.ruby-forum.com/t/question-about-overruns-with-simple-flowgraph/236105)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 10\
**Last updated:** [August 8, 2013, 6:05pm UTC](https://www.ruby-forum.com/t/question-about-overruns-with-simple-flowgraph/236105 "2013-08-08T18:05:38Z")

</div>

Hi, I have a simple FM broadcast receiver flowgraph in c++ that causes overruns. I’m using a B100 with a wbx daughter board. The flowgraph is usrp source -\> lowpass filter -\> quad demod -\> deemphasis -\> audio lp filt…

---

## [Gnuradio recipe in pybombs requires mcpp](https://www.ruby-forum.com/t/gnuradio-recipe-in-pybombs-requires-mcpp/236135)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 8, 2013, 3:06pm UTC](https://www.ruby-forum.com/t/gnuradio-recipe-in-pybombs-requires-mcpp/236135 "2013-08-08T15:06:50Z")

</div>

Greetings, I just noticed that executing “./pybombs install gnuradio” on a system that already has all the necessary dependencies starts by installing a package called mcpp. Searching the web I found out that it is a …

---

## [Spectrogram plot on ControlPort](https://www.ruby-forum.com/t/spectrogram-plot-on-controlport/245940)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 8, 2013, 3:04pm UTC](https://www.ruby-forum.com/t/spectrogram-plot-on-controlport/245940 "2013-08-08T15:04:29Z")

</div>

Does anybody know how to get gr-ctrlport-monitor to do spectrogram plots? I set up a ctrlport\_probe2\_c block with the DISPSPEC DisplayType but all I see are Time, PSD, and Constellation plot options in gr-ctrlport-mon…

---

## [Rdoc and a class named SM](https://www.ruby-forum.com/t/rdoc-and-a-class-named-sm/236137)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 8, 2013, 2:52pm UTC](https://www.ruby-forum.com/t/rdoc-and-a-class-named-sm/236137 "2013-08-08T14:52:33Z")

</div>

I’m still on a Ruby 1.8.6 system. rdoc/usage is used together with getoptlong for providing help to the user. One of the classes defined in the main module is called SM. This causes rdoc to spill out an error message …

---

## [Help: Constellation receiver Object Types](https://www.ruby-forum.com/t/help-constellation-receiver-object-types/245960)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 8, 2013, 2:29pm UTC](https://www.ruby-forum.com/t/help-constellation-receiver-object-types/245960 "2013-08-08T14:29:26Z")

</div>

I wanted to use the Constellation Receiver Block for QAM16 but the Class Referenceonly shows 8PSK, BPSK, DPSK PSK, and QPSK. Can this be used for 16QAM? Thanks…Tom

---

## [Dificuldade](https://www.ruby-forum.com/t/dificuldade/236126)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 8, 2013, 1:00pm UTC](https://www.ruby-forum.com/t/dificuldade/236126 "2013-08-08T13:00:38Z")

</div>

Ola! Comecei a tentar programar em rails nos ltimos meses e tenho que admitir que estou apanhando bastante!! Um dvida que eu tenho sobre um smbolo que tem aparecido nas ltimas mudanas dos arquivos que tentei atualiz…

---

## [Adwords API get keywords with ruby on rails](https://www.ruby-forum.com/t/adwords-api-get-keywords-with-ruby-on-rails/245998)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 8, 2013, 12:52pm UTC](https://www.ruby-forum.com/t/adwords-api-get-keywords-with-ruby-on-rails/245998 "2013-08-08T12:52:27Z")

</div>

Hello, I took the ruby on rails example, and tried to add to it a view which is displaying the keywords from an AdGroup, I am able to get the keywords, and the total no of keywords from a campaign but I don’t know wh…

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

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