# Top

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

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

---

## [Find memory leak in very complex Ruby app](https://www.ruby-forum.com/t/find-memory-leak-in-very-complex-ruby-app/211838)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [September 15, 2011, 8:04am UTC](https://www.ruby-forum.com/t/find-memory-leak-in-very-complex-ruby-app/211838 "2011-09-15T08:04:05Z")

</div>

everyone! It’s nice to work with Ruby and write some code. But in past of this week, i notice that we have some problem in our application. Memory usage is growing like O(x\*3) function. Our application very complex, …

---

## [JRuby upgrading query](https://www.ruby-forum.com/t/jruby-upgrading-query/207783)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [June 3, 2011, 10:25pm UTC](https://www.ruby-forum.com/t/jruby-upgrading-query/207783 "2011-06-03T22:25:28Z")

</div>

Hi, JRuby newbie here. I installed version 1.6.1 a few weeks ago and have several dozen gems installed (all on the 1.8.7 version of ruby). My main interest is in using JRuby with Android. What is the most efficacious…

---

## [Active record, shÃ©ma simple](https://www.ruby-forum.com/t/active-record-sha-ma-simple/105784)

<div class="topic-metadata">

**Author:** [@differenthink](https://www.ruby-forum.com/u/differenthink)\
**Replies:** 8\
**Last updated:** [June 3, 2007, 1:04am UTC](https://www.ruby-forum.com/t/active-record-sha-ma-simple/105784 "2007-06-03T01:04:54Z")

</div>

Avé la communuauté… Voila j’ai une ou deux petites questions en rapport avec Active Record et la gestion des clés étrangère… J’ai une base de donnée contenant 3 tables, Client Achat Produit Donc la logique simple, …

---

## [Using multiple joins in queries](https://www.ruby-forum.com/t/using-multiple-joins-in-queries/227597)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [March 21, 2013, 10:39am UTC](https://www.ruby-forum.com/t/using-multiple-joins-in-queries/227597 "2013-03-21T10:39:54Z")

</div>

I have this query: Report. joins(:alerts). joins(:alert\_code). where(:unit\_id =\> unit\_id). where{time \< my{self.time}}. where(“alert\_codes.name LIKE ?”, “%Inside virtual fence%”). order(“reports.time DESC”).first …

---

## [Where define the script\_name?](https://www.ruby-forum.com/t/where-define-the-script-name/214844)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 14, 2011, 7:56pm UTC](https://www.ruby-forum.com/t/where-define-the-script-name/214844 "2011-12-14T19:56:10Z")

</div>

module ActionController module UrlFor extend ActiveSupport::Concern include AbstractController::UrlFor I have read the rails source.In the actionpack/lib/action\_controller/ metal/url\_for.rb def url\_options @\_url\_…

---

## [How to instantiate SAVON::Client object from a wsdl stored locally](https://www.ruby-forum.com/t/how-to-instantiate-savon-client-object-from-a-wsdl-stored-locally/201118)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 24, 2011, 7:12am UTC](https://www.ruby-forum.com/t/how-to-instantiate-savon-client-object-from-a-wsdl-stored-locally/201118 "2011-05-24T07:12:15Z")

</div>

Hi, I am using SAVON to consume webservices in my project. Savon lib uses the hosted wsdl to instantiate SAVON::Client object. I have to consume a WCF .net webservice. Its hosted WSDL does not have the message info i…

---

## [Include module in module](https://www.ruby-forum.com/t/include-module-in-module/155107)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 2\
**Last updated:** [December 8, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/include-module-in-module/155107 "2008-12-08T13:10:35Z")

</div>

Hi, I have a situation like this: module M … end class C1 include M … end class C2 include M … end Now I want to add methods to C1 and C2 and whatever other class includes M. My first approach was: module…

---

## [After\_create callback called twice in test env when using fi](https://www.ruby-forum.com/t/after-create-callback-called-twice-in-test-env-when-using-fi/113858)

<div class="topic-metadata">

**Author:** [@tsaleh](https://www.ruby-forum.com/u/tsaleh)\
**Replies:** 2\
**Last updated:** [June 14, 2008, 12:30am UTC](https://www.ruby-forum.com/t/after-create-callback-called-twice-in-test-env-when-using-fi/113858 "2008-06-14T00:30:24Z")

</div>

All, I’ve been trying to figure out a strange bug in one of my applications that I think I’ve narrowed down to a problem with rails fixtures. It seems as though the after\_create callback is being run twice when I sa…

---

## [Cdrom control and detection](https://www.ruby-forum.com/t/cdrom-control-and-detection/168522)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 5\
**Last updated:** [May 21, 2009, 11:17pm UTC](https://www.ruby-forum.com/t/cdrom-control-and-detection/168522 "2009-05-21T23:17:46Z")

</div>

OK, I know how to eject/open the CD drive on a linux box from within Ruby: system “eject” How do I detect that the user has inserted the next cd so that my program can continue cataloging cd contents? I know it’s mo…

---

## [Rewrite query string](https://www.ruby-forum.com/t/rewrite-query-string/137361)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [May 12, 2008, 8:47pm UTC](https://www.ruby-forum.com/t/rewrite-query-string/137361 "2008-05-12T20:47:55Z")

</div>

Hey folks, I simply can’t figure out how to rewrite the query string in nginx. I need to turn urls like foo.php?f=111 into foo.php?111 and similar things. From reading past messages in the lists it seems like I can o…

---

## [Bi-directional pipe?](https://www.ruby-forum.com/t/bi-directional-pipe/88723)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 5\
**Last updated:** [March 13, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/bi-directional-pipe/88723 "2007-03-13T22:17:51Z")

</div>

Is there any standard Ruby way of creating a bidirectional pipe or socketpair? I want to pass a single IO-like object around, but to be able to both read and write from the other end. (What I’m actually trying to do …

---

## [Thread AssertionError and Libc++abi.dylib on Mac Transmissions](https://www.ruby-forum.com/t/thread-assertionerror-and-libc-abi-dylib-on-mac-transmissions/225544)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [January 22, 2013, 11:46am UTC](https://www.ruby-forum.com/t/thread-assertionerror-and-libc-abi-dylib-on-mac-transmissions/225544 "2013-01-22T11:46:38Z")

</div>

Hey Folks, I’ve installed the latest version of GNURadio (3.6.3) using MacPorts on a fresh Macbook Pro running 10.8.2 using, sudo port install gnuradio +full configure.compiler=llvm-gcc-4.2 Installation was flawless…

---

## [PHP lo odio](https://www.ruby-forum.com/t/php-lo-odio/221725)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [July 27, 2012, 3:35pm UTC](https://www.ruby-forum.com/t/php-lo-odio/221725 "2012-07-27T15:35:16Z")

</div>

public static function getStringLevels($file) { $liv1=abs(crc32(“A”.$file)) % 256; $liv2=abs(crc32(“B”.$file)) % 1024; return array($liv1,$liv2); } Questa roba qui serve per costruire 2 livelli di di…

---

## [Localized views fallbacks](https://www.ruby-forum.com/t/localized-views-fallbacks/201984)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 15, 2011, 8:52pm UTC](https://www.ruby-forum.com/t/localized-views-fallbacks/201984 "2011-03-15T20:52:25Z")

</div>

I am using Rails 2.3.8 and have setup in config/initializers/i18n.rb I18n.backend.class.send(:include, I18n::Backend::Fallbacks) I18n.fallbacks.map(:tc =\> \[:sc, :en\]) so that if there is no translation in tc, the sc t…

---

## [Install gnu radio on to ubuntu linux 9.04 (Jaunty)](https://www.ruby-forum.com/t/install-gnu-radio-on-to-ubuntu-linux-9-04-jaunty/182070)

<div class="topic-metadata">

**Author:** [@Makmur\_H](https://www.ruby-forum.com/u/Makmur_H)\
**Replies:** 7\
**Last updated:** [February 1, 2010, 12:39pm UTC](https://www.ruby-forum.com/t/install-gnu-radio-on-to-ubuntu-linux-9-04-jaunty/182070 "2010-02-01T12:39:33Z")

</div>

Dear all, I want to install gnu radio on to ubuntu linux 9.04 (Jaunty). And I have downloaded the deb package as list below. After that, do I install all package one by one? Thank you Makmur List deb package that I …

---

## [Do\_sqlite 10 windows 1.9 gem](https://www.ruby-forum.com/t/do-sqlite-10-windows-1-9-gem/179171)

<div class="topic-metadata">

**Author:** [@jonty](https://www.ruby-forum.com/u/jonty)\
**Replies:** 7\
**Last updated:** [November 23, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/do-sqlite-10-windows-1-9-gem/179171 "2009-11-23T23:54:12Z")

</div>

I understand that this is not yet compiled for ruby 1.9 on windows I would love to have a go at compiling it as I need it to access my sqlite db from ruby 1.9 - it appears to be the last obstacle I have googled far an…

---

## [Rails + DB2](https://www.ruby-forum.com/t/rails-db2/135712)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 7\
**Last updated:** [May 5, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/rails-db2/135712 "2008-05-05T18:14:00Z")

</div>

Stavo facendo un applicazione di prova con rails e DB2 per capirne le potenzialitÃ , continuo su questo forum la mia odissea nel caso possa servire ad altri. Premetto che ho avuto non pochi problemi nell’installare la…

---

## [OCD, end statements, and vertical space](https://www.ruby-forum.com/t/ocd-end-statements-and-vertical-space/122684)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 7\
**Last updated:** [December 13, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/ocd-end-statements-and-vertical-space/122684 "2007-12-13T12:29:33Z")

</div>

I spent too many years in PL/I, where nested functions and subroutines look like this: outer: procedure (param1); declare param1 char(4); declare local char(1); put skip; put skip list (‘hello outer’); put…

---

## [Rails on OS X 10.3.9 not working](https://www.ruby-forum.com/t/rails-on-os-x-10-3-9-not-working/54927)

<div class="topic-metadata">

**Author:** [@Marc\_Hanisch](https://www.ruby-forum.com/u/Marc_Hanisch)\
**Replies:** 7\
**Last updated:** [March 15, 2006, 1:12pm UTC](https://www.ruby-forum.com/t/rails-on-os-x-10-3-9-not-working/54927 "2006-03-15T13:12:54Z")

</div>

Hello, I’ve installed Ruby 1.8.4 via Darwinports, installed gem 0.8.11 too and then installed Rails via gem. I’m using OS X 10.3.9. When I now type rails in the terminal, the following lines appear: rails /opt/local/…

---

## [Alarm?](https://www.ruby-forum.com/t/alarm/69861)

<div class="topic-metadata">

**Author:** [@Michael\_PSSoulier](https://www.ruby-forum.com/u/Michael_PSSoulier)\
**Replies:** 4\
**Last updated:** [September 25, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/alarm/69861 "2006-09-25T14:42:13Z")

</div>

Hello, I see that there is a Signal class in the core for catching signals. Where would the alarm system call be, for setting a SIGALRM? I can’t seem to find it. Thanks, Mike

---

## [Re: cannot get past "Booting WEBrick"](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361)

<div class="topic-metadata">

**Author:** [@A\_Qureshi](https://www.ruby-forum.com/u/A_Qureshi)\
**Replies:** 4\
**Last updated:** [July 28, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361 "2006-07-28T19:24:07Z")

</div>

Thanks for the hint. The book says that I should expect the following traces after “Booting WEBrick…”: demo\> ruby script/server =\> Booting WEBrick… =\> Rails application started on http://0.0.0.0:3000 =\> Ctrl-C to s…

---

## [Trouble with composed\_of](https://www.ruby-forum.com/t/trouble-with-composed-of/55295)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [March 19, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/trouble-with-composed-of/55295 "2006-03-19T17:47:16Z")

</div>

I’m trying to use composed\_of within my model. I have a field in my database named ‘card1’, which is simply a string. I have this in my model class Player \< ActiveRecord::Base composed\_of :card1, :class\_name =\> ‘Ca…

---

## [Net::FTP impossibile caricare file](https://www.ruby-forum.com/t/net-ftp-impossibile-caricare-file/245714)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 2, 2013, 8:08am UTC](https://www.ruby-forum.com/t/net-ftp-impossibile-caricare-file/245714 "2013-07-02T08:08:22Z")

</div>

Ciao a tutti, ho un problema fastidioso su del codice Ruby in un’applicazione Rails su staging. In sostanza: esiste un task lanciato da rake che prende un file su disco e lo carica tramite FTP su un altro server. Te…

---

## [Periodically autosave form](https://www.ruby-forum.com/t/periodically-autosave-form/167542)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [May 11, 2009, 11:54am UTC](https://www.ruby-forum.com/t/periodically-autosave-form/167542 "2009-05-11T11:54:06Z")

</div>

Would someone show how to implement a periodical save of a form in the background? Same kinda thing that gmail does. I would like to autosave a form ajax wise so a technician in the field would have it saved off in …

---

## [AJAX call creates new instance of controller class](https://www.ruby-forum.com/t/ajax-call-creates-new-instance-of-controller-class/114967)

<div class="topic-metadata">

**Author:** [@shishir\_s](https://www.ruby-forum.com/u/shishir_s)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 8:55am UTC](https://www.ruby-forum.com/t/ajax-call-creates-new-instance-of-controller-class/114967 "2007-09-20T08:55:18Z")

</div>

Hi All, I have a problem with the AJAX requests in rails. Consider a controller class C with some methods M1, M2, M3. For this controller class I have a view V.rhtml. Within V.rhtml I have a periodically\_call\_remote …

---

## [Retorno de carro](https://www.ruby-forum.com/t/retorno-de-carro/81522)

<div class="topic-metadata">

**Author:** [@algnod](https://www.ruby-forum.com/u/algnod)\
**Replies:** 3\
**Last updated:** [January 9, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/retorno-de-carro/81522 "2007-01-09T20:28:33Z")

</div>

Amigos una consulta: llevo ya 1 hora buscando y no he encontrado (quizas haya buscado mal) pues necesito que mis post en mi blog en rails que ando haciendo se mantenga con el retorno de carro que le coloco… asi como…

---

## [Ways of getting more engines features into Rails core?](https://www.ruby-forum.com/t/ways-of-getting-more-engines-features-into-rails-core/80726)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 3\
**Last updated:** [December 30, 2006, 10:51pm UTC](https://www.ruby-forum.com/t/ways-of-getting-more-engines-features-into-rails-core/80726 "2006-12-30T22:51:26Z")

</div>

Hi, It seems like DHH has never built almost the same site twice as he won’t embrace the idea of engines into Rails. What changes need to be made to Rails API so engines don’t need to monkeypatch their way in? Is the…

---

## [Storing a Hash in a database table using YAML--anything bett](https://www.ruby-forum.com/t/storing-a-hash-in-a-database-table-using-yaml-anything-bett/72952)

<div class="topic-metadata">

**Author:** [@JSBSRainsberger](https://www.ruby-forum.com/u/JSBSRainsberger)\
**Replies:** 3\
**Last updated:** [October 20, 2006, 6:24am UTC](https://www.ruby-forum.com/t/storing-a-hash-in-a-database-table-using-yaml-anything-bett/72952 "2006-10-20T06:24:41Z")

</div>

I’m a beginning Rails programmer, so please be gentle. I want to store a hash as a single row in a database table. I’m currently storing each name/value pair as a row with a reference back to the “parent” row, but tha…

---

## [Undefined local variable in partial](https://www.ruby-forum.com/t/undefined-local-variable-in-partial/50579)

<div class="topic-metadata">

**Author:** [@torstello](https://www.ruby-forum.com/u/torstello)\
**Replies:** 3\
**Last updated:** [October 17, 2006, 5:34am UTC](https://www.ruby-forum.com/t/undefined-local-variable-in-partial/50579 "2006-10-17T05:34:33Z")

</div>

i can’t get rid of the following error: ActionView::TemplateError (undefined local variable or method \`order\_line’ for #\<#Class:0xb75b2090:0xb75b1f28\>) on line #13 of app/views/admin/\_order\_line.rhtml: 10: 11: …

---

## [New patch for ruby-glade-create-template.rb](https://www.ruby-forum.com/t/new-patch-for-ruby-glade-create-template-rb/57974)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/new-patch-for-ruby-glade-create-template-rb/57974 "2006-05-03T19:06:39Z")

</div>

Hey Masao, Got another patch for ya, to update the Glade Create Template program. This allows widgets that are in the glade xml file, be defined as read attributes on the Class object. EG: Glade has definition for ‘…

---

## [RMagick Install Woes ;\_;](https://www.ruby-forum.com/t/rmagick-install-woes/204323)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 24, 2012, 9:11pm UTC](https://www.ruby-forum.com/t/rmagick-install-woes/204323 "2012-05-24T21:11:49Z")

</div>

Running Win7 64 bit Having troubles installing RMagick. I was following the read me, and I only got to the part where it tells you to type out “gem install rmagick –local” and then I get the following error: “ERROR: …

---

## [Scrivere su file da model, restare dry è possibile?](https://www.ruby-forum.com/t/scrivere-su-file-da-model-restare-dry-e-possibile/202458)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 1, 2011, 11:51am UTC](https://www.ruby-forum.com/t/scrivere-su-file-da-model-restare-dry-e-possibile/202458 "2011-02-01T11:51:49Z")

</div>

salve ragazzi. avendo quasi finito il blog di prova per impararmi rails (ho dei problemi sul routing), avrei intenzione di fare un bel progettino che sia veramente utile. non so se mi sono presentato in precedenza, ma…

---

## [Nginx as reverse proxy to Hudson-Logout issue](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-to-hudson-logout-issue/194216)

<div class="topic-metadata">

**Author:** [@mogaroy](https://www.ruby-forum.com/u/mogaroy)\
**Replies:** 6\
**Last updated:** [September 7, 2010, 10:26am UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-to-hudson-logout-issue/194216 "2010-09-07T10:26:01Z")

</div>

Hello list, I have configured nginx as a reverse proxy to our hudson build server as follows: \[b\]server { listen 80; server\_name koala.proxy.internal; location /hudson/ { proxy\_pass http://build.exa…

---

## [Thread.bind(sym, val) { ... }](https://www.ruby-forum.com/t/thread-bind-sym-val/192379)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 6\
**Last updated:** [July 30, 2010, 11:12am UTC](https://www.ruby-forum.com/t/thread-bind-sym-val/192379 "2010-07-30T11:12:59Z")

</div>

e$B%9%l%C%IJQ?t$r0l;~E\*$K@\_Dj$9$k%a%=%C%I$r2C$($k$N$O$I$&$G$7$g$&$+!#e(B e$B$?$H$($Pe(B Thread#bind(sym, val) { … } e$B$H$7$F!“e(B e$B%V%m%C%/$r8F$S=P$7$F$$$k$”$$$@!"%9%l%C%IJQ?te(B sym e$B$re(B val e$B$K@\_Dj$9$k!"$H$…

---

## [Routing Error on rails3](https://www.ruby-forum.com/t/routing-error-on-rails3/184223)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 6\
**Last updated:** [March 18, 2010, 7:05pm UTC](https://www.ruby-forum.com/t/routing-error-on-rails3/184223 "2010-03-18T19:05:59Z")

</div>

Hi All, I am new to Ruby on Rails and have rails3 installed. After I type this on the command line $rails g controller Pages home contact then, I go to http://localhost:3000/pages/home I got Routing Error No route…

---

## [Admin: Application error (Apache)](https://www.ruby-forum.com/t/admin-application-error-apache/117537)

<div class="topic-metadata">

**Author:** [@thechak](https://www.ruby-forum.com/u/thechak)\
**Replies:** 6\
**Last updated:** [October 22, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/admin-application-error-apache/117537 "2007-10-22T19:02:31Z")

</div>

The main part of the site works, the admin section throws this error: Application error (Apache) Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in …

---

## [Help me about Bcrypt-ruby](https://www.ruby-forum.com/t/help-me-about-bcrypt-ruby/227538)

<div class="topic-metadata">

**Author:** [@haxuanlac](https://www.ruby-forum.com/u/haxuanlac)\
**Replies:** 1\
**Last updated:** [March 21, 2013, 3:01am UTC](https://www.ruby-forum.com/t/help-me-about-bcrypt-ruby/227538 "2013-03-21T03:01:51Z")

</div>

I’m create a login form using Bcrypt-ruby but have error: uninitialized constant User::BCrypt I had setup Bcrypt-ruby in Gemfile gem “bcrypt-ruby”, :require =\> “bcrypt” and restart,rake db:migrate but not run.I had r…

---

## [Compile fpga code error](https://www.ruby-forum.com/t/compile-fpga-code-error/191959)

<div class="topic-metadata">

**Author:** [@John\_Wu](https://www.ruby-forum.com/u/John_Wu)\
**Replies:** 1\
**Last updated:** [July 21, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/compile-fpga-code-error/191959 "2010-07-21T18:23:20Z")

</div>

Hi all, I use Qartus II version 9.1 web edition to compile fpga code, meet a lot of error. I enter “D:\\fpga\\usrp1\\toplevel\\usrp\_inband\_usb” then open “usrp\_inband\_usb.qpf” then I compile this project. error below: E…

---

## [Call an Oracle function](https://www.ruby-forum.com/t/call-an-oracle-function/177977)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 2:53pm UTC](https://www.ruby-forum.com/t/call-an-oracle-function/177977 "2009-10-27T14:53:04Z")

</div>

Hi all, I need to call a Oracle function from Rais.Does anyone have some experience with it? Thanks, Rafael

---

## [UHD Warning](https://www.ruby-forum.com/t/uhd-warning/224511)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 15, 2012, 3:54pm UTC](https://www.ruby-forum.com/t/uhd-warning/224511 "2012-11-15T15:54:56Z")

</div>

Hello I’m using USRP2 Rev 4.0 with a daughterboard xcvr2450 When I use the commmand “uhd\_usrp\_probe” I got this message UHD Warning: Unable to set the thread priority. Performance may be negatively affected. Pl…

---

## [Sanitize SQL?](https://www.ruby-forum.com/t/sanitize-sql/147034)

<div class="topic-metadata">

**Author:** [@Clinton\_Judy](https://www.ruby-forum.com/u/Clinton_Judy)\
**Replies:** 2\
**Last updated:** [August 27, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/sanitize-sql/147034 "2008-08-27T22:01:03Z")

</div>

I have the following code in my model, that executes a stored procedure: connection.execute "exec PS\_SaveData ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?", day.to\_s, crew\_leader.to\_s, dayshiftyn.to\_s, numtruck…

---

## [Repo.nitroproject.org vs. facets version?](https://www.ruby-forum.com/t/repo-nitroproject-org-vs-facets-version/123448)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 12:26am UTC](https://www.ruby-forum.com/t/repo-nitroproject-org-vs-facets-version/123448 "2007-12-18T00:26:54Z")

</div>

Hi, Which version of facets should I be using with the latest nitro repo code? I’ve done a darcs get of the latest repo.nitroproject.org, and I’ve updated to facets-2.2.0 (also tried facets SVN trunk). I’m getting: …

---

## [Boost Sorting with Acts\_as\_ferret?](https://www.ruby-forum.com/t/boost-sorting-with-acts-as-ferret/84316)

<div class="topic-metadata">

**Author:** [@patched](https://www.ruby-forum.com/u/patched)\
**Replies:** 2\
**Last updated:** [February 4, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/boost-sorting-with-acts-as-ferret/84316 "2007-02-04T20:10:21Z")

</div>

Hey guys, Simple question here. I have a single index of recipes, from which I'm looking at the following fields: Name, Ingredient Text, Tags, and Description. The key is, I want to show all the results that come fr…

---

## [Redirect after validation](https://www.ruby-forum.com/t/redirect-after-validation/77919)

<div class="topic-metadata">

**Author:** [@godsmurf](https://www.ruby-forum.com/u/godsmurf)\
**Replies:** 2\
**Last updated:** [March 7, 2006, 7:48pm UTC](https://www.ruby-forum.com/t/redirect-after-validation/77919 "2006-03-07T19:48:33Z")

</div>

I have a difficulty with something that makes me think I don’t understand an aspect of Rails what. I’ve made a sort of blog site, and under each article I show the comments and a comment form. The comment model valida…

---

## [Find All records with associated records](https://www.ruby-forum.com/t/find-all-records-with-associated-records/244446)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [April 12, 2016, 11:54am UTC](https://www.ruby-forum.com/t/find-all-records-with-associated-records/244446 "2016-04-12T11:54:29Z")

</div>

Hi, Using rails 4, I have two models Supplier and Category Category belongs\_to Supplier and Supplier has\_many categories now the suppliers table has fields, company\_name, address, phone etc. and id and the categori…

---

## [Calling ruby function from C](https://www.ruby-forum.com/t/calling-ruby-function-from-c/239878)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [March 19, 2014, 11:28am UTC](https://www.ruby-forum.com/t/calling-ruby-function-from-c/239878 "2014-03-19T11:28:26Z")

</div>

I use ruby version 1.8.7. I’ve got the ruby function in the file test.rb: def work1(arr\_name) puts “foo1” for name in arr\_name @i = @i+1 puts @i puts name end # for end # def I want to call it from C-code: #i…

---

## [JRuby is in Google Summer of Code 2012!](https://www.ruby-forum.com/t/jruby-is-in-google-summer-of-code-2012/217962)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 22, 2012, 5:44pm UTC](https://www.ruby-forum.com/t/jruby-is-in-google-summer-of-code-2012/217962 "2012-03-22T17:44:04Z")

</div>

I am absolutely thrilled to announce that JRuby has been accepted as an organization for Google Summer of Code 2012! http://www.google-melange.com/gsoc/org/google/gsoc2012/jruby JRuby is already an excellent project, …

---

## [cTioga - help with axes](https://www.ruby-forum.com/t/ctioga-help-with-axes/226142)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 5\
**Last updated:** [January 9, 2011, 2:11pm UTC](https://www.ruby-forum.com/t/ctioga-help-with-axes/226142 "2011-01-09T14:11:43Z")

</div>

Hello all, I would like to have a plot where the bottom x-axis has major ticks with numbers (majornum) and the top x-axis is major ticks without numbers. Is there a way to do this? Every time I try something one or th…

---

## [Hard time setting up ruby with apache](https://www.ruby-forum.com/t/hard-time-setting-up-ruby-with-apache/107193)

<div class="topic-metadata">

**Author:** [@galecho](https://www.ruby-forum.com/u/galecho)\
**Replies:** 5\
**Last updated:** [June 19, 2007, 5:29am UTC](https://www.ruby-forum.com/t/hard-time-setting-up-ruby-with-apache/107193 "2007-06-19T05:29:15Z")

</div>

Hi, I’ve browsed alot through this forum, did online search but havent been able to successfully setup Ruby with Apache. All I want to do is create a form handling script using Ruby. I tried renaming .rb scrips as .cg…

---

## [Rake db:migrate - error 'tSYMBEG'](https://www.ruby-forum.com/t/rake-db-migrate-error-tsymbeg/85846)

<div class="topic-metadata">

**Author:** [@jpigford](https://www.ruby-forum.com/u/jpigford)\
**Replies:** 5\
**Last updated:** [February 16, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-error-tsymbeg/85846 "2007-02-16T20:04:39Z")

</div>

I’m going through the ‘Depot’ project in “Agile Web D. with Rails”. I just made the 003\_add\_test\_data.rb file and when I do a “rake db:migrate”, I get this error and I can’t figure out what is wrong: rake aborted! .…

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

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