# Top

**URL:** https://www.ruby-forum.com/top.md?page=923

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

---

## [Error installing brcrypt-ruby when updating to Rails 3.1 on windows](https://www.ruby-forum.com/t/error-installing-brcrypt-ruby-when-updating-to-rails-3-1-on-windows/211313)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 1, 2011, 8:49am UTC](https://www.ruby-forum.com/t/error-installing-brcrypt-ruby-when-updating-to-rails-3-1-on-windows/211313 "2011-09-01T08:49:30Z")

</div>

I experienced the following when installing the Rails 3.1 gem updates on Windows: Installing gem bcrypt-ruby-3.0.0-java Building native extensions. This could take a while… ERROR: Error installing bcrypt-ruby: ERR…

---

## [Off-domain redirect using X-Accel-Redirect](https://www.ruby-forum.com/t/off-domain-redirect-using-x-accel-redirect/205721)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 15, 2011, 2:50am UTC](https://www.ruby-forum.com/t/off-domain-redirect-using-x-accel-redirect/205721 "2011-04-15T02:50:20Z")

</div>

Hello, I’d like for my application to send a 302 redirect (or equivalent) to an off-domain location (not my server). X-Accel-Redirect appears to be the best way to achieve this, but I don’t see any reference to the U…

---

## [Re: mock assertions on block parameters](https://www.ruby-forum.com/t/re-mock-assertions-on-block-parameters/189780)

<div class="topic-metadata">

