# Top

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

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

---

## [Multithreading problem, uninitialized constant in rake](https://www.ruby-forum.com/t/multithreading-problem-uninitialized-constant-in-rake/236022)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 31, 2013, 10:04am UTC](https://www.ruby-forum.com/t/multithreading-problem-uninitialized-constant-in-rake/236022 "2013-07-31T10:04:58Z")

</div>

Hi everyone, I am having a problem with running rake tasks that involve threads. Everytime I run it, I get an uninitialized constant with one of my models (changes models occasionally) seems to be uninitialized. I ha…

---

## [Sql server marca error al querer guardar acentos](https://www.ruby-forum.com/t/sql-server-marca-error-al-querer-guardar-acentos/127194)

<div class="topic-metadata">

**Author:** [@arnoldorl](https://www.ruby-forum.com/u/arnoldorl)\
**Replies:** 1\
**Last updated:** [May 17, 2011, 1:23pm UTC](https://www.ruby-forum.com/t/sql-server-marca-error-al-querer-guardar-acentos/127194 "2011-05-17T13:23:32Z")

</div>

Hola ya he intentado de todo para hacer que el sql server me acepte ingresar acentos y Ã± desde un aplicacion de ruby pero me marca error ya puse la cadificacion iso-8859-1 en el encoging del database.yml, ya utiliza …

---

## [Visitor Counter](https://www.ruby-forum.com/t/visitor-counter/179786)

<div class="topic-metadata">

**Author:** [@Mark\_Stephan](https://www.ruby-forum.com/u/Mark_Stephan)\
**Replies:** 1\
**Last updated:** [December 4, 2009, 11:14am UTC](https://www.ruby-forum.com/t/visitor-counter/179786 "2009-12-04T11:14:15Z")

</div>

Got a question, I’m always wondering how many people visit my page. I went through the admin section and didn’t see any way to track numbers, or to even add google analytic code. Is there something I’m missing? I’m …

---

## [Problems with Mongrel \> 1.1 and OS X](https://www.ruby-forum.com/t/problems-with-mongrel-1-1-and-os-x/150967)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 1\
**Last updated:** [February 6, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/problems-with-mongrel-1-1-and-os-x/150967 "2009-02-06T16:35:17Z")

</div>

I’ve having issues with some part of Mongrel start up process stalling with versions of Mongrel greater than 1.1 Using Mongrel Gem version 1.1 both ./script/server and ./merb boot fine But from gem version 1.1.1 b…

---

## [Upload test images using rake with populator](https://www.ruby-forum.com/t/upload-test-images-using-rake-with-populator/154843)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [December 4, 2008, 12:54pm UTC](https://www.ruby-forum.com/t/upload-test-images-using-rake-with-populator/154843 "2008-12-04T12:54:31Z")

</div>

I am wondering if it is possible to upload test images to the database along with the other fake user data. I am using populator along with faker for fake test data and it is working very well. I am able to do thing…

---

## [Can't connect to drb server on localhost](https://www.ruby-forum.com/t/cant-connect-to-drb-server-on-localhost/147609)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/cant-connect-to-drb-server-on-localhost/147609 "2008-09-03T18:07:53Z")

</div>

Hello, I am trying to get acts\_as\_ferret/ferret to run, it runs find on my local machine but when I try and run in on my server I get the following DRb::DRbConnError (druby://localhost:9100 - #\<Errno::ETIMEDOUT: Conn…

---

## [Vlad the Deployer: Problems with Paths](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613)

<div class="topic-metadata">

**Author:** [@jonathan2000](https://www.ruby-forum.com/u/jonathan2000)\
**Replies:** 1\
**Last updated:** [June 29, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613 "2008-06-29T14:43:24Z")

</div>

Hi, Having difficulty with Vlad - it’s throwing a hissy-fit, claiming it can’t find Mongrel (it was SVN earlier…). And interim solution (or “hack”) has been to put the full path to the app inside the deploy.rb, but n…

---

## [Capistrano::ConnectionError](https://www.ruby-forum.com/t/capistrano-connectionerror/132265)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 1\
**Last updated:** [March 18, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/capistrano-connectionerror/132265 "2008-03-18T14:45:20Z")

</div>

Hi. Wondering if anyone can help me with this error meassage i receive when running cap deploy on my project… executing \`deploy’ executing \`deploy:update’ \*\* transaction: start executing \`deploy:update\_code’ executin…

---

## [Como crear menus verticales o horizontales](https://www.ruby-forum.com/t/como-crear-menus-verticales-o-horizontales/113589)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 1\
**Last updated:** [September 2, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/como-crear-menus-verticales-o-horizontales/113589 "2007-09-02T18:21:34Z")

</div>

Quiero diseÃ±ar una aplicacion y me gustaria saber como puedo crear menus horizontales y verticales con RoR. Menu vertical como el de Amazon (http://amazon.com) a la izquierda, que le llaman Browse. Y el menu hrizonta…

---

## [Nginx TCP stream access log](https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 4, 2016, 10:31pm UTC](https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401 "2016-04-04T22:31:57Z")

</div>

Howdy folks, We are using nginx with stream TCP support but we are wondering if there is a way to have access logs for TCP for at least to know a few things such as: timestamp (of request) source address. destinatio…

---

## [Mime](https://www.ruby-forum.com/t/mime/235402)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [June 20, 2013, 7:31pm UTC](https://www.ruby-forum.com/t/mime/235402 "2013-06-20T19:31:07Z")

</div>

Hey Ruby-Talk, Working on a project that I’d like to get some feedback on: While working on showing some newer technicians how I did things, I realized that I should really automate these tasks. I then took to makin…

---

## [Scheduling jobs on PCs after work hours](https://www.ruby-forum.com/t/scheduling-jobs-on-pcs-after-work-hours/214988)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 9, 2013, 4:31pm UTC](https://www.ruby-forum.com/t/scheduling-jobs-on-pcs-after-work-hours/214988 "2013-05-09T16:31:07Z")

</div>

Hi All, There’s a task that I want to do and while I can explain it to people, I was having trouble finding the right keywords that would lead me home with Google. Basically, we have 20 PCs in the office and we’d lik…

---

## [Uhd\_fft no worky today](https://www.ruby-forum.com/t/uhd-fft-no-worky-today/226774)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 5\
**Last updated:** [February 21, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/uhd-fft-no-worky-today/226774 "2013-02-21T18:50:52Z")

</div>

Just pulled the latest from “master”, cmake, make, sudo make install resulting uhd\_fft produces: uhd\_fft Traceback (most recent call last): File “/usr/local/bin/uhd\_fft”, line 24, in from gnuradio import gr, gru F…

---

## [Rubygems-update 1.8.2 Released](https://www.ruby-forum.com/t/rubygems-update-1-8-2-released/206866)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 17, 2011, 9:12pm UTC](https://www.ruby-forum.com/t/rubygems-update-1-8-2-released/206866 "2011-05-17T21:12:33Z")

</div>

rubygems-update version 1.8.2 has been released! http://rubygems.org http://docs.rubygems.org http://help.rubygems.org http://github.com/rubygems http://rubyforge.org/projects/rubygems RubyGems is a package management…

---

## [Preventing model from saving](https://www.ruby-forum.com/t/preventing-model-from-saving/205310)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 4, 2011, 7:13pm UTC](https://www.ruby-forum.com/t/preventing-model-from-saving/205310 "2011-04-04T19:13:23Z")

</div>

I have a scenario where I have to prevent objects from saving to the database if they have a certain value and I want to come up with the optimal way to achieve that. In my scenario, upon form submit, I will send 20 r…

---

## [Process for optimizing ruby code](https://www.ruby-forum.com/t/process-for-optimizing-ruby-code/197537)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 3, 2010, 7:49am UTC](https://www.ruby-forum.com/t/process-for-optimizing-ruby-code/197537 "2010-11-03T07:49:02Z")

</div>

So, I’ve got a chunk of code which needs optimizing. Yes, it really needs it, I’m not optimizing prematurely. It (mostly) works, it’s just way too slow. And I knew it would be too slow when I wrote it, I just wanted t…

---

## [Question about variables in ruby](https://www.ruby-forum.com/t/question-about-variables-in-ruby/178495)

<div class="topic-metadata">

**Author:** [@mittina](https://www.ruby-forum.com/u/mittina)\
**Replies:** 5\
**Last updated:** [November 5, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/question-about-variables-in-ruby/178495 "2009-11-05T22:47:38Z")

</div>

hello folks i am preparing a ruby plugin for sketchup, i hope you can help me with this really nasty problem i am having here is the method ,which belongs to a class def moment\_calc weight = 0 variable\_load = 0 perma…

---

## [How can I use Apache to serve static content for a RoR app when I have only .htaccess access (and c](https://www.ruby-forum.com/t/how-can-i-use-apache-to-serve-static-content-for-a-ror-app-when-i-have-only-htaccess-access-and-c/175989)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [September 25, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/how-can-i-use-apache-to-serve-static-content-for-a-ror-app-when-i-have-only-htaccess-access-and-c/175989 "2009-09-25T23:42:03Z")

</div>

Hi, Are there any Rails/Apache guru’s that might know if it’s possible (and how) to have the ability for users to upload their content to my RoR application but then subsequent access to such static content would be: …

---

## [Informazione codice](https://www.ruby-forum.com/t/informazione-codice/174614)

<div class="topic-metadata">

**Author:** [@joxer](https://www.ruby-forum.com/u/joxer)\
**Replies:** 5\
**Last updated:** [August 29, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/informazione-codice/174614 "2009-08-29T21:07:45Z")

</div>

Salve, spero di non essere off-topic in quanto c, ma chiedo lo stesso. Ho questo pezzo di codice preso da string.c dei source di ruby (ho preso il pezzo di codice a caso). Non capisco perche’ dopo rb\_str\_new ci siano …

---

## [I'm not sure what happened with my app - ActiveRecord Query](https://www.ruby-forum.com/t/im-not-sure-what-happened-with-my-app-activerecord-query/173139)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 5\
**Last updated:** [August 4, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/im-not-sure-what-happened-with-my-app-activerecord-query/173139 "2009-08-04T12:36:57Z")

</div>

Everything was working perfectly. I ran a few tests this morning in development and found a few errors and corrected them. Another thing I did was clear out “old data” in 4 tables. 3 of these tables are now having t…

---

## [Creation of pdf using rpdf](https://www.ruby-forum.com/t/creation-of-pdf-using-rpdf/164926)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 5\
**Last updated:** [April 7, 2009, 3:58pm UTC](https://www.ruby-forum.com/t/creation-of-pdf-using-rpdf/164926 "2009-04-07T15:58:18Z")

</div>

Hi, I want to generate a pdf by using rpdf plugin. Can anyone tell me how to do that? What are the gems or plugins will be required for that? Is there any tutorial available for this? Is it possible to create table …

---

## ["reaper" is not picking up new changes to my application?](https://www.ruby-forum.com/t/reaper-is-not-picking-up-new-changes-to-my-application/159831)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [February 15, 2009, 11:27am UTC](https://www.ruby-forum.com/t/reaper-is-not-picking-up-new-changes-to-my-application/159831 "2009-02-15T11:27:37Z")

</div>

Hi, Can anyone shed any light on why “reaper” (whilst seemingly working re restarting my mongrel ruby process) does not pick up changes to my application? (e.g. changing a title in a view for example). It’s like t…

---

## [Find\_by\_sql error, any ideas please](https://www.ruby-forum.com/t/find-by-sql-error-any-ideas-please/158501)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 5\
**Last updated:** [January 24, 2009, 8:14am UTC](https://www.ruby-forum.com/t/find-by-sql-error-any-ideas-please/158501 "2009-01-24T08:14:51Z")

</div>

Hello, I am having problems with the find\_by\_sql while trying to update a table. I am using mysql and rails 2.2.2. A small test like this: User.find\_by\_sql “update users set name=‘Test’” generates a horrible error. …

---

## [RFID data packet](https://www.ruby-forum.com/t/rfid-data-packet/151685)

<div class="topic-metadata">

**Author:** [@Andrea\_Farulli](https://www.ruby-forum.com/u/Andrea_Farulli)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 9:10am UTC](https://www.ruby-forum.com/t/rfid-data-packet/151685 "2008-10-31T09:10:45Z")

</div>

I have to develop a system for RFID operating in the 433 MHz frequency band (ISO 18000-7) transmission with the GNU radio python framework. I succeded transmitting a simple message with bfsk modulation using the gr.cp…

---

## [The error occurred while evaluating nil](https://www.ruby-forum.com/t/the-error-occurred-while-evaluating-nil/144489)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 5\
**Last updated:** [July 30, 2008, 7:51am UTC](https://www.ruby-forum.com/t/the-error-occurred-while-evaluating-nil/144489 "2008-07-30T07:51:08Z")

</div>

Hi I ahve a code like \<%@attachment=ServiceDeskActivityAttachment.find\_by\_service\_desk\_activity\_id(@sd\_activities\[loop\_index\].id) %\> \<% if !@attachment.blank? %\> \<%= puts ‘is empty’%\> Attachment File Name …

---

## [Cannot figure out how to handle multi checkbox](https://www.ruby-forum.com/t/cannot-figure-out-how-to-handle-multi-checkbox/143847)

<div class="topic-metadata">

**Author:** [@naijaguy](https://www.ruby-forum.com/u/naijaguy)\
**Replies:** 5\
**Last updated:** [July 24, 2008, 4:16am UTC](https://www.ruby-forum.com/t/cannot-figure-out-how-to-handle-multi-checkbox/143847 "2008-07-24T04:16:40Z")

</div>

I have a checkbox that is not tied to a model. Basically, here’s what the beginning looks like in the view: \<% for entrant in @entrants %\> \<tr class="\<%= cycle(“even”, “odd”) %\>" \> \<%= check\_box (“to\_check”, entran…

---

## [Looking for an appropiate parser generator](https://www.ruby-forum.com/t/looking-for-an-appropiate-parser-generator/132048)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [March 17, 2008, 6:36am UTC](https://www.ruby-forum.com/t/looking-for-an-appropiate-parser-generator/132048 "2008-03-17T06:36:08Z")

</div>

Hi, I’m new in this maillist so hello to all. I want to do a SIP protocol parser in Ruby (SIP protocol is very similar to HTTP) so I’m looking for the most appropiate parser in Ruby. Also, it’s the first time I try …

---

## [Need help protecting data](https://www.ruby-forum.com/t/need-help-protecting-data/131753)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 5\
**Last updated:** [March 13, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/need-help-protecting-data/131753 "2008-03-13T20:27:05Z")

</div>

Hi I need protect some data like photos and musics from a game, i really dont know how to do this, i was thinking in something like this, take the photo, translate to a string and store in the database and the databa…

---

## [Problema con versiones de rails](https://www.ruby-forum.com/t/problema-con-versiones-de-rails/126015)

<div class="topic-metadata">

**Author:** [@lyon](https://www.ruby-forum.com/u/lyon)\
**Replies:** 5\
**Last updated:** [January 14, 2008, 6:50pm UTC](https://www.ruby-forum.com/t/problema-con-versiones-de-rails/126015 "2008-01-14T18:50:09Z")

</div>

hola amigos. tengo un problema entre las versiones de rails… yo comence hace como un aÃ±o y medio a programar en RoR. y comence a desarrrollar una aplicaciÃ³n, el hecho es que yo instale las siguientes versiones: ru…

---

## [GUI Toolkit](https://www.ruby-forum.com/t/gui-toolkit/90773)

<div class="topic-metadata">

**Author:** [@djmook](https://www.ruby-forum.com/u/djmook)\
**Replies:** 5\
**Last updated:** [April 1, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/gui-toolkit/90773 "2007-04-01T21:26:47Z")

</div>

Which of the cross-platform GUI toolkits has the best documentation, is most stable, and is as “native-friendly” as possible? I’ve been scouring around but I keep finding different results and different dates, so I’m …

---

## [How to route /app/name to /name?](https://www.ruby-forum.com/t/how-to-route-app-name-to-name/90677)

<div class="topic-metadata">

**Author:** [@sneptune](https://www.ruby-forum.com/u/sneptune)\
**Replies:** 5\
**Last updated:** [March 31, 2007, 2:13am UTC](https://www.ruby-forum.com/t/how-to-route-app-name-to-name/90677 "2007-03-31T02:13:25Z")

</div>

Hi, From the rail recipe book, I found that it is possible to set up route rule so that the url can parsed and map differently. However, what I am trying to accomplish is that if /abc is typed and the controller abc …

---

## [Problem with just checked out and recompiled gnuradio](https://www.ruby-forum.com/t/problem-with-just-checked-out-and-recompiled-gnuradio/79777)

<div class="topic-metadata">

**Author:** [@matteo\_c](https://www.ruby-forum.com/u/matteo_c)\
**Replies:** 5\
**Last updated:** [December 20, 2006, 3:44am UTC](https://www.ruby-forum.com/t/problem-with-just-checked-out-and-recompiled-gnuradio/79777 "2006-12-20T03:44:43Z")

</div>

Hello folks, I’ve just wiped out and recompiled the whole GNURADIO on my FC5 64, and unfortunately now no application runs anymore… even the simplest dial\_tone.py produces this output: \[matteo@localhost audio\]$ ./dial…

---

## [Ferret 0.10.6 released (and some benchmarks)](https://www.ruby-forum.com/t/ferret-0-10-6-released-and-some-benchmarks/69451)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 5\
**Last updated:** [September 21, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/ferret-0-10-6-released-and-some-benchmarks/69451 "2006-09-21T16:48:16Z")

</div>

Hey folks, \*\* Description \*\* Firstly for those who don’t know, Ferret is a full-text search library which makes adding search to your application a breeze. It’s much faster than MySQL full-text search as well most ot…

---

## [3rd party host, need to update?](https://www.ruby-forum.com/t/3rd-party-host-need-to-update/65488)

<div class="topic-metadata">

**Author:** [@iamdirkcalloway](https://www.ruby-forum.com/u/iamdirkcalloway)\
**Replies:** 5\
**Last updated:** [August 22, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/3rd-party-host-need-to-update/65488 "2006-08-22T17:48:41Z")

</div>

Hi, I realize this is a stupid n00b question but I haven’t the time this summer to dedicate towards learning Ruby, RoR, and Radiant that I was hoping for; I’m hoping kind soul will answer my question instead. If I us…

---

## [Running windows ruby, and watir under wine on linux?](https://www.ruby-forum.com/t/running-windows-ruby-and-watir-under-wine-on-linux/97987)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 5\
**Last updated:** [July 12, 2006, 2:45am UTC](https://www.ruby-forum.com/t/running-windows-ruby-and-watir-under-wine-on-linux/97987 "2006-07-12T02:45:16Z")

</div>

Friends- I have seen a few blog posts where folks mention that they have gotten the ruby one click installer and watir/IE running under wine on linux. Has anyone out there done this successfully? My company would be…

---

## [Block with N inputs and M outputs (M\>=N)](https://www.ruby-forum.com/t/block-with-n-inputs-and-m-outputs-m-n/57382)

<div class="topic-metadata">

**Author:** [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Replies:** 5\
**Last updated:** [April 10, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/block-with-n-inputs-and-m-outputs-m-n/57382 "2006-04-10T23:52:59Z")

</div>

I am trying to write a block that takes N inputs at a time and produces M outputs at a time. Since M\>=N this is an interpolator. However, M/N is not neccesarily an integer. Is there an elegant way to force the work()…

---

## [Combining two models in one controller/view "set"](https://www.ruby-forum.com/t/combining-two-models-in-one-controller-view-set/56188)

<div class="topic-metadata">

**Author:** [@gravyface](https://www.ruby-forum.com/u/gravyface)\
**Replies:** 5\
**Last updated:** [March 29, 2006, 4:08am UTC](https://www.ruby-forum.com/t/combining-two-models-in-one-controller-view-set/56188 "2006-03-29T04:08:24Z")

</div>

I’m going to take another stab at this question (my first one received no replies): I have two models: Author has\_many: books Book has\_one: author I have two tables: authors id … books id author\_id … I let…

---

## [Custom date format](https://www.ruby-forum.com/t/custom-date-format/55765)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 5\
**Last updated:** [March 24, 2006, 12:03am UTC](https://www.ruby-forum.com/t/custom-date-format/55765 "2006-03-24T00:03:37Z")

</div>

Hi, I’ve followed these directions : http://railswiki.pdxruby.org/HowToDefineYourOwnDateFormat.html It seems pretty straightforward but obviously it doesn’t work for me… article.date\_edited.to\_formatted\_s(:my\_format\_1…

---

## [AR - Migrations - how to use a varchar as primary key instea](https://www.ruby-forum.com/t/ar-migrations-how-to-use-a-varchar-as-primary-key-instea/80149)

<div class="topic-metadata">

**Author:** [@Thibaut\_BarrSSSSre](https://www.ruby-forum.com/u/Thibaut_BarrSSSSre)\
**Replies:** 5\
**Last updated:** [March 14, 2006, 1:30am UTC](https://www.ruby-forum.com/t/ar-migrations-how-to-use-a-varchar-as-primary-key-instea/80149 "2006-03-14T01:30:52Z")

</div>

Hi I’d like to have a varchar primary key named id instead of the default int id. Does anyone knows how to specify this from migrations ? Should I also specify something in the model class ? thanks! Thibaut

---

## [Can't get fcgi working with Apache2 on Mac OS X](https://www.ruby-forum.com/t/cant-get-fcgi-working-with-apache2-on-mac-os-x/51533)

<div class="topic-metadata">

**Author:** [@rashley](https://www.ruby-forum.com/u/rashley)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/cant-get-fcgi-working-with-apache2-on-mac-os-x/51533 "2006-01-04T22:09:54Z")

</div>

I have an application that works fine in development mode under plain old CGI and I’m trying to get it running under FCGI with multiple hours of frustration. Lately, I am running dispatch.fcgi standalone from the comm…

---

## [Shared Hosting Rails Sites?](https://www.ruby-forum.com/t/shared-hosting-rails-sites/51262)

<div class="topic-metadata">

**Author:** [@wksmall](https://www.ruby-forum.com/u/wksmall)\
**Replies:** 5\
**Last updated:** [December 29, 2005, 10:22am UTC](https://www.ruby-forum.com/t/shared-hosting-rails-sites/51262 "2005-12-29T10:22:29Z")

</div>

I can’t decide between a2hosting.com, successfulhosting.com, site5.com (which offers 11gb of disk space for $8.77/month – I’ll never use it), planetargon.com (which offers 1 gb for $11/month), or railsplayground.com …

---

## [XML Transformations using REXML](https://www.ruby-forum.com/t/xml-transformations-using-rexml/52135)

<div class="topic-metadata">

**Author:** [@james\_b](https://www.ruby-forum.com/u/james_b)\
**Replies:** 5\
**Last updated:** [December 9, 2005, 3:04am UTC](https://www.ruby-forum.com/t/xml-transformations-using-rexml/52135 "2005-12-09T03:04:26Z")

</div>

Toot toot! That’s the sound of my own horn. The January 2006 issue of Dr. Dobbs magazine has an article of mine, XML Transformations using REXML. I don’t know if the article will be available for free reading on the …

---

## [Code Exercises & Slides for RubyConf 2024 Workshop: "How To Build Basic Desktop Applications in Ruby"](https://www.ruby-forum.com/t/code-exercises-slides-for-rubyconf-2024-workshop-how-to-build-basic-desktop-applications-in-ruby/266726)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 2:33am UTC](https://www.ruby-forum.com/t/code-exercises-slides-for-rubyconf-2024-workshop-how-to-build-basic-desktop-applications-in-ruby/266726 "2024-11-29T02:33:14Z")

</div>

Code Exercises & Slides for RubyConf 2024 Workshop: “How To Build Basic Desktop Applications in Ruby” are included below. GitHub repo direct link: Slides direct link:…

---

## [Please Help a Newbie, Web Server Error](https://www.ruby-forum.com/t/please-help-a-newbie-web-server-error/243717)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [December 26, 2015, 2:42pm UTC](https://www.ruby-forum.com/t/please-help-a-newbie-web-server-error/243717 "2015-12-26T14:42:19Z")

</div>

Can someone help fix my Ruby on Rails database.yml so I can connect to the Localhost:3000? I’ve literally tried 20 different variations, and it keeps giving me the same problem. I’m a big newbie, I started learning th…

---

## [Cant write across filesystem mounts?](https://www.ruby-forum.com/t/cant-write-across-filesystem-mounts/242144)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 1, 2015, 9:26pm UTC](https://www.ruby-forum.com/t/cant-write-across-filesystem-mounts/242144 "2015-06-01T21:26:36Z")

</div>

Hi I dont think this is specific to nginx but I hope its a good place to ask! When running PHP script through Nginx it writes OK to files on the same disk mount where the PHP file is located but not to the other part…

---

## [Converting to hash](https://www.ruby-forum.com/t/converting-to-hash/234372)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [February 28, 2015, 4:28pm UTC](https://www.ruby-forum.com/t/converting-to-hash/234372 "2015-02-28T16:28:35Z")

</div>

I have hash of common\_id as follows: { “signin” =\> "element1" =\> { "ios\_id =\> "i1", "android\_id" =\> "a1" } "element2" =\> { "ios\_id =\> "i2", "android\_id" =\> "a2" } } t…

---

## [Hiring Ruby on Rails Developer -nerdapplabs-Noida](https://www.ruby-forum.com/t/hiring-ruby-on-rails-developer-nerdapplabs-noida/233114)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [November 19, 2014, 9:03am UTC](https://www.ruby-forum.com/t/hiring-ruby-on-rails-developer-nerdapplabs-noida/233114 "2014-11-19T09:03:34Z")

</div>

Hiring Ruby on Rails Developer. Send your profile @ removed\_email\_address@domain.invalid. Education: B.E./ B.Tech in Computer Science, OR MCA from reputed institute above 60% marks throughout 10th Onwards Exp:3-5Yrs …

---

## [Ver 3.7 stable?](https://www.ruby-forum.com/t/ver-3-7-stable/230269)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 10, 2014, 2:27pm UTC](https://www.ruby-forum.com/t/ver-3-7-stable/230269 "2014-06-10T14:27:39Z")

</div>

Dear experts, (1) Introduction I am Mamoru Y. from Kyoto Univ. Some may know that I am doing satellite-beacon experiment by using USRP1 + GNU Radio. We call the receiver as GRBR (GNU Radio Beacon Receiver). http…

---

## [Nginx high load average](https://www.ruby-forum.com/t/nginx-high-load-average/225789)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 3\
**Last updated:** [January 30, 2013, 6:44pm UTC](https://www.ruby-forum.com/t/nginx-high-load-average/225789 "2013-01-30T18:44:36Z")

</div>

hello i have server running as shared server Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz 4 core and 16 g.b ram running onCentOS release 5.9 (Final) upload and download via php scripts like rapidshare the problem is i …

---

## [ActiveRecord (not Rails!)](https://www.ruby-forum.com/t/activerecord-not-rails/210766)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [August 19, 2011, 3:12am UTC](https://www.ruby-forum.com/t/activerecord-not-rails/210766 "2011-08-19T03:12:12Z")

</div>

I’m learning to use activerecord (not rails). Two gems are necessary for this: the activerecord gem and the mysql adpater (I’m using MySQL). I installed both gems (I think successfully). When I inspect the directory w…

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

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