# Top

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

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

---

## [Importing application constants into models and backgroundrb workers - How To?](https://www.ruby-forum.com/t/importing-application-constants-into-models-and-backgroundrb-workers-how-to/162354)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 9, 2009, 9:24am UTC](https://www.ruby-forum.com/t/importing-application-constants-into-models-and-backgroundrb-workers-how-to/162354 "2009-03-09T09:24:07Z")

</div>

Hi, I have an app\_constants.rb file for defining my constants. I need the same constants for checking conditions with my models and backgroundrb workers. When i tried require “app\_constants” in my models files it doe…

---

## [ProblÃ¨me d'installation 2.1.2](https://www.ruby-forum.com/t/probla-me-dinstallation-2-1-2/160490)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 2\
**Last updated:** [February 17, 2009, 10:36am UTC](https://www.ruby-forum.com/t/probla-me-dinstallation-2-1-2/160490 "2009-02-17T10:36:27Z")

</div>

Bonjour j’ai essayé d’installé la version 2.1.2 sur monc Mac. A priori ça a marché et quand je fait rails -v j’obtiens bien 2.1.2 Par contre quand je lance mon projet avec netbeans), j’obtiens le message suivant Miss…

---

## [Image](https://www.ruby-forum.com/t/image/152861)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 2\
**Last updated:** [November 10, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/image/152861 "2008-11-10T18:25:08Z")

</div>

Bonjour, Lorsque j’affiche une image dans mon code html, le nom de celle-ci est complétée avec un identifiant (timestamp si j’ai bien compris) du genre “image.png?1220803169”. Y-a-t-il un moyen de supprimer cet ident…

---

## [Updated IronRuby / Mono install](https://www.ruby-forum.com/t/updated-ironruby-mono-install/152680)

<div class="topic-metadata">