**Author:** [@Ben\_Butler-Cole](https://www.ruby-forum.com/u/Ben_Butler-Cole)\
**Replies:** 3\
**Last updated:** [June 7, 2010, 6:18pm UTC](https://www.ruby-forum.com/t/re-mock-assertions-on-block-parameters/189780 "2010-06-07T18:18:45Z")

</div>

On 7 June 2010 15:25, Matt W. removed\_email\_address@domain.invalid wrote: Have you seen and\_yield? I can’t quite get my head around what you’re trying to do, but it might help anyway Thank you, I have. My understan…

---

## [PSK demodulation : get exact point before deciding what is the closest constellation point](https://www.ruby-forum.com/t/psk-demodulation-get-exact-point-before-deciding-what-is-the-closest-constellation-point/183922)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 4, 2010, 9:38pm UTC](https://www.ruby-forum.com/t/psk-demodulation-get-exact-point-before-deciding-what-is-the-closest-constellation-point/183922 "2010-03-04T21:38:12Z")

</div>

Hi all ! I am dealing with PSK (BPSK, QPSK, 8PSK) modulation/demodulation ; in demodulation, I would want to retrieve the exact point (vector) before finding the closest constellation point. Is there any way to get i…

---

## [Â¿QuÃ© material deberÃ­a pasarle a uno q va a empezar en Rails?](https://www.ruby-forum.com/t/a-qua-material-debera-a-pasarle-a-uno-q-va-a-empezar-en-rails/175889)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 3\
**Last updated:** [October 23, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/a-qua-material-debera-a-pasarle-a-uno-q-va-a-empezar-en-rails/175889 "2009-10-23T12:58:19Z")

</div>

De momento le he pasado el “Agile development”, un documento sobre rutas REST, las clases de Ruby, los links de railscasts y railsenvy (aunque esos links no son muy de iniciaciÃ³n)… pero seguro que tiene que haber mÃ¡…

---

## [Tache cap](https://www.ruby-forum.com/t/tache-cap/167780)

<div class="topic-metadata">

**Author:** [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Replies:** 3\
**Last updated:** [May 12, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/tache-cap/167780 "2009-05-12T18:08:14Z")

</div>

Salut Suite Ã un besoin rÃ©current, j’ai fait une task capistrano permettant de synchroniser sa base local avec celle de la prod. Le plugin est sur github (GitHub - sgruhier/capistrano-db-tasks: Add capistrano tasks …

---

## [NetBeans with Cucumber module](https://www.ruby-forum.com/t/netbeans-with-cucumber-module/166777)

<div class="topic-metadata">

**Author:** [@aidy\_lewis](https://www.ruby-forum.com/u/aidy_lewis)\
**Replies:** 3\
**Last updated:** [April 29, 2009, 4:57pm UTC](https://www.ruby-forum.com/t/netbeans-with-cucumber-module/166777 "2009-04-29T16:57:47Z")

</div>

Hi, Aslak twittered this NetBeans Cucumber module : http://members.chello.at/server/modules.html I have tried to manually install it, but NetBeans in complaining about: "Missing required modules for Plugin Cucumber F…

---

## [NullDb makes rake spec take (much) longer](https://www.ruby-forum.com/t/nulldb-makes-rake-spec-take-much-longer/157521)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 3\
**Last updated:** [January 12, 2009, 10:19pm UTC](https://www.ruby-forum.com/t/nulldb-makes-rake-spec-take-much-longer/157521 "2009-01-12T22:19:14Z")

</div>

Hi all, We did a spike last week to de-couple our view and controller tests from the database, using NullDb. It didn’t go too well. I realise that this plugin isn’t part of RSpec, but I thought others on this list mi…

---

## [Minimizing interference with usrp](https://www.ruby-forum.com/t/minimizing-interference-with-usrp/128831)

<div class="topic-metadata">

**Author:** [@Juha\_V](https://www.ruby-forum.com/u/Juha_V)\
**Replies:** 3\
**Last updated:** [February 13, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/minimizing-interference-with-usrp/128831 "2008-02-13T20:19:12Z")

</div>

Hi, I have been doing some radio astronomy experiments with USRP using a 30 MHz dipole antenna (actually it is more of a riometer experiment). I am running into various interference issues. E.g., at one point I notic…

---

## [Music notation ABC](https://www.ruby-forum.com/t/music-notation-abc/123656)

<div class="topic-metadata">

**Author:** [@lunatic](https://www.ruby-forum.com/u/lunatic)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/music-notation-abc/123656 "2007-12-19T19:28:58Z")

</div>

Hi, Do you know something about library for parse ABC music notation? I want something or write something to load files containig mutliple ABC tunes, organise then cherche for similar tunes in the files, create liste…

---

## [ATOM serializer](https://www.ruby-forum.com/t/atom-serializer/117794)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 3\
**Last updated:** [October 21, 2007, 10:24pm UTC](https://www.ruby-forum.com/t/atom-serializer/117794 "2007-10-21T22:24:14Z")

</div>

Dear devs, I am trying to make the atom serializer in raw/util/atom.rb work. I create a new simpler (and faster) version. This seems to work with Google reader but It does not show any kind of summary in Firefox (wh…

---

## [Finding the position on an item in a collection](https://www.ruby-forum.com/t/finding-the-position-on-an-item-in-a-collection/113724)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/finding-the-position-on-an-item-in-a-collection/113724 "2007-09-25T23:10:41Z")

</div>

This feels like it should be easy but i can’t work it out: if i have a collection of stories, ordered by (for example) date, then how do i find out the position of the story with id = (eg) 23 in the collection? I gues…

---

## [Activerecord thread safey outside of rails](https://www.ruby-forum.com/t/activerecord-thread-safey-outside-of-rails/109602)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/activerecord-thread-safey-outside-of-rails/109602 "2007-09-25T23:03:31Z")

</div>

Hoping someone could confirm a couple of things for me. I’m playing with activerecord/activerecord-jdbc inside jruby threads with allow\_concurrency set to true. It’s creating a new connection for each thread and appe…

---

## [Typo sidebars](https://www.ruby-forum.com/t/typo-sidebars/66356)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 3\
**Last updated:** [August 25, 2006, 7:54am UTC](https://www.ruby-forum.com/t/typo-sidebars/66356 "2006-08-25T07:54:05Z")

</div>

I’ve found a weird problem with a sidebar I’ve been working on. It doesn’t want to load any more. I’ve installed and removed the sidebar a few times, and now when I try and install the sidebar, I get this error in th…

---

## [Be careful with Akismet](https://www.ruby-forum.com/t/be-careful-with-akismet/66354)

<div class="topic-metadata">

**Author:** [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Replies:** 3\
**Last updated:** [August 24, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/be-careful-with-akismet/66354 "2006-08-24T22:59:16Z")

</div>

I removed the RBL entries to speed up the processing of commenting and tested the spam protection with only Akismet. I posted three test comments using a fake username and email address. The content was one word ‘po…

---

## [Ruby-odbc -- Strange Chaning of Special Character in Result](https://www.ruby-forum.com/t/ruby-odbc-strange-chaning-of-special-character-in-result/51946)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/ruby-odbc-strange-chaning-of-special-character-in-result/51946 "2006-01-11T19:21:28Z")

</div>

Hi, Some strange behind-the-scenes character conversion appears to be occuring when fetching ASCII code 150 using ruby-odbc. This is exempilfied by the script below. It should return identical data for both selects. …

---

## [Formatter callback in QT QUI Label widget](https://www.ruby-forum.com/t/formatter-callback-in-qt-qui-label-widget/234520)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 11, 2015, 4:29pm UTC](https://www.ruby-forum.com/t/formatter-callback-in-qt-qui-label-widget/234520 "2015-03-11T16:29:50Z")

</div>

Does the formatter callback work? I can’t get it to do anything useful, using a lambda expression stuffed into a variable. How does the widget calll the desired function?

---

## [Having trouble installing](https://www.ruby-forum.com/t/having-trouble-installing/228439)

<div class="topic-metadata">

**Author:** [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Replies:** 2\
**Last updated:** [April 25, 2013, 4:01pm UTC](https://www.ruby-forum.com/t/having-trouble-installing/228439 "2013-04-25T16:01:03Z")

</div>

I’ve been trying on and off for a couple days to get visual ruby on my computer at work. I’ve been unable to get the gem to install through my proxy so I decided to just download the gem from rubygems and got the dev …

---

## [Ngx\_cpuinfo / kvm & qemu / ngx\_cacheline\_size](https://www.ruby-forum.com/t/ngx-cpuinfo-kvm-qemu-ngx-cacheline-size/224918)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 3, 2012, 4:06pm UTC](https://www.ruby-forum.com/t/ngx-cpuinfo-kvm-qemu-ngx-cacheline-size/224918 "2012-12-03T16:06:39Z")

</div>

Hi, I have virtual machine running on qemu / kvm. cat /proc/cpuinfo give : processor : 0 vendor\_id : GenuineIntel cpu family : 6 model : 2 model name : QEMU Virtual CPU version 1.1.2 stepping : 3 microcode : 0x1 …

---

## [Modulation/Demodulation Blocks' Function details](https://www.ruby-forum.com/t/modulation-demodulation-blocks-function-details/222038)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 9, 2012, 9:37pm UTC](https://www.ruby-forum.com/t/modulation-demodulation-blocks-function-details/222038 "2012-08-09T21:37:34Z")

</div>

Hi GNURadio community, I’m looking into how the modulation and demodulation blocks work. Specifically the BPSK mod and demod blocks. Here is a list of the files I looked through and the location: generic\_mod\_demod.p…

---

## [TDD, github and travis-CI for gtk application](https://www.ruby-forum.com/t/tdd-github-and-travis-ci-for-gtk-application/218053)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 10, 2012, 5:43pm UTC](https://www.ruby-forum.com/t/tdd-github-and-travis-ci-for-gtk-application/218053 "2012-04-10T17:43:32Z")

</div>

Hello, Is there anybody which have exemple of test unit of gtk application ? continuous integration with travis-ci of gtk application ? thank-you, Regis

---

## [Native ruby Levenberg–Marquardt (or other curve fitting)](https://www.ruby-forum.com/t/native-ruby-levenberg-marquardt-or-other-curve-fitting/206615)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 6, 2011, 1:20am UTC](https://www.ruby-forum.com/t/native-ruby-levenberg-marquardt-or-other-curve-fitting/206615 "2011-05-06T01:20:49Z")

</div>

Sooner or later, my Rails app will need a good curve fitting algorithm – I’ve used Levenberg–Marquardt in the past and know it works well for my needs. There’s even a nice set of Ruby bindings to the Gnu Scientific L…

---

## [Java support - install a SecurityManager from JRuby](https://www.ruby-forum.com/t/java-support-install-a-securitymanager-from-jruby/204297)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 9, 2011, 3:51pm UTC](https://www.ruby-forum.com/t/java-support-install-a-securitymanager-from-jruby/204297 "2011-03-09T15:51:53Z")

</div>

Not sure if I’m doing things 100% right. I tried to extend a java class java.lang.SecurityManager and then install it for the JVM (System.setSecurityManager) - I’ve expected for this to work but it didn’t - same re…

---

## [Memory leak issues with Jruby on rails application?](https://www.ruby-forum.com/t/memory-leak-issues-with-jruby-on-rails-application/201248)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 4, 2011, 6:20pm UTC](https://www.ruby-forum.com/t/memory-leak-issues-with-jruby-on-rails-application/201248 "2011-01-04T18:20:29Z")

</div>

Hi, We are facing certain memory issues with Jruby on Rails application. 1.We have a 7GB server out of which 4 GB is tomcat(2 tomcat instances each of 2Gb) heap space and rest 3 GB memory is free for the server. Howe…

---

## [Installing on Windows 7 64 bit](https://www.ruby-forum.com/t/installing-on-windows-7-64-bit/199728)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 27, 2010, 6:35pm UTC](https://www.ruby-forum.com/t/installing-on-windows-7-64-bit/199728 "2010-11-27T18:35:57Z")

</div>

I would like to install ruby 1.86 or 1.9 on Windows 7 64 bit but I do not know if it is compatible nor what are the steps involved to install it nor if there is any configuration involved. Could someone kindly provide…

---

## [FYI: Breaking changes in last push](https://www.ruby-forum.com/t/fyi-breaking-changes-in-last-push/184572)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 2\
**Last updated:** [March 4, 2010, 8:13pm UTC](https://www.ruby-forum.com/t/fyi-breaking-changes-in-last-push/184572 "2010-03-04T20:13:52Z")

</div>

This is for everybody’s information: If you’re hosting IronRuby in a C# application then your code is likely to break with IronRuby HEAD The RubyContext class has gone away and the RequireRubyFile extension method …

---

## [How to configure every (postgresql) db connection?](https://www.ruby-forum.com/t/how-to-configure-every-postgresql-db-connection/177271)

<div class="topic-metadata">

**Author:** [@Tilmann\_Singer](https://www.ruby-forum.com/u/Tilmann_Singer)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/how-to-configure-every-postgresql-db-connection/177271 "2009-10-16T13:22:10Z")

</div>

I would like to set some db session variables specific to my application on the database connection that rails uses. They can be set by issuing an SQL command like “SET statement\_timeout = 1000” once - it will be in e…

---

## [Running rake db:drop db:create against Oracle database does nothing](https://www.ruby-forum.com/t/running-rake-db-drop-db-create-against-oracle-database-does-nothing/157734)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 2\
**Last updated:** [January 14, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/running-rake-db-drop-db-create-against-oracle-database-does-nothing/157734 "2009-01-14T22:20:26Z")

</div>

Hi, Running the rake tasks db:drop and db:create seem to do nothing when running against an Oracle database using the activerecord-jbdc-adapter. Is this a known bug? At Adobe we are using 0.9 of the AR JDBC adapter…

---

## [Help with sorting results](https://www.ruby-forum.com/t/help-with-sorting-results/144581)

<div class="topic-metadata">

**Author:** [@tinney](https://www.ruby-forum.com/u/tinney)\
**Replies:** 2\
**Last updated:** [July 31, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/help-with-sorting-results/144581 "2008-07-31T21:03:22Z")

</div>

Greetings, I’m programming a section of my application that will store and list stories. These stories should be sorted by three factors: genre, order\_by (such as time posted), and sort (ascending or descending). I w…

---

## [Aiuto, io e Ruby non ci capiamo!](https://www.ruby-forum.com/t/aiuto-io-e-ruby-non-ci-capiamo/243482)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [November 16, 2015, 12:48pm UTC](https://www.ruby-forum.com/t/aiuto-io-e-ruby-non-ci-capiamo/243482 "2015-11-16T12:48:00Z")

</div>

Buona sera a tutti, grazie ancora per l’ aiuto ricevuto nel precedente post, ma non passa molto tempo che io e Ruby riprendiamo a non capirci. il problema è questo, se scrivo un metodo che restituisce qualcosa, come p…

---

## [Invalid byte sequence in UTF-8 (ArgumentError)](https://www.ruby-forum.com/t/invalid-byte-sequence-in-utf-8-argumenterror/241717)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 4, 2015, 11:36am UTC](https://www.ruby-forum.com/t/invalid-byte-sequence-in-utf-8-argumenterror/241717 "2015-05-04T11:36:34Z")

</div>

I’m trying to run a Ruby script, and always getting an error on this line: file\_content.gsub(/dr/i,‘med’) Where I’m trying to replace “dr” by “med”. The error is: program.rb:4:in \`gsub’: invalid byte sequence in UTF…

---

## [NameError: uninitialized constant Krypt::Provider::JDK](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-krypt-jdk/233756)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 9, 2015, 11:41am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-krypt-jdk/233756 "2015-01-09T11:41:34Z")

</div>

Last night I had to restart my server (Windows Server 2011 SBS), and my Rails application failed to start up. In the logs I found this error: NameError: uninitialized constant Krypt::Provider::JDK What is odd here is …

---

## [Net/ssh/telnet waifor method](https://www.ruby-forum.com/t/net-ssh-telnet-waifor-method/231226)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 29, 2014, 9:22pm UTC](https://www.ruby-forum.com/t/net-ssh-telnet-waifor-method/231226 "2014-07-29T21:22:01Z")

</div>

I’m attempting to write a ruby script that logs into a box and runs commands/scripts remotely. This is what I’ve got below: ssh = Net::SSH.start(“server1”, “admin”, :password =\> “Password”) do |ssh| s = Net::SSH::Te…

---

## [JBuilder "Except"](https://www.ruby-forum.com/t/jbuilder-except/241187)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 17, 2014, 3:56pm UTC](https://www.ruby-forum.com/t/jbuilder-except/241187 "2014-05-17T15:56:32Z")

</div>

Hi, I’m trying to use JBuilder to generate a JSON to a specific class. I wan’t to include all attributes, except one or two. To do that I’m doing: json.extract! object, :attr1, :attr2, :attr3, :attr4, :attr5, … Ther…

---

## [Os suena este logo?](https://www.ruby-forum.com/t/os-suena-este-logo/226981)

<div class="topic-metadata">

**Author:** [@jbgutierrez](https://www.ruby-forum.com/u/jbgutierrez)\
**Replies:** 1\
**Last updated:** [February 27, 2013, 3:37pm UTC](https://www.ruby-forum.com/t/os-suena-este-logo/226981 "2013-02-27T15:37:39Z")

</div>

Hola, Necesito saber quién o qué anda detrás de este logo. Sé que los tres primeros son Heroku, Amazon Web Services y Ruby On Rails, pero el ultimo se me escapa… ¿Podeis ayudarme? Muchisimas gracias!!

---

## [ASCII character help!](https://www.ruby-forum.com/t/ascii-character-help/213109)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [October 25, 2011, 12:16am UTC](https://www.ruby-forum.com/t/ascii-character-help/213109 "2011-10-25T00:16:18Z")

</div>

Hi, I am new to ruby and following some tutorial of “Daniel Carrera” i already finish this overall tutorial answered the exercise and now just reviewing the lesson. here is the exercise that bothering me: I understan…

---

## [Sample wise execution of blocks in grc flow graph?](https://www.ruby-forum.com/t/sample-wise-execution-of-blocks-in-grc-flow-graph/208321)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [June 16, 2011, 9:40am UTC](https://www.ruby-forum.com/t/sample-wise-execution-of-blocks-in-grc-flow-graph/208321 "2011-06-16T09:40:08Z")

</div>

Hi, I have made a custom block derived from gr\_block which has two inputs. First input comes at a sampling rate of 20 samples/sec while the other input comes from the gr\_noise\_source block. Now, my question is: what …

---

## [Using Rails for consuming a web service](https://www.ruby-forum.com/t/using-rails-for-consuming-a-web-service/204411)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 15, 2011, 4:47pm UTC](https://www.ruby-forum.com/t/using-rails-for-consuming-a-web-service/204411 "2011-03-15T16:47:10Z")

</div>

Hi, I wrote pure Ruby code for consuming an existing web service. The requests are send via net/http and are in XML format. That means I have Ruby classes that look like this: class Request def initialize(myrequest) …

---

## [Data type for a string value](https://www.ruby-forum.com/t/data-type-for-a-string-value/197639)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 7\
**Last updated:** [October 19, 2010, 12:06am UTC](https://www.ruby-forum.com/t/data-type-for-a-string-value/197639 "2010-10-19T00:06:13Z")

</div>

when humans look at a string, they will know whether it is a date, a float, a percentage, or a currency, or simply a string. for example, when you see, 3,232, you will know it is meant to be a number. I wonder if the…

---

## [Error\_messages\_for doesn't work](https://www.ruby-forum.com/t/error-messages-for-doesnt-work/193481)

<div class="topic-metadata">

**Author:** [@upabibi](https://www.ruby-forum.com/u/upabibi)\
**Replies:** 7\
**Last updated:** [August 19, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/error-messages-for-doesnt-work/193481 "2010-08-19T15:41:15Z")

</div>

I’m having a problem, 'cause I wrote the following line in my model “Hi”: validates\_numericality\_of :phone, :only\_integer =\> true, :allow\_blank =\> false, :message =\> "must be a number" And in my “new” view, I put: \<%…

---

## [Mysql db migration jams up with Typo 5.4.4](https://www.ruby-forum.com/t/mysql-db-migration-jams-up-with-typo-5-4-4/187454)

<div class="topic-metadata">

**Author:** [@Simon\_Brown](https://www.ruby-forum.com/u/Simon_Brown)\
**Replies:** 1\
**Last updated:** [April 23, 2010, 2:17pm UTC](https://www.ruby-forum.com/t/mysql-db-migration-jams-up-with-typo-5-4-4/187454 "2010-04-23T14:17:31Z")

</div>

Hello all, I’m trying to migrate a 5.3 typo system to 5.44, but I am getting errors on the database migration step. At the start I see: • Drop blacklist patterns • Drop session table may take a moment But as soon…

---

## [Pass Ruby Array to Javasript Problem](https://www.ruby-forum.com/t/pass-ruby-array-to-javasript-problem/175182)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 7\
**Last updated:** [September 9, 2009, 11:50am UTC](https://www.ruby-forum.com/t/pass-ruby-array-to-javasript-problem/175182 "2009-09-09T11:50:32Z")

</div>

I have an array named weight\_array. Now i want to pass it to my javascript function abc… How can i pass it … May be a stupid question but did’nt find it by googling also … Currently i am doing like this. \<%= radio\_bu…

---

## [Compiling c++ blocks](https://www.ruby-forum.com/t/compiling-c-blocks/173788)

<div class="topic-metadata">

**Author:** [@Jordan\_J\_Riggs](https://www.ruby-forum.com/u/Jordan_J_Riggs)\
**Replies:** 7\
**Last updated:** [August 25, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/compiling-c-blocks/173788 "2009-08-25T21:06:28Z")

</div>

All, I’m attempting to write a block for GNU Radio. However, the tutorial on http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html is significantly different than the structure of gr-how-to-write-a-block …

---

## [Content Truncating](https://www.ruby-forum.com/t/content-truncating/164970)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 7\
**Last updated:** [April 8, 2009, 2:34am UTC](https://www.ruby-forum.com/t/content-truncating/164970 "2009-04-08T02:34:06Z")

</div>

Hi, I am having a weird issue where nginx is truncating a few bytes of content from the end of files. The files are being served from PHP (FastCGI via php-fpm) using PHP’s readfile(). The PHP application sends out a …

---

## [Rails User-Group Bremen: diesen Donnerstag, 18:30](https://www.ruby-forum.com/t/rails-user-group-bremen-diesen-donnerstag-18-30/161208)

<div class="topic-metadata">

**Author:** [@Carsten\_B](https://www.ruby-forum.com/u/Carsten_B)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 7:10pm UTC](https://www.ruby-forum.com/t/rails-user-group-bremen-diesen-donnerstag-18-30/161208 "2009-04-01T19:10:19Z")

</div>

Mit der Bitte um Nachsicht fuer die “agile” (kurzfristige) Ankuendigung: Auch im Nordwesten wollen wir uns gelegentlich in einer informellen “Rails User-Group” treffen. Den Anlass, die kritische Masse, und einen Gastv…

---

## [Stampe in ruby](https://www.ruby-forum.com/t/stampe-in-ruby/157795)

<div class="topic-metadata">

**Author:** [@giampiz](https://www.ruby-forum.com/u/giampiz)\
**Replies:** 7\
**Last updated:** [January 16, 2009, 11:33am UTC](https://www.ruby-forum.com/t/stampe-in-ruby/157795 "2009-01-16T11:33:37Z")

</div>

ciao atutti vorrei sapere come si fa a stampare in Ruby; cioÃ¨ come si fa a fare delle stampe serie o al limite a generare file postscript o simili grazie

---

## [Testing outside building with our USRPs](https://www.ruby-forum.com/t/testing-outside-building-with-our-usrps/154518)

<div class="topic-metadata">

**Author:** [@sporb](https://www.ruby-forum.com/u/sporb)\
**Replies:** 7\
**Last updated:** [December 2, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/testing-outside-building-with-our-usrps/154518 "2008-12-02T22:40:38Z")

</div>

Hello, all! We are utilizing USRPs to test the transmission range under some certain circumstances, say different modulation schemes. We are planning on testing the range outside, say in a football field since that co…

---

## [How would this Perl script look in Ruby?](https://www.ruby-forum.com/t/how-would-this-perl-script-look-in-ruby/147109)

<div class="topic-metadata">

**Author:** [@avinash](https://www.ruby-forum.com/u/avinash)\
**Replies:** 7\
**Last updated:** [September 4, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/how-would-this-perl-script-look-in-ruby/147109 "2008-09-04T16:15:58Z")

</div>

Can somebody please me tell the way to write this script in Ruby? ;--------------------------------------- #!/bin/env perl use strict; use Data::Dumper; #; define some message templates here my $message\_templates =…

---

## [Render :update](https://www.ruby-forum.com/t/render-update/145986)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 7\
**Last updated:** [August 18, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/render-update/145986 "2008-08-18T16:44:49Z")

</div>

I have a list of names in a drop-down and when one of those names it is picked I want my form to update a div of those selected names but to also update the drop-down so that name no longer appears in that list, which…

---

## [Re: Method parameters Type](https://www.ruby-forum.com/t/re-method-parameters-type/134109)

<div class="topic-metadata">

**Author:** [@asplake](https://www.ruby-forum.com/u/asplake)\
**Replies:** 7\
**Last updated:** [April 8, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/re-method-parameters-type/134109 "2008-04-08T23:33:16Z")

</div>

From: Sreedhar K. removed\_email\_address@domain.invalid Unlike Java why does not ruby specify the method parameter types. Because, unlike Java, Ruby is not a strongly typed language. How can a caller know what ty…

[Previous page](https://www.ruby-forum.com/top.md?page=922&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=924&per_page=50)
