# Top

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

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

---

## [Limiting parallel requests by source IP address](https://www.ruby-forum.com/t/limiting-parallel-requests-by-source-ip-address/234130)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 4:24am UTC](https://www.ruby-forum.com/t/limiting-parallel-requests-by-source-ip-address/234130 "2015-02-10T04:24:36Z")

</div>

I am using nginx as a reverse proxy to a Ruby on Rails application using the unicorn server on multiple load-balanced application servers. This configuration allows many HTTP requests to be serviced in parallel. I’ll …

---

## [\[heroku\] Error H10 (App crashed)](https://www.ruby-forum.com/t/heroku-error-h10-app-crashed/212589)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 7, 2011, 8:25am UTC](https://www.ruby-forum.com/t/heroku-error-h10-app-crashed/212589 "2011-10-07T08:25:59Z")

</div>

Hi i am developing an application which is working perfectly in development server … but it is crashing when deploy it to heroku … these are the logs related to my app… i am using rails 3.1.0 … is it compulsory to ins…

---

## [Where's the Scintilla Text Editor?](https://www.ruby-forum.com/t/wheres-the-scintilla-text-editor/192154)

<div class="topic-metadata">

**Author:** [@marlon](https://www.ruby-forum.com/u/marlon)\
**Replies:** 2\
**Last updated:** [July 25, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/wheres-the-scintilla-text-editor/192154 "2010-07-25T15:15:55Z")

</div>

Hi. I’m reading Chris P.'s online tutorial. From the tutorial: “The Ruby installer comes with a lovely text editor called SciTE (the Scintilla Text Editor). You can run SciTE by selecting it from the start menu. If y…

---

## [Issue with SSL client certificate](https://www.ruby-forum.com/t/issue-with-ssl-client-certificate/177661)

<div class="topic-metadata">

**Author:** [@scunningham](https://www.ruby-forum.com/u/scunningham)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 3:10pm UTC](https://www.ruby-forum.com/t/issue-with-ssl-client-certificate/177661 "2009-10-22T15:10:16Z")

</div>

I have a unusual case where, as a server, I need the client to provide a SSL cert, however, I am not interested in verifying it. In order to convince the client to provide a cert, the SSL\_VERIFY\_PEER param is passed …

---

## [Undefined method: controller\_name](https://www.ruby-forum.com/t/undefined-method-controller-name/122902)

<div class="topic-metadata">

**Author:** [@Alvin\_S](https://www.ruby-forum.com/u/Alvin_S)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/undefined-method-controller-name/122902 "2007-12-12T21:02:28Z")

</div>

With rspec 1.0.8 I have a spec in the directory: spec/units/controllers/application\_controller\_spec.rb require File.dirname(FILE) + ‘/…/…/spec\_helper’ class DummyController \< ApplicationController def index raise “P…

---

## [Learn by repetition - ruby exercises and answers?](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492)

<div class="topic-metadata">

**Author:** [@b1\_S](https://www.ruby-forum.com/u/b1_S)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492 "2007-01-26T17:11:56Z")

</div>

I prefer to learn by repetition and I was wondering if there are any Ruby exercise and answer orientated sites with lots of exercises, starting with simple and progressing to harder. This is what I’ve found so far: h…

---

## [Ferret 0.9.4 C extensions and Macbook Pro](https://www.ruby-forum.com/t/ferret-0-9-4-c-extensions-and-macbook-pro/97988)

<div class="topic-metadata">

**Author:** [@aaronkhawkins](https://www.ruby-forum.com/u/aaronkhawkins)\
**Replies:** 2\
**Last updated:** [July 13, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/ferret-0-9-4-c-extensions-and-macbook-pro/97988 "2006-07-13T15:31:39Z")

</div>

Hello, I am developing on a MacBook Pro. I had installed make and the gcc compiler in order to take advantage of the C extensions, and I installed the ferret 0.9.4 gem. When I installed the gem, it compiled the C ex…

---

## [A software-defined GPS and Galileo receiver: a single-frequency approach](https://www.ruby-forum.com/t/a-software-defined-gps-and-galileo-receiver-a-single-frequency-approach/206865)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 2, 2011, 9:26pm UTC](https://www.ruby-forum.com/t/a-software-defined-gps-and-galileo-receiver-a-single-frequency-approach/206865 "2011-12-02T21:26:12Z")

</div>

Hi all, Has anyone successfully used the USRP2 (or even USRP) to capture GPS L1 signals that were decoded by the MATLAB software receiver in the book A software-defined GPS and Galileo receiver: a single-frequency app…

---

## [Fwd: Need your advice on RedCloth](https://www.ruby-forum.com/t/fwd-need-your-advice-on-redcloth/169738)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 1\
**Last updated:** [June 8, 2009, 1:07pm UTC](https://www.ruby-forum.com/t/fwd-need-your-advice-on-redcloth/169738 "2009-06-08T13:07:48Z")

</div>

Gaspard, here’s a copy of my complaining to \_why, which contains a few examples of what I’m up against. This was awhile back, so I’ve moved on a bit, but what you were asking about still applies. There’s probably a w…

---

## [jobQueue 1.0.1 - Running stuff with a user defined number of threads](https://www.ruby-forum.com/t/jobqueue-1-0-1-running-stuff-with-a-user-defined-number-of-threads/214783)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [December 12, 2011, 5:18pm UTC](https://www.ruby-forum.com/t/jobqueue-1-0-1-running-stuff-with-a-user-defined-number-of-threads/214783 "2011-12-12T17:18:56Z")

</div>

Hi! JobQueue is a ruby gem, that allows you to run Ruby methods and system commands in parallel. It comes with an executable prun.rb with takes two arguments: Number of worker threads and a shell scripts, from which …

---

## [\[Rails\] i file js.erb visualizzano il codice invece di eseguirlo](https://www.ruby-forum.com/t/rails-i-file-js-erb-visualizzano-il-codice-invece-di-eseguirlo/213229)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 10, 2011, 6:21pm UTC](https://www.ruby-forum.com/t/rails-i-file-js-erb-visualizzano-il-codice-invece-di-eseguirlo/213229 "2011-11-10T18:21:32Z")

</div>

Ciao a tutti, Approfitto della vostra pazienza per sottoporvi un problemino che ho con Rails 3.0.9 + jQuery In sostanza non riesco a far funzionare i file jr.erb Sto utilizzando AJAX per inviare un modulo e quando ot…

---

## [How to sort strings descendantly in sort\_by method?](https://www.ruby-forum.com/t/how-to-sort-strings-descendantly-in-sort-by-method/209018)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 3, 2011, 7:14pm UTC](https://www.ruby-forum.com/t/how-to-sort-strings-descendantly-in-sort-by-method/209018 "2011-07-03T19:14:03Z")

</div>

Here’s the Example: array = %w\[ ABca DCbc CDde CBab CAce BCee DCea AAda EEec CCeb DAca BCec EBab EBeb ACbd DAda DAdc DBae BAcb DEda \] array.sort\_by! {|str| \[ str\[2,2\], str\[0,2\] \] } sort the strings first by the las…

---

## [Instance\_eval vs attr\_reader](https://www.ruby-forum.com/t/instance-eval-vs-attr-reader/199629)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [November 26, 2010, 1:05pm UTC](https://www.ruby-forum.com/t/instance-eval-vs-attr-reader/199629 "2010-11-26T13:05:22Z")

</div>

Hi, I’m new in forum; even newer in programming. I would like to know what is faster (uses less memory) to retrieve data? I use ruby 1.8 series. my\_class.instance\_eval(@var) or my\_class.var #using attr\_reader My que…

---

## [Creare un index composto da due tabelle](https://www.ruby-forum.com/t/creare-un-index-composto-da-due-tabelle/193190)

<div class="topic-metadata">

**Author:** [@fdibenedetto72](https://www.ruby-forum.com/u/fdibenedetto72)\
**Replies:** 6\
**Last updated:** [August 13, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/creare-un-index-composto-da-due-tabelle/193190 "2010-08-13T15:51:53Z")

</div>

Salve a tutti dovrei creare nella pagina index un semplice elenco composto da dati provenienti da due tabelle esempio : Tabella Utentis Tabella Tipoutentis id,nome,cognome,idtipo i…

---

## [Packaging source files on multiple OSs](https://www.ruby-forum.com/t/packaging-source-files-on-multiple-oss/182637)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 6\
**Last updated:** [February 1, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/packaging-source-files-on-multiple-oss/182637 "2010-02-01T23:12:29Z")

</div>

Can anyone direct me to an article or site that shows how to package applications built with Ruby? If I create a GUI application and want to package it for Mac, Linux, and Windows, I’d like to know what’s involved in…

---

## [Starting with usrp2\_fft.py](https://www.ruby-forum.com/t/starting-with-usrp2-fft-py/161571)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 19, 2009, 7:14pm UTC](https://www.ruby-forum.com/t/starting-with-usrp2-fft-py/161571 "2009-03-19T19:14:59Z")

</div>

Hi, I’m a newbie. I received my hardware and trying test it. I started to test the USRP2 (last release of firmware) and FLEX900 with the “usrp2\_fft.py”. My system is Ubuntu 8.10 and the trunk version of gnuradio. I…

---

## [How to use the Dir class, search for a sub directroy](https://www.ruby-forum.com/t/how-to-use-the-dir-class-search-for-a-sub-directroy/161711)

<div class="topic-metadata">

**Author:** [@lostbit](https://www.ruby-forum.com/u/lostbit)\
**Replies:** 6\
**Last updated:** [March 1, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/how-to-use-the-dir-class-search-for-a-sub-directroy/161711 "2009-03-01T16:45:31Z")

</div>

Good day, I am learning Ruby,and doing some experaments. I have a bit of code that searches the header of MP3 files in a folder to get file 1 artist name. This is a variable artist. Now I try to search a diferent dire…

---

## [Les joies de la STI](https://www.ruby-forum.com/t/les-joies-de-la-sti/147626)

<div class="topic-metadata">

**Author:** [@Salim](https://www.ruby-forum.com/u/Salim)\
**Replies:** 6\
**Last updated:** [September 4, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/les-joies-de-la-sti/147626 "2008-09-04T15:47:47Z")

</div>

Bonjour, voici le problème que je rencontre en essayant de faire de la STI : J’ai une classe abstraite ‘Animal’ qui assez simple : class Animal \< ActiveRecord::Base def foo “bar Animal” end end et une classe ‘Dog…

---

## ["permission deinied" when installing Rails on OS/X](https://www.ruby-forum.com/t/permission-deinied-when-installing-rails-on-os-x/118180)

<div class="topic-metadata">

**Author:** [@ronny](https://www.ruby-forum.com/u/ronny)\
**Replies:** 6\
**Last updated:** [October 24, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/permission-deinied-when-installing-rails-on-os-x/118180 "2007-10-24T17:16:15Z")

</div>

When I do a gem install -r rails --include-dependencies it works fine on Linux, but when I do it from a OS/X bash shell, I get the error message Permission denied - /usr/local/lib/ruby/gems/1.8/cache/ activesupport-…

---

## [Silly question about running from a directory?](https://www.ruby-forum.com/t/silly-question-about-running-from-a-directory/112396)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 6\
**Last updated:** [August 21, 2007, 9:00am UTC](https://www.ruby-forum.com/t/silly-question-about-running-from-a-directory/112396 "2007-08-21T09:00:24Z")

</div>

Hi Everyone, Just a silly question. I was wondering if Radiant can be run from a sub-directory (not a subdomain or as the main site of a domain). I installed it to http://example.com/radiant and it starts up fine. …

---

## [What is the problem with this module function](https://www.ruby-forum.com/t/what-is-the-problem-with-this-module-function/89773)

<div class="topic-metadata">

**Author:** [@SunRaySon](https://www.ruby-forum.com/u/SunRaySon)\
**Replies:** 6\
**Last updated:** [March 24, 2007, 4:54am UTC](https://www.ruby-forum.com/t/what-is-the-problem-with-this-module-function/89773 "2007-03-24T04:54:18Z")

</div>

I have a simple class A declared as follows: class A def foo p “A::foo” end def boo p “A::boo” end end Then I have a simple module ModuleA declared as follows: module ModuleA def module\_a\_foo p ‘ModuleA::modu…

---

## [Madame le Figaro : Itw interessante dans le Journal du Net](https://www.ruby-forum.com/t/madame-le-figaro-itw-interessante-dans-le-journal-du-net/84229)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 6\
**Last updated:** [February 6, 2007, 8:56am UTC](https://www.ruby-forum.com/t/madame-le-figaro-itw-interessante-dans-le-journal-du-net/84229 "2007-02-06T08:56:08Z")

</div>

\[crosspost avec railsfrance-business. Pas d’objections ?\] Une itw de FrÃ©dÃ©ric SitterlÃ©, directeur des nouveaux mÃ©dias Figaro : – Jean-FranÃ§ois.

---

## [ActiveRecord find exceptions](https://www.ruby-forum.com/t/activerecord-find-exceptions/81063)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 6\
**Last updated:** [January 4, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/activerecord-find-exceptions/81063 "2007-01-04T14:20:53Z")

</div>

If find myself doing something like this a lot: Model.find(some\_criteria).field which throws an exception if nothing is found. I am looking for a better way of doing something like this: if Model.find(some\_criteria) …

---

## [Searching over multiple MySQL tables](https://www.ruby-forum.com/t/searching-over-multiple-mysql-tables/58799)

<div class="topic-metadata">

**Author:** [@dishkuvek](https://www.ruby-forum.com/u/dishkuvek)\
**Replies:** 6\
**Last updated:** [April 26, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/searching-over-multiple-mysql-tables/58799 "2006-04-26T21:00:22Z")

</div>

I am racking my brain over this, probably because I only know very simple mysql functions. Basically I’ve got a few tables, ex: Albums (id,name,band\_id); Bands (id,name,label\_id), and Label (id,name) I want to search…

---

## [Is there anyway to make Rails NOT cache?](https://www.ruby-forum.com/t/is-there-anyway-to-make-rails-not-cache/93998)

<div class="topic-metadata">

**Author:** [@Phillip\_Novess](https://www.ruby-forum.com/u/Phillip_Novess)\
**Replies:** 6\
**Last updated:** [April 18, 2006, 12:19am UTC](https://www.ruby-forum.com/t/is-there-anyway-to-make-rails-not-cache/93998 "2006-04-18T00:19:07Z")

</div>

Is there anyway to make Rails NOT cache? I’m getting caching in the browser and the server. I have to restart Lighttpd after every view change to see the results. Thanks, phill

---

## [Ligne de commande et =?utf-8?q?param=C3=A8tres?=](https://www.ruby-forum.com/t/ligne-de-commande-et-utf-8-q-param-c3-a8tres/55041)

<div class="topic-metadata">

**Author:** [@arnaud](https://www.ruby-forum.com/u/arnaud)\
**Replies:** 6\
**Last updated:** [March 16, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/ligne-de-commande-et-utf-8-q-param-c3-a8tres/55041 "2006-03-16T19:26:22Z")

</div>

Bonjour! Je dÃ©couvre en ce moment ruby et pour me faire la main j’ai dÃ©cidÃ© d’Ã©crire des plugins en ruby pour oreon (voir sur oreon-project) un outil de supervision. Ces plugins sont passÃ©s en ligne de commande…

---

## [GRC FFT Plot](https://www.ruby-forum.com/t/grc-fft-plot/242860)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 3, 2015, 6:43pm UTC](https://www.ruby-forum.com/t/grc-fft-plot/242860 "2015-08-03T18:43:01Z")

</div>

Hi guys, I transmitted this -30 dB signal (Image 1) using a usrp: The spectrum analyzer displays -50 dBm (Image 2) as its reading. My receiver end picked up the signal with the same peak power at -30 dB (Image 3). I’…

---

## [Sending html email w/o template](https://www.ruby-forum.com/t/sending-html-email-w-o-template/234090)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [February 28, 2015, 7:29pm UTC](https://www.ruby-forum.com/t/sending-html-email-w-o-template/234090 "2015-02-28T19:29:57Z")

</div>

hi, i want to send html emails. i have a field containing a full html doc structure and i would like to send that. basically the user brings that and saves it to the db. i have tried various methods, with and withou…

---

## [Are you a Rubyist looking to re-locate from Italy to London, UK?](https://www.ruby-forum.com/t/are-you-a-rubyist-looking-to-re-locate-from-italy-to-london-uk/228207)

<div class="topic-metadata">

**Author:** [@rhysy](https://www.ruby-forum.com/u/rhysy)\
**Replies:** 3\
**Last updated:** [April 14, 2013, 11:46am UTC](https://www.ruby-forum.com/t/are-you-a-rubyist-looking-to-re-locate-from-italy-to-london-uk/228207 "2013-04-14T11:46:32Z")

</div>

I’m interested in speaking to a number of Rubyists regarding a range of jobs available with various partners who are based London, UK. Who am I? I’m Rhys, a recruiter who’s been helping smart/savvy Rubyists all over …

---

## [Rinda::RingFinger.primary broken on 1.9?](https://www.ruby-forum.com/t/rinda-ringfinger-primary-broken-on-1-9/219568)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 8, 2012, 11:51pm UTC](https://www.ruby-forum.com/t/rinda-ringfinger-primary-broken-on-1-9/219568 "2012-05-08T23:51:12Z")

</div>

The following code correctly errors (with RingNotFound) on Ruby 1.8.6 and 1.8.7, but hangs forever on 1.9.2 and 1.9.3: require ‘rinda/ring’ DRb.start\_service Rinda::RingFinger.primary This behavior is consistent on …

---

## [Problems with rubygems](https://www.ruby-forum.com/t/problems-with-rubygems/211689)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 12, 2011, 1:46pm UTC](https://www.ruby-forum.com/t/problems-with-rubygems/211689 "2011-09-12T13:46:02Z")

</div>

I am having some serious problems with rubygems and I can’t figure out if the problem is with my machine or rubygems itself. Using ubuntu and rvm… gem install bundler ERROR: While executing gem … (NoMethodError) un…

---

## [Does rspec 2 have fixture support?](https://www.ruby-forum.com/t/does-rspec-2-have-fixture-support/188235)

<div class="topic-metadata">

**Author:** [@SiSiSi](https://www.ruby-forum.com/u/SiSiSi)\
**Replies:** 3\
**Last updated:** [May 14, 2010, 12:20am UTC](https://www.ruby-forum.com/t/does-rspec-2-have-fixture-support/188235 "2010-05-14T00:20:11Z")

</div>

Am I right in thinking that rspec 2, being based on Micronaut, has no Rails fixture support? I tried to get my specs running under rspec-\* 2.0.0.beta.8 and Rails 3 edge, but no dice on the fixture front. I’ve tried co…

---

## [Programming Language History Visualization (#219)](https://www.ruby-forum.com/t/programming-language-history-visualization-219/174638)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 3\
**Last updated:** [October 5, 2009, 12:25am UTC](https://www.ruby-forum.com/t/programming-language-history-visualization-219/174638 "2009-10-05T00:25:15Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Convertion UTF8 vers HTML](https://www.ruby-forum.com/t/convertion-utf8-vers-html/173628)

<div class="topic-metadata">

**Author:** [@p1ngu](https://www.ruby-forum.com/u/p1ngu)\
**Replies:** 3\
**Last updated:** [August 12, 2009, 10:52am UTC](https://www.ruby-forum.com/t/convertion-utf8-vers-html/173628 "2009-08-12T10:52:15Z")

</div>

Bonjour, Dans ma BDD sont sockÃ©es plusieurs chaines de caractÃ¨res en HTML (c’est TinyMCE qui veut Ã§a - Ã©diteur WYSIWYG). Par ailleurs, je fais une petite fonction de recherche qui vÃ©rifie qu’un mot-clÃ© saisi da…

---

## [Thread starvation](https://www.ruby-forum.com/t/thread-starvation/158050)

<div class="topic-metadata">

**Author:** [@Jakub\_PavlSSS\_k\_jn](https://www.ruby-forum.com/u/Jakub_PavlSSS_k_jn)\
**Replies:** 3\
**Last updated:** [January 19, 2009, 11:22am UTC](https://www.ruby-forum.com/t/thread-starvation/158050 "2009-01-19T11:22:10Z")

</div>

Hello, In my game freeVikings \[http://freevikings.sf.net\] I have code listed below. It uses threads and sometimes problem known as “thread starvation” occurs. Does anyone know some solution? (A more detailed descri…

---

## [Rspec model testing - test on user defined validation- How do I test that the create failed](https://www.ruby-forum.com/t/rspec-model-testing-test-on-user-defined-validation-how-do-i-test-that-the-create-failed/157908)

<div class="topic-metadata">

**Author:** [@kenwei](https://www.ruby-forum.com/u/kenwei)\
**Replies:** 3\
**Last updated:** [January 16, 2009, 11:11pm UTC](https://www.ruby-forum.com/t/rspec-model-testing-test-on-user-defined-validation-how-do-i-test-that-the-create-failed/157908 "2009-01-16T23:11:14Z")

</div>

I’m new to rspec and looking for way to test a validation I added to a model. The test checks to see that if field1 has a value then field2 must be nil and vice versa. When I did the rspec\_scaffold it generated one…

---

## [Al eliminar en una lista indica que confirm no existe, solo pasa en mozilla](https://www.ruby-forum.com/t/al-eliminar-en-una-lista-indica-que-confirm-no-existe-solo-pasa-en-mozilla/156845)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 3\
**Last updated:** [January 5, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/al-eliminar-en-una-lista-indica-que-confirm-no-existe-solo-pasa-en-mozilla/156845 "2009-01-05T22:39:40Z")

</div>

Buenas seÃ±ores: Tengo una aplicaciÃ³n funcionando completamente, lo ultimo fue modificar el sistema de menÃº de esta aplicaciÃ³n para eso tome “At JsMenu 1.5.1”, y despuÃ©s no se si fue eso, pero en Mozilla dejo de …

---

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

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 3\
**Last updated:** [September 9, 2008, 11:42am UTC](https://www.ruby-forum.com/t/render-natively/148048 "2008-09-09T11:42:52Z")

</div>

I would like to render natively i.e. via a C dll that I have wrapped using SWIK. So I want my c code to receive a buffer that it can render to, and then have WXruby display this memory buffer/bitmap. Can anyone advis…

---

## [Generate accessors for an hash](https://www.ruby-forum.com/t/generate-accessors-for-an-hash/143865)

<div class="topic-metadata">

**Author:** [@andre83](https://www.ruby-forum.com/u/andre83)\
**Replies:** 3\
**Last updated:** [July 23, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/generate-accessors-for-an-hash/143865 "2008-07-23T15:11:58Z")

</div>

Hello, I need to generate read and write accessors for all the keys in an hash. Say I have an attribute named my\_attribute, I need “my\_attribute” and “my\_attribute=” methods to read and write it to @attributes\[my\_att…

---

## [Mysql::Error: Lost connection to MySQL server during query](https://www.ruby-forum.com/t/mysql-lost-connection-to-mysql-server-during-query/124763)

<div class="topic-metadata">

**Author:** [@Jonas\_ElfstrSSSSm](https://www.ruby-forum.com/u/Jonas_ElfstrSSSSm)\
**Replies:** 3\
**Last updated:** [January 4, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/mysql-lost-connection-to-mysql-server-during-query/124763 "2008-01-04T14:24:21Z")

</div>

Hello, This might have very little to do with Typo but suddenly my connection to mysql isn’t working (it might have happened after an apt-get update but I’m not sure). When I try to access my blog it fails and in the…

---

## [USRP temperature constraints?](https://www.ruby-forum.com/t/usrp-temperature-constraints/61771)

<div class="topic-metadata">

**Author:** [@Vincenzo\_P](https://www.ruby-forum.com/u/Vincenzo_P)\
**Replies:** 3\
**Last updated:** [May 30, 2006, 12:43pm UTC](https://www.ruby-forum.com/t/usrp-temperature-constraints/61771 "2006-05-30T12:43:50Z")

</div>

hi, I was just wondering whether the USRP has got some temperature specs that i should take into account. e.g. maximum continuous usage time, need for cooling, possibility to be enclosed in a case or anything else. …

---

## [How to check an input String is a number or not in ruby?](https://www.ruby-forum.com/t/how-to-check-an-input-string-is-a-number-or-not-in-ruby/61229)

<div class="topic-metadata">

**Author:** [@joshua-asem](https://www.ruby-forum.com/u/joshua-asem)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 6:17am UTC](https://www.ruby-forum.com/t/how-to-check-an-input-string-is-a-number-or-not-in-ruby/61229 "2006-05-23T06:17:54Z")

</div>

How to check an input String is a number or not in ruby? Thanks in advance, Joshua

---

## ["./blah/blah" vs. "/blah/blah"](https://www.ruby-forum.com/t/blah-blah-vs-blah-blah/81459)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 3\
**Last updated:** [March 14, 2006, 9:08am UTC](https://www.ruby-forum.com/t/blah-blah-vs-blah-blah/81459 "2006-03-14T09:08:04Z")

</div>

Hello, Earlier in my rails application, I was using the convention of writing the following to refer to templates and/or views in the view folder. “./blah/blah” But in the Edge rail, it doesn’t work and the page doe…

---

## [FM demodulator has no viable output](https://www.ruby-forum.com/t/fm-demodulator-has-no-viable-output/261491)

<div class="topic-metadata">

**Author:** [@Labanana](https://www.ruby-forum.com/u/Labanana)\
**Replies:** 0\
**Last updated:** [July 6, 2021, 1:55pm UTC](https://www.ruby-forum.com/t/fm-demodulator-has-no-viable-output/261491 "2021-07-06T13:55:52Z")

</div>

Hello, I try to listen to a local radio (101.1MHz) with my own SDR (based on ADRV9002) set to a center frequency of 101.0MHz. I can’t find a way to get a viable demodulation information using the different FM demodulat…

---

## ["translation missing" errors in production, not in development](https://www.ruby-forum.com/t/translation-missing-errors-in-production-not-in-development/190015)

<div class="topic-metadata">

**Author:** [@Meike](https://www.ruby-forum.com/u/Meike)\
**Replies:** 0\
**Last updated:** [June 11, 2010, 11:42am UTC](https://www.ruby-forum.com/t/translation-missing-errors-in-production-not-in-development/190015 "2010-06-11T11:42:39Z")

</div>

Hello, I’ve got a similar problem to this one: http://groups.google.com/group/rails-i18n/browse\_thread/thread/cce36deb0fb6dab3/bef233bf198bfe8f?lnk=gst&q=production+development#bef233bf198bfe8f Tranlations are working…

---

## [Shopify- Reoder collection array](https://www.ruby-forum.com/t/shopify-reoder-collection-array/242595)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [July 6, 2015, 3:26pm UTC](https://www.ruby-forum.com/t/shopify-reoder-collection-array/242595 "2015-07-06T15:26:18Z")

</div>

Hi guys, I have working on shopify liquid. I need to show the sold out products in last page (in last page of the pagination). example. If i have 10 soldout products in my collection array. This items should show t…

---

## [Nginx hotlinking protection issue with wildcards!](https://www.ruby-forum.com/t/nginx-hotlinking-protection-issue-with-wildcards/241004)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 9, 2014, 8:05am UTC](https://www.ruby-forum.com/t/nginx-hotlinking-protection-issue-with-wildcards/241004 "2014-05-09T08:05:43Z")

</div>

hello, I am using hotlinking protection for mp4 files but found that whenever i use wildcard in hot-linking, it doesn’t work properly and videos even play on the domain where it doesn’t suppose to be buffer. My mp…

---

## [OOT enums](https://www.ruby-forum.com/t/oot-enums/238153)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 23, 2013, 7:31pm UTC](https://www.ruby-forum.com/t/oot-enums/238153 "2013-12-23T19:31:20Z")

</div>

I am trying to access a C++ enumeration within an OOT module from a python instance of my OOT. When I try to run my python code it cannot find the enumeration. My OOT module is called pll\_freq\_phase\_det\_cf and is in…

---

## [How to generate a pdf calendar?](https://www.ruby-forum.com/t/how-to-generate-a-pdf-calendar/214855)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [December 16, 2011, 6:17pm UTC](https://www.ruby-forum.com/t/how-to-generate-a-pdf-calendar/214855 "2011-12-16T18:17:12Z")

</div>

I want to generate a pdf calendar, and I have incoming calendar data from a json interface. Any advice on things I should investigate to implement this?

---

## [How to upload mp3 with custom duration/length](https://www.ruby-forum.com/t/how-to-upload-mp3-with-custom-duration-length/195906)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 4\
**Last updated:** [October 2, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/how-to-upload-mp3-with-custom-duration-length/195906 "2010-10-02T19:14:48Z")

</div>

Does anyone know the right approach to change the duration/length of an uploaded mp3 file? User has the option to upload mp3 file as full, 30 secs or 90 secs. So far, I have gotten it to work for full. Do I have to us…

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

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