**Author:** [@jose\_d](https://www.ruby-forum.com/u/jose_d)\
**Replies:** 2\
**Last updated:** [November 7, 2008, 3:05am UTC](https://www.ruby-forum.com/t/updated-ironruby-mono-install/152680 "2008-11-07T03:05:17Z")

</div>

Wondering if there is an update to the instructions currently on ironruby.net? I’ve downloaded the latest stable build of Mono and trying to use the latest SVN of IronRuby but it doesn’t want to compile. Even revertin…

---

## [RSpecing a â€˜binaryâ€™](https://www.ruby-forum.com/t/rspecing-a-a-binarya/151765)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 2\
**Last updated:** [November 1, 2008, 10:44pm UTC](https://www.ruby-forum.com/t/rspecing-a-a-binarya/151765 "2008-11-01T22:44:55Z")

</div>

Hello, good folk of rspec-users. Iâ€™m writing my first Ruby â€˜binaryâ€™ (i.e., a script meant to be used as a standalone system command) and Iâ€™m wondering how to RSpec it. (Caveat: With all of my other code I almo…

---

## [Net::FTP adding port as initialize/open parameter](https://www.ruby-forum.com/t/net-ftp-adding-port-as-initialize-open-parameter/149492)

<div class="topic-metadata">

**Author:** [@lunatyq](https://www.ruby-forum.com/u/lunatyq)\
**Replies:** 2\
**Last updated:** [September 25, 2008, 1:53pm UTC](https://www.ruby-forum.com/t/net-ftp-adding-port-as-initialize-open-parameter/149492 "2008-09-25T13:53:13Z")

</div>

Hello, This is probably question to Rails Core: Why there is no option to supply port parameter to Net::FTP.new/open ? My suggestion is to add an port parameter to new and open so code below: Net::FTP.new(“ftp.host.c…

---

## [Ayuda para efecto en ventanas?](https://www.ruby-forum.com/t/ayuda-para-efecto-en-ventanas/146115)

<div class="topic-metadata">

**Author:** [@cecci](https://www.ruby-forum.com/u/cecci)\
**Replies:** 2\
**Last updated:** [August 18, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/ayuda-para-efecto-en-ventanas/146115 "2008-08-18T16:33:02Z")

</div>

Holas… un favor quisiera saber si pueden ayudarme para hacer que las ventanas de new, edit… no se abran en otra pagina… sino que aparezan al centro como las ventanas de alertas Ej: http://extjs.com/deploy/dev/examples…

---

## [Re: running a specific describe block](https://www.ruby-forum.com/t/re-running-a-specific-describe-block/131714)

<div class="topic-metadata">

**Author:** [@bloc](https://www.ruby-forum.com/u/bloc)\
**Replies:** 2\
**Last updated:** [March 12, 2008, 10:16pm UTC](https://www.ruby-forum.com/t/re-running-a-specific-describe-block/131714 "2008-03-12T22:16:47Z")

</div>

This doesn’t work for me on 1.1.3 I have something like this: describe Support do describe “attached image” do it “should validate presence of attachment” do # test stuff … end it "should validate that attachmen…

---

## [Failed to load Rails: Could not find RubyGem jruby-openssl](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919)

<div class="topic-metadata">

**Author:** [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Replies:** 2\
**Last updated:** [January 24, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919 "2008-01-24T15:07:41Z")

</div>

Hi, I am new to Rails.I am trying to run rails application in Tomcat. I am getting the fallowing error. INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (\>= 0.0.0) But I have installed JRuby-openssl …

---

## [ProblÃ¨me avec HAML](https://www.ruby-forum.com/t/probla-me-avec-haml/123357)

<div class="topic-metadata">

**Author:** [@jordan-brough](https://www.ruby-forum.com/u/jordan-brough)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 1:38am UTC](https://www.ruby-forum.com/t/probla-me-avec-haml/123357 "2007-12-17T01:38:36Z")

</div>

Hello.world, J’ai un petit problème avec HAML. En environement de dev, tout est OK, il render les pages. Mais en environement de prod ou de test, il ne le fait pas. Par exemple pour EventsController#index : Errno::E…

---

## [HTML-Email mit eingebautem Bild](https://www.ruby-forum.com/t/html-email-mit-eingebautem-bild/116640)

<div class="topic-metadata">

**Author:** [@stephanos](https://www.ruby-forum.com/u/stephanos)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/html-email-mit-eingebautem-bild/116640 "2007-10-08T19:49:44Z")

</div>

Hallo, wie kann ich mittels ActionMailer eine Email versenden, bei der ein Bild mitgeschickt und in der Mail angezeigt wird. Das Ergebnis soll also folgendermassen aussehen: Hallo Username, dies ist das von dir gew…

---

## [Indicador "Loading" ajax](https://www.ruby-forum.com/t/indicador-loading-ajax/113554)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 2\
**Last updated:** [September 3, 2007, 8:23am UTC](https://www.ruby-forum.com/t/indicador-loading-ajax/113554 "2007-09-03T08:23:37Z")

</div>

Hola, En una llamada ajax cómo puedo hacer para mostrar un loading en el tiempo que llama a la función y retorna los datos? \<%= link\_to\_remote( cli.nombre, :update =\> “listado\_categorias”, :url =\>{ :action =\> :getCate…

---

## [Plugin within an extension](https://www.ruby-forum.com/t/plugin-within-an-extension/113154)

<div class="topic-metadata">

**Author:** [@Dylan\_Nichols](https://www.ruby-forum.com/u/Dylan_Nichols)\
**Replies:** 2\
**Last updated:** [August 29, 2007, 3:13am UTC](https://www.ruby-forum.com/t/plugin-within-an-extension/113154 "2007-08-29T03:13:10Z")

</div>

Hi I’ve built a simple events extension that has it’s own tags. I’m currently trying to incorporate the calendar\_helper plugin from Topfunky: http://topfunky.net/svn/plugins/calendar\_helper/ I want to be able to gen…

---

## ["form\_for" names fields using brackets = javascript problems](https://www.ruby-forum.com/t/form-for-names-fields-using-brackets-javascript-problems/108476)

<div class="topic-metadata">

**Author:** [@Andreas\_Hallberg](https://www.ruby-forum.com/u/Andreas_Hallberg)\
**Replies:** 2\
**Last updated:** [July 4, 2007, 7:58am UTC](https://www.ruby-forum.com/t/form-for-names-fields-using-brackets-javascript-problems/108476 "2007-07-04T07:58:32Z")

</div>

Hi all, The “form\_for” helper and its friends “text\_field\_for” etc generate form fields with names like "forum\[title\]â€, i.e. using square brackets to denote attributes on model objects. Now, for the convenience of …

---

## [On Deploy Files/Folders Also Created On Separate DB Server](https://www.ruby-forum.com/t/on-deploy-files-folders-also-created-on-separate-db-server/106737)

<div class="topic-metadata">

**Author:** [@jnunemaker](https://www.ruby-forum.com/u/jnunemaker)\
**Replies:** 2\
**Last updated:** [June 14, 2007, 8:03am UTC](https://www.ruby-forum.com/t/on-deploy-files-folders-also-created-on-separate-db-server/106737 "2007-06-14T08:03:35Z")

</div>

I have a web/app/svn server and a separate database server. Whenever I deploy my app, it treats the db server identical to the web/app server. By that, I mean it sets up the releases folder, etc. and deploys the entir…

---

## [Rails Initialization](https://www.ruby-forum.com/t/rails-initialization/105448)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 2\
**Last updated:** [May 30, 2007, 5:02am UTC](https://www.ruby-forum.com/t/rails-initialization/105448 "2007-05-30T05:02:15Z")

</div>

I have labored under the (possibly naive) misconception that a Rails app initialized and loaded on every request. Now I’ve found hints that the core application loads and stays available for later requests? How is t…

---

## [What is the day to day maintenance requirements of ferret?](https://www.ruby-forum.com/t/what-is-the-day-to-day-maintenance-requirements-of-ferret/104258)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 2\
**Last updated:** [May 20, 2007, 6:10am UTC](https://www.ruby-forum.com/t/what-is-the-day-to-day-maintenance-requirements-of-ferret/104258 "2007-05-20T06:10:49Z")

</div>

What should I be doing to maintain ferret and help prevent index corruption? Do I need to rebuild it manually every night/week/day?

---

## [Scaffolding tries to connect to wrong db](https://www.ruby-forum.com/t/scaffolding-tries-to-connect-to-wrong-db/104362)

<div class="topic-metadata">

**Author:** [@coelho](https://www.ruby-forum.com/u/coelho)\
**Replies:** 2\
**Last updated:** [May 17, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/scaffolding-tries-to-connect-to-wrong-db/104362 "2007-05-17T19:17:11Z")

</div>

Hello, Im getting an error when trying to scaffold, rails tries to connect to the wrong database, I am running RoR on windows. When I try to acces localhost:3000/contexts I get this Mysql::Error in ContextsController…

---

## [\[C.L.R\],\[RoR\] How I convert string to method?](https://www.ruby-forum.com/t/c-l-r-ror-how-i-convert-string-to-method/86159)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [February 20, 2007, 11:11am UTC](https://www.ruby-forum.com/t/c-l-r-ror-how-i-convert-string-to-method/86159 "2007-02-20T11:11:08Z")

</div>

Hi, suppose I have 2 strings: s1 = “hello” s2 = “capitalize” I want to do this: m = s2.to\_method s1.m =\> “Hello” I’m working on a Rails project where I want to call arbitrary methods of a model class. At run-t…

---

## [DBSRX, I2C Interface Verification](https://www.ruby-forum.com/t/dbsrx-i2c-interface-verification/84980)

<div class="topic-metadata">

**Author:** [@Gregory\_W\_Heckler](https://www.ruby-forum.com/u/Gregory_W_Heckler)\
**Replies:** 2\
**Last updated:** [February 9, 2007, 3:37am UTC](https://www.ruby-forum.com/t/dbsrx-i2c-interface-verification/84980 "2007-02-09T03:37:43Z")

</div>

I’m in the process of debugging my DBSRX driver, and have verified the following: The GC1 input voltage from the aux\_dac can be properly commanded. Verification was carried out by probing the GC1 pin on the Max2118 …

---

## [Integrar todo?](https://www.ruby-forum.com/t/integrar-todo/83275)

<div class="topic-metadata">

**Author:** [@william](https://www.ruby-forum.com/u/william)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/integrar-todo/83275 "2007-01-25T15:56:36Z")

</div>

bueno muchachos, suponiendo que ya tengo todo, modelo, controler y vistas funcioinando, ahora como integro todo? me imagino que desde un formulario index.rhtml y hago link a todas las vistas? o algo asi como un menu? …

---

## [Looking for a Dev](https://www.ruby-forum.com/t/looking-for-a-dev/66722)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 2\
**Last updated:** [September 3, 2006, 4:27am UTC](https://www.ruby-forum.com/t/looking-for-a-dev/66722 "2006-09-03T04:27:32Z")

</div>

Would it be appropriate here to ask if anyone is interested in working on some Rails projects I have? Feel free to email me if so. ~~~~~~~~~~~~\*~ Todd B. removed\_email\_address@domain.invalid 858-752-1459

---

## [Too many clauses exception](https://www.ruby-forum.com/t/too-many-clauses-exception/101077)

<div class="topic-metadata">

**Author:** [@kuzb](https://www.ruby-forum.com/u/kuzb)\
**Replies:** 2\
**Last updated:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/too-many-clauses-exception/101077 "2006-08-03T14:23:29Z")

</div>

hey… i get this error quite regularly, what exactly dies it mean? : Error occured at \<q\_prefix.c\>:54 Error: exception 6 not handled: Too many clauses am i adding to many clauses in the query statement? Ben

---

## [Feedback on some new features I'm working on](https://www.ruby-forum.com/t/feedback-on-some-new-features-im-working-on/97460)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 7:51am UTC](https://www.ruby-forum.com/t/feedback-on-some-new-features-im-working-on/97460 "2006-07-07T07:51:45Z")

</div>

Hi guys, I’m starting a new blog, and since I’ve been using Ruby at my work for 4 years, and since I want to grow familiar with rails, I’ve decided to use typo. I’ve run a medium traffic, group blog using wordpress b…

---

## [Garbage-collection question OR ruby-gnome bug?](https://www.ruby-forum.com/t/garbage-collection-question-or-ruby-gnome-bug/60099)

<div class="topic-metadata">

**Author:** [@cam](https://www.ruby-forum.com/u/cam)\
**Replies:** 2\
**Last updated:** [May 10, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/garbage-collection-question-or-ruby-gnome-bug/60099 "2006-05-10T21:44:09Z")

</div>

Hi, My friend and I have been writing an application that makes extensive use of gdkpixbuf’s, but they never get de-allocated. I’m not entirely sure how the garbage-collector works internally in ruby, but my program…

---

## [Can I catch something like Errno::EBADF with rescue?](https://www.ruby-forum.com/t/can-i-catch-something-like-errno-ebadf-with-rescue/94018)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 2:02am UTC](https://www.ruby-forum.com/t/can-i-catch-something-like-errno-ebadf-with-rescue/94018 "2006-04-18T02:02:29Z")

</div>

All, I am using Net::HTTP to make requests for URLs in my app. When I get a bad server, I get “Bad file descriptor - connect(2)” message on a ERRNO:EBADF error. Can I catch with rescue or otherwise gracefully react …

---

## [Ruby embedded code replacement for onclick in link?](https://www.ruby-forum.com/t/ruby-embedded-code-replacement-for-onclick-in-link/52545)

<div class="topic-metadata">

**Author:** [@Dan\_Wright](https://www.ruby-forum.com/u/Dan_Wright)\
**Replies:** 2\
**Last updated:** [January 16, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/ruby-embedded-code-replacement-for-onclick-in-link/52545 "2006-01-16T15:54:30Z")

</div>

Is there a ruby embedded code replacement for something like this? \<%= image\_tag item.image\_url, :size =\> ‘200x150’ %\> Thanks, Dan

---

## [Can you unserialize an object from the db?](https://www.ruby-forum.com/t/can-you-unserialize-an-object-from-the-db/53140)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 2\
**Last updated:** [December 12, 2005, 6:43pm UTC](https://www.ruby-forum.com/t/can-you-unserialize-an-object-from-the-db/53140 "2005-12-12T18:43:04Z")

</div>

I don’t even know if this is possible. I want to use an object as an attribute for one of my classes. I can save it to the db fine, looks like…but I need to be able to use it after I pull the object from the db. Right…

---

## [Hier\_blocks2 error](https://www.ruby-forum.com/t/hier-blocks2-error/242987)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 13, 2015, 9:18am UTC](https://www.ruby-forum.com/t/hier-blocks2-error/242987 "2015-08-13T09:18:41Z")

</div>

I am using gnruadio 3.7.8. I have a module (python) which is working well for version 3.6.3. In made necessary changes so that it can work with gnuradio 3.7.8. However I am getting following error File “/usr/local/l…

---

## [Build-gnuradio script and ubuntu 14.04](https://www.ruby-forum.com/t/build-gnuradio-script-and-ubuntu-14-04/241228)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 19, 2014, 12:43pm UTC](https://www.ruby-forum.com/t/build-gnuradio-script-and-ubuntu-14-04/241228 "2014-05-19T12:43:14Z")

</div>

Dear all, I tried to install gnuradio on ubuntu 14.04 with build-gnuradio script, but I got the message Your ubuntu release must be at least 9.04 to proceed. I’ve looked at the script build-gnuradio, the ubuntu 14.04…

---

## [Constellation Decoder problem in GRC](https://www.ruby-forum.com/t/constellation-decoder-problem-in-grc/240142)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 31, 2014, 4:01pm UTC](https://www.ruby-forum.com/t/constellation-decoder-problem-in-grc/240142 "2014-03-31T16:01:46Z")

</div>

Hi, I am working in GRC and I am Designing My own 16 QAM Transceiver without using the QAM modulation and demodulation blocks of GRC. I have done modulation using the python function qam\_constellation from source cod…

---

## [What is the sampling frequency for frequency band 850 MHz to 950 MHz](https://www.ruby-forum.com/t/what-is-the-sampling-frequency-for-frequency-band-850-mhz-to-950-mhz/238360)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 6:43pm UTC](https://www.ruby-forum.com/t/what-is-the-sampling-frequency-for-frequency-band-850-mhz-to-950-mhz/238360 "2014-01-06T18:43:26Z")

</div>

hello every buddy, here I try to sens the spectrum of GSM band through the RTL 2832U sdr stick . But i did not understand the what is the smplaing frequency value for that i assign. guide me i…

---

## [Best way to test validates\_acceptance\_of](https://www.ruby-forum.com/t/best-way-to-test-validates-acceptance-of/206674)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 7, 2011, 4:31pm UTC](https://www.ruby-forum.com/t/best-way-to-test-validates-acceptance-of/206674 "2011-05-07T16:31:43Z")

</div>

Hello, I am trying to write a test to make sure that the property validates\_acceptance\_of is present on a model. In my exploration, I can’t seem to make a test that fails when this property is absent, then passes wh…

---

## [Ubuntu 10.04 on EC2](https://www.ruby-forum.com/t/ubuntu-10-04-on-ec2/194061)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [September 5, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/ubuntu-10-04-on-ec2/194061 "2010-09-05T15:44:04Z")

</div>

Having setup a standard phusion-passenger stack on an earlier version of Ubuntu on EC2 I’m having mysterious problems setting things up on the Canononical 10.04 release. It seems that it wants to install everything vi…

---

## [I can't compile rbbr](https://www.ruby-forum.com/t/i-cant-compile-rbbr/192695)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [August 4, 2010, 7:57am UTC](https://www.ruby-forum.com/t/i-cant-compile-rbbr/192695 "2010-08-04T07:57:28Z")

</div>

hi, subversion update start → repository: At revision 3782. working copy: /usr/portage/distfiles/svn-src/rbbr/trunk Source unpacked in /dev/shm/portage/dev-ruby/rbbr-9999/work Compiling source in /de…

---

## [Errno::ENOENT in User sessionsController#new No such file or directory - getcwd](https://www.ruby-forum.com/t/errno-enoent-in-user-sessionscontroller-new-no-such-file-or-directory-getcwd/190250)

<div class="topic-metadata">

**Author:** [@bpfarmer](https://www.ruby-forum.com/u/bpfarmer)\
**Replies:** 1\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/errno-enoent-in-user-sessionscontroller-new-no-such-file-or-directory-getcwd/190250 "2010-06-17T16:22:46Z")

</div>

I cloned an existing git repo and get that error when I try to use script/server and view the application on a mongrel server. I can still access the models in script/console. Thanks, -Brendan

---

## [Code Review: gitsync](https://www.ruby-forum.com/t/code-review-gitsync/189613)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [June 3, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/code-review-gitsync/189613 "2010-06-03T23:43:18Z")

</div>

tfpt review “/shelveset:gitsync;REDMOND\\jdeville” Comment : sync from git: commit 31501e7cac50ec624590d180b7da9fdec7d1a12f Author: Jim D. removed\_email\_address@domain.invalid Date: Wed Jun 2 14:57:55 2010 -0700 …

---

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

<div class="topic-metadata">

**Author:** [@thinkbot](https://www.ruby-forum.com/u/thinkbot)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/rewrite/179588 "2009-12-19T15:25:25Z")

</div>

Hello, I wanted to rewrite this url rss.xml?type=popular&cid=8 to /cache/rss/popular\_8.xml so I wrote location ~\* \\.(jpg|jpeg|gif|css|png|js|ico|xml)$ { root /home/site/public\_html; …

---

## [Not able to send mails using ruby on rails](https://www.ruby-forum.com/t/not-able-to-send-mails-using-ruby-on-rails/169658)

<div class="topic-metadata">

**Author:** [@devirv](https://www.ruby-forum.com/u/devirv)\
**Replies:** 1\
**Last updated:** [July 7, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/not-able-to-send-mails-using-ruby-on-rails/169658 "2009-07-07T13:27:38Z")

</div>

In environment.rb below configuration details have used ActionMailer::Base.delivery\_method = :smtp ActionMailer::Base.smtp\_settings = { :address =\> “mydomain.com”, :port =\> xx, :domain =\> ‘mydomain.com’, :authentic…

---

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

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 1\
**Last updated:** [June 13, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/unable-to-install-thin/170185 "2009-06-13T12:04:23Z")

</div>

On a newly installed Lenny server with Ruby1.8.7 and Rubygems installed from source (not package) and latest rails installed through rubygems $ sudo gem1.8 install thin Building native extensions. This could take a w…

---

## [WxRuby GUI doesn't look native](https://www.ruby-forum.com/t/wxruby-gui-doesnt-look-native/166937)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [May 1, 2009, 7:38am UTC](https://www.ruby-forum.com/t/wxruby-gui-doesnt-look-native/166937 "2009-05-01T07:38:03Z")

</div>

Hi, Recently, I switched from Tk to WxRuby, because it comes as a gem, and doesn’t require an extra program. Over the past couple of days, I’ve been playing with it, (on Windows XP) and notices that none of the butt…

---

## [Json to ruby, clean up hashes and arrays](https://www.ruby-forum.com/t/json-to-ruby-clean-up-hashes-and-arrays/142886)

<div class="topic-metadata">

**Author:** [@scottnj](https://www.ruby-forum.com/u/scottnj)\
**Replies:** 1\
**Last updated:** [July 12, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/json-to-ruby-clean-up-hashes-and-arrays/142886 "2008-07-12T20:42:22Z")

</div>

i am trying to convert a json object to a ruby object in a format that is easy to work with. i use the json.decode and that converts it to ruby as hashes and arrays like it should. the part i am trying to figure out i…

---

## [Generating fully qualified URL based on the server](https://www.ruby-forum.com/t/generating-fully-qualified-url-based-on-the-server/134381)

<div class="topic-metadata">

**Author:** [@subbu](https://www.ruby-forum.com/u/subbu)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 12:10pm UTC](https://www.ruby-forum.com/t/generating-fully-qualified-url-based-on-the-server/134381 "2008-04-10T12:10:48Z")

</div>

Hi, I have a cron job running at pre-determined time. This cron job is a small Ruby script that loads the whole Rails environment and does some jobs. One of the job is to send a link to users. The link needs to be fu…

---

## [Crash while building index](https://www.ruby-forum.com/t/crash-while-building-index/120529)

<div class="topic-metadata">

**Author:** [@ndaniels](https://www.ruby-forum.com/u/ndaniels)\
**Replies:** 1\
**Last updated:** [November 18, 2007, 10:53am UTC](https://www.ruby-forum.com/t/crash-while-building-index/120529 "2007-11-18T10:53:51Z")

</div>

Hi, I’m trying to reindex a model (I’m using acts\_as\_ferret) after having added (via metaprogramming) a large number of fields (several hundred) to the index. It keeps crashing when trying to rebuild the index (the c…

---

## [HABTM updating/saving behaviour](https://www.ruby-forum.com/t/habtm-updating-saving-behaviour/162696)

<div class="topic-metadata">

**Author:** [@Andrea\_Morandini](https://www.ruby-forum.com/u/Andrea_Morandini)\
**Replies:** 1\
**Last updated:** [July 28, 2007, 1:34am UTC](https://www.ruby-forum.com/t/habtm-updating-saving-behaviour/162696 "2007-07-28T01:34:19Z")

</div>

Newbie question (I guess). I have a User whom can have some Preference. So the scracth model is: class User \< ActiveRecord:Base \[…\] has\_and\_belongs\_to\_many :preferences \[…\] end class Preference \< ActiveRecord:Base …

---

## [4.1 Upgrade problems](https://www.ruby-forum.com/t/4-1-upgrade-problems/90920)

<div class="topic-metadata">

**Author:** [@Toby\_Bryans](https://www.ruby-forum.com/u/Toby_Bryans)\
**Replies:** 1\
**Last updated:** [April 4, 2007, 12:31am UTC](https://www.ruby-forum.com/t/4-1-upgrade-problems/90920 "2007-04-04T00:31:24Z")

</div>

bryans@cyglon01 ~/www/rails $ typo install /u01/sites/bryans.org/www/rails/toblog.bryans.org/ Installing typo 4.1 Stopping Typo !!! PID file /u01/sites/bryans.org/www/rails/toblog.bryans.org/tmp/pid.txt does not ex…

---

## [Can i translate what name\_ID from a belongs\_to relationship?](https://www.ruby-forum.com/t/can-i-translate-what-name-id-from-a-belongs-to-relationship/66530)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 7\
**Last updated:** [August 28, 2006, 4:35am UTC](https://www.ruby-forum.com/t/can-i-translate-what-name-id-from-a-belongs-to-relationship/66530 "2006-08-28T04:35:48Z")

</div>

hi. simple question. i have a table that contains a town\_id column. is there a way to get what town name it is from a town\_id? my table ‘profiles’ belongs\_to table ‘town’, and town has\_many profiles. or do i just exec…

---

## [Referencing an object through it's id string](https://www.ruby-forum.com/t/referencing-an-object-through-its-id-string/66559)

<div class="topic-metadata">

**Author:** [@orz42](https://www.ruby-forum.com/u/orz42)\
**Replies:** 7\
**Last updated:** [August 27, 2006, 3:02pm UTC](https://www.ruby-forum.com/t/referencing-an-object-through-its-id-string/66559 "2006-08-27T15:02:32Z")

</div>

Hello, how does one set a pointer to foo using an id string obtained through foo.object\_id for instance? Thanks in advance

---

## [Deploing RoR](https://www.ruby-forum.com/t/deploing-ror/245314)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 30, 2017, 8:27pm UTC](https://www.ruby-forum.com/t/deploing-ror/245314 "2017-03-30T20:27:29Z")

</div>

I made some application made via RoR. And I have a git repository of it. Can please anyone tell me how to deploy this application? On what site I can do this? I tried to deploy it on heroku.com but it didn’t work out. …

---

## [Can't convert Fixnum into String (TypeError)](https://www.ruby-forum.com/t/cant-convert-fixnum-into-string-typeerror/209226)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 8, 2011, 6:16pm UTC](https://www.ruby-forum.com/t/cant-convert-fixnum-into-string-typeerror/209226 "2011-07-08T18:16:27Z")

</div>

This program works with ruby and jruby but it does not work with iron ruby. I get the following error: multi-client-tcp-server.rb:29: can’t convert Fixnum into String (TypeError) I’m new to ruby. Can someone help me …

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

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