# Top

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

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

---

## [How to keep list of reglar expressions into array](https://www.ruby-forum.com/t/how-to-keep-list-of-reglar-expressions-into-array/216471)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 6, 2012, 9:21am UTC](https://www.ruby-forum.com/t/how-to-keep-list-of-reglar-expressions-into-array/216471 "2012-02-06T09:21:25Z")

</div>

I have morethan one regular expressions I want to keep all in array and iterate them to check my input matched or not reg1 = /ruby:\\s\*$/i reg2 = /rails:\\s\*$/i input1 = “ruby is my favorite language” i want to ite…

---

## [Newbie | Installing mysql2 gem](https://www.ruby-forum.com/t/newbie-installing-mysql2-gem/211603)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 9, 2011, 5:46pm UTC](https://www.ruby-forum.com/t/newbie-installing-mysql2-gem/211603 "2011-09-09T17:46:17Z")

</div>

Hello everyone, I wanted to learn about Ruby on Rails and its advantages and I decided to start with some tutorials. Unfortunately I’m forced to post my problem on the forum after days of unsuccessful solutions. I’v…

---

## [Trinidad and New Relic RPM](https://www.ruby-forum.com/t/trinidad-and-new-relic-rpm/205466)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 7, 2011, 6:42am UTC](https://www.ruby-forum.com/t/trinidad-and-new-relic-rpm/205466 "2011-04-07T06:42:51Z")

</div>

Hello everyone, I was just wondering if anyone is succesfully running any applications on the Trinidad gem with the New Relic RPM gem successfully? I am trying to get a jruby Sinatra app working on windows / trinidad …

---

## [What method to define a random float](https://www.ruby-forum.com/t/what-method-to-define-a-random-float/200961)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 3\
**Last updated:** [December 27, 2010, 2:58am UTC](https://www.ruby-forum.com/t/what-method-to-define-a-random-float/200961 "2010-12-27T02:58:53Z")

</div>

Hi: I’ve applied the watir API to login to a website and input a integer value into a textfield. According to my task is to test the website’s responding time regarding to distinguished values, it needs to input a ra…

---

## [Nginx's bug(alias and $request\_uri to conflict)](https://www.ruby-forum.com/t/nginxs-bug-alias-and-request-uri-to-conflict/196298)

<div class="topic-metadata">

**Author:** [@monad](https://www.ruby-forum.com/u/monad)\
**Replies:** 3\
**Last updated:** [October 11, 2010, 9:31am UTC](https://www.ruby-forum.com/t/nginxs-bug-alias-and-request-uri-to-conflict/196298 "2010-10-11T09:31:11Z")

</div>

thanks! my nginx version is 0.8.52, index.html in /home/my\_name/tools/nginx/html/ , this is my nginx config: worker\_processes 1; error\_log logs/error.log debug; events { worker\_connections 1024; } http { in…

---

## [Nginx remote exploit?](https://www.ruby-forum.com/t/nginx-remote-exploit/189668)

<div class="topic-metadata">

**Author:** [@Hinky\_Dink](https://www.ruby-forum.com/u/Hinky_Dink)\
**Replies:** 3\
**Last updated:** [June 4, 2010, 7:33pm UTC](https://www.ruby-forum.com/t/nginx-remote-exploit/189668 "2010-06-04T19:33:20Z")

</div>

Did I miss the memo? It’s (very) briefly mentioned in this post by Dave Aitel, third paragraph, second sentence…

---

## [Is using script/console in live production environment ok?](https://www.ruby-forum.com/t/is-using-script-console-in-live-production-environment-ok/189261)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 3\
**Last updated:** [May 27, 2010, 7:07pm UTC](https://www.ruby-forum.com/t/is-using-script-console-in-live-production-environment-ok/189261 "2010-05-27T19:07:36Z")

</div>

I need to make some minor record changes in the database on my live production site. I use Capistrano to deploy. I know I can activate script/console by entering my “/current” Capistrano directory and running: RAILS\_…

---

## [Rejecting a nested object if all attributes are blank](https://www.ruby-forum.com/t/rejecting-a-nested-object-if-all-attributes-are-blank/186936)

<div class="topic-metadata">

**Author:** [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Replies:** 3\
**Last updated:** [April 28, 2010, 12:19pm UTC](https://www.ruby-forum.com/t/rejecting-a-nested-object-if-all-attributes-are-blank/186936 "2010-04-28T12:19:47Z")

</div>

How do I reject the creation of an object if all of the attributes are blank? accepts\_nested\_attributes\_for :questions, :allow\_destroy =\> true, :reject\_if =\> lambda {|a| a.each.blank? }

---

## [Monkeybars - jar packaging](https://www.ruby-forum.com/t/monkeybars-jar-packaging/182707)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 10:16pm UTC](https://www.ruby-forum.com/t/monkeybars-jar-packaging/182707 "2010-02-01T22:16:51Z")

</div>

Hi, I’ve been pulling my hair out, trying to package the most simple HelloWorld example into a runnable jar. Here’s what I get ---- SNIP ----- javac -target 1.6 -cp “lib/java/jruby-complete.jar:src:lib/ruby” -sourc…

---

## [Emulate\_booleans for a specific connection](https://www.ruby-forum.com/t/emulate-booleans-for-a-specific-connection/181539)

<div class="topic-metadata">

**Author:** [@nerd](https://www.ruby-forum.com/u/nerd)\
**Replies:** 3\
**Last updated:** [January 14, 2010, 2:54pm UTC](https://www.ruby-forum.com/t/emulate-booleans-for-a-specific-connection/181539 "2010-01-14T14:54:25Z")

</div>

Hello, I’m running an environment with connections to different types of databases (using AR) in addition to the default mysql(5) connection. The MSSQL-Connections are working fine. Just one “old” 3rd party database …

---

## [USRP2 802.11 BBN Code TX - filter fix?](https://www.ruby-forum.com/t/usrp2-802-11-bbn-code-tx-filter-fix/179350)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 3\
**Last updated:** [November 24, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/usrp2-802-11-bbn-code-tx-filter-fix/179350 "2009-11-24T15:27:07Z")

</div>

Hi all, I was taking a look with Brian at the 802.11 BBN code for the USRP2 in CGRAN (usrp2\_version), in specific the transmission path. I don’t konw if anyone ever got to try out the TX code with the USRP2, but we…

---

## [30 MHz LPF on LFRX daughterboard?](https://www.ruby-forum.com/t/30-mhz-lpf-on-lfrx-daughterboard/177803)

<div class="topic-metadata">

**Author:** [@ndorphine](https://www.ruby-forum.com/u/ndorphine)\
**Replies:** 3\
**Last updated:** [October 30, 2009, 9:17am UTC](https://www.ruby-forum.com/t/30-mhz-lpf-on-lfrx-daughterboard/177803 "2009-10-30T09:17:16Z")

</div>

Hi all, I was just reading the specs/schematic on the LFRX RF daughterboard, and noticed that the literature indicates that there is a 30 MHz low-pass filter after the differential amplifiers. Looking at the schemat…

---

## [Rdoc/usage replacement in ruby 1.9 for a CLI app?](https://www.ruby-forum.com/t/rdoc-usage-replacement-in-ruby-1-9-for-a-cli-app/176017)

<div class="topic-metadata">

**Author:** [@alce](https://www.ruby-forum.com/u/alce)\
**Replies:** 3\
**Last updated:** [September 30, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/rdoc-usage-replacement-in-ruby-1-9-for-a-cli-app/176017 "2009-09-30T21:53:49Z")

</div>

Hey! I’m follow a tutorial (http://blog.infinitered.com/entries/show/5) to create a ruby app just for the command line, I’ll like to know where’s the replacement for rdoc/usage in 1.9 ? seems like is removed (I instal…

---

## [How to Access a Callback Return Value](https://www.ruby-forum.com/t/how-to-access-a-callback-return-value/173609)

<div class="topic-metadata">

**Author:** [@rwhiten1](https://www.ruby-forum.com/u/rwhiten1)\
**Replies:** 3\
**Last updated:** [August 12, 2009, 2:59am UTC](https://www.ruby-forum.com/t/how-to-access-a-callback-return-value/173609 "2009-08-12T02:59:13Z")

</div>

I have an Image model that is supported by a Binary model. The latter contains metadata about a physical file and performs all operations related to the physical file (I will eventually have other models for different…

---

## [How to test %x\[\] calls?](https://www.ruby-forum.com/t/how-to-test-x-calls/171595)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 3\
**Last updated:** [July 6, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/how-to-test-x-calls/171595 "2009-07-06T19:25:09Z")

</div>

Hi all, how can I set an expectation on an external command execution? Code: def do\_stuff(arg) %x(external\_executable\_name #{arg}) end Test (not working): it “shells out and executes ‘external\_executable\_name’ wit…

---

## [Php =\> rails (JSON)](https://www.ruby-forum.com/t/php-rails-json/171554)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 3\
**Last updated:** [July 5, 2009, 1:50pm UTC](https://www.ruby-forum.com/t/php-rails-json/171554 "2009-07-05T13:50:15Z")

</div>

I have an application that creates a snippet of php in a server, for packaging up data for JSON, using the php package “Pear.” The snippet I create (with varying data, of course, as the application runs) is written in…

---

## [Example group parallel execution](https://www.ruby-forum.com/t/example-group-parallel-execution/169582)

<div class="topic-metadata">

**Author:** [@objo](https://www.ruby-forum.com/u/objo)\
**Replies:** 3\
**Last updated:** [June 6, 2009, 1:42pm UTC](https://www.ruby-forum.com/t/example-group-parallel-execution/169582 "2009-06-06T13:42:09Z")

</div>

So I am working on a project right now where we are combining Selenium and RSpec. It was working really well until we implemented the grid and started to do parallel execution on the specs to help speed things up. W…

---

## [Problema al abrir una vista](https://www.ruby-forum.com/t/problema-al-abrir-una-vista/167540)

<div class="topic-metadata">

**Author:** [@oderas](https://www.ruby-forum.com/u/oderas)\
**Replies:** 3\
**Last updated:** [May 12, 2009, 10:03am UTC](https://www.ruby-forum.com/t/problema-al-abrir-una-vista/167540 "2009-05-12T10:03:33Z")

</div>

Tengo una vista la cual me muestra una lista de contactos de una agenda dentro de la vista tengo un div en el cual nesecito mostrar los internos disponibles los cuales estan en otro controlador/accion Mi pregunta es c…

---

## [Db:create with JRuby 1.2 and Rails 2.3.2](https://www.ruby-forum.com/t/db-create-with-jruby-1-2-and-rails-2-3-2/163076)

<div class="topic-metadata">

**Author:** [@arung](https://www.ruby-forum.com/u/arung)\
**Replies:** 3\
**Last updated:** [March 19, 2009, 1:32am UTC](https://www.ruby-forum.com/t/db-create-with-jruby-1-2-and-rails-2-3-2/163076 "2009-03-19T01:32:31Z")

</div>

I created a template app using the following combinations: 1). JRuby 1.2.0 and Rails 2.2.2 2). JRuby 1.2.0 and Rails 2.3.2 3). JRuby 1.1.6 and Rails 2.2.2 4). JRuby 1.1.6 and Rails 2.3.2 For this template app, db:cr…

---

## [Grepper 0.9.3: grepping library and commandline tool](https://www.ruby-forum.com/t/grepper-0-9-3-grepping-library-and-commandline-tool/157627)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 3\
**Last updated:** [January 19, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/grepper-0-9-3-grepping-library-and-commandline-tool/157627 "2009-01-19T20:15:12Z")

</div>

Hi – I’ve just released version 0.9.3 of the Grepper library, which includes a grep.rb commandline tool for grepping. It all tries to strictly emulate the results of a subset of GNU grep(1). Supported options: -A, -…

---

## [A question about ruby array](https://www.ruby-forum.com/t/a-question-about-ruby-array/155822)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 2:03am UTC](https://www.ruby-forum.com/t/a-question-about-ruby-array/155822 "2008-12-18T02:03:23Z")

</div>

I read some ruby examples and found there is a syntax I don’t understand. When getting an array element, it uses “array\[:id\]”. I wander why there is a colon before the index. What does this mean?

---

## [ProblÃ¨me de modÃ©lisation](https://www.ruby-forum.com/t/probla-me-de-moda-lisation/153084)

<div class="topic-metadata">

**Author:** [@ebougerolle](https://www.ruby-forum.com/u/ebougerolle)\
**Replies:** 3\
**Last updated:** [November 12, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/probla-me-de-moda-lisation/153084 "2008-11-12T20:39:11Z")

</div>

Salut Ã tous, Je suis en train de coder une petite appli qui permet aux membres d’un Ã©quipe dev de saisir leurs jours de prÃ©sence, ainsi que leurs prÃ©visions de prÃ©sence. Il doit certainement exister des choses…

---

## [About active record read and write attributes](https://www.ruby-forum.com/t/about-active-record-read-and-write-attributes/146622)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 3\
**Last updated:** [August 24, 2008, 4:08am UTC](https://www.ruby-forum.com/t/about-active-record-read-and-write-attributes/146622 "2008-08-24T04:08:49Z")

</div>

I have read the rails documents about the active record read and write attributes.They says reading attributes have typecast automaticly running behind. But i wonder if this typecast works even the active record objec…

---

## [Attachment\_fu &Co](https://www.ruby-forum.com/t/attachment-fu-co/145448)

<div class="topic-metadata">

**Author:** [@Werner\_L](https://www.ruby-forum.com/u/Werner_L)\
**Replies:** 3\
**Last updated:** [August 12, 2008, 9:32am UTC](https://www.ruby-forum.com/t/attachment-fu-co/145448 "2008-08-12T09:32:27Z")

</div>

Vielleicht kann mir jemand weiterhelfen: Debian 4.0 rmagick, imagmagick6.x, imagemagick libmagick9-dev ist drauf, reboot, rechte gesetzt attachment\_fu lädt Bilder hoch, aber die werden nicht verkleinert. Lokal auf M…

---

## [Nested TreeView](https://www.ruby-forum.com/t/nested-treeview/145245)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 3\
**Last updated:** [August 9, 2008, 12:15pm UTC](https://www.ruby-forum.com/t/nested-treeview/145245 "2008-08-09T12:15:51Z")

</div>

Hello all, Is it possible to have nested TreeViews/TreeStores? I’m trying to extend RSQLiteGUI to display relational associations and I’m wondering how I can do this with TreeView… – Thanks! Bryan

---

## [Automatic thumbnail generation?](https://www.ruby-forum.com/t/automatic-thumbnail-generation/144945)

<div class="topic-metadata">

**Author:** [@rubella](https://www.ruby-forum.com/u/rubella)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/automatic-thumbnail-generation/144945 "2008-08-04T22:55:54Z")

</div>

Hi All, Ie$B!Fe(Bd like the ability to generate thumbnails of images automatically, for example to create thumbnails for a list view of photo articles. Maybe something like a tag to call the image where I can specify…

---

## [Creating print preview button?](https://www.ruby-forum.com/t/creating-print-preview-button/132324)

<div class="topic-metadata">

**Author:** [@casid](https://www.ruby-forum.com/u/casid)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 1:34am UTC](https://www.ruby-forum.com/t/creating-print-preview-button/132324 "2008-03-21T01:34:48Z")

</div>

Hi everyone, do you have any idea about how to create print preview button? thanks…

---

## [Please wait dialog](https://www.ruby-forum.com/t/please-wait-dialog/131675)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 3\
**Last updated:** [March 13, 2008, 12:10am UTC](https://www.ruby-forum.com/t/please-wait-dialog/131675 "2008-03-13T00:10:49Z")

</div>

Hi everyone I have an application that needs to execute a shell script with quite a long execution time. I would like to show some “Please wait”-dialog that can be updated with status from the script. Does anyone have…

---

## [Punto de entrada a la aplicaciÃ³n](https://www.ruby-forum.com/t/punto-de-entrada-a-la-aplicacia-n/115614)

<div class="topic-metadata">

**Author:** [@rpcolom](https://www.ruby-forum.com/u/rpcolom)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 9:16am UTC](https://www.ruby-forum.com/t/punto-de-entrada-a-la-aplicacia-n/115614 "2007-09-27T09:16:12Z")

</div>

Â¿Como puedo establecer el punto de entrada a la aplicaciÃ³n de forma que si pongo solo http://localhost:3000/ o la url de inicio que sea me redirija a una acciÃ³n por defecto? Gracias.

---

## [How to make a Tag cloud with Ferret?](https://www.ruby-forum.com/t/how-to-make-a-tag-cloud-with-ferret/104133)

<div class="topic-metadata">

**Author:** [@py\_landanger](https://www.ruby-forum.com/u/py_landanger)\
**Replies:** 3\
**Last updated:** [May 19, 2007, 11:00am UTC](https://www.ruby-forum.com/t/how-to-make-a-tag-cloud-with-ferret/104133 "2007-05-19T11:00:17Z")

</div>

Hello, I want to make a TAG CLOUD using ferret. How can i do so ? I would need to know the amount of keyword for every each words in the index. Thank you

---

## [Open source cms sumit](https://www.ruby-forum.com/t/open-source-cms-sumit/85262)

<div class="topic-metadata">

**Author:** [@bueller](https://www.ruby-forum.com/u/bueller)\
**Replies:** 3\
**Last updated:** [February 12, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/open-source-cms-sumit/85262 "2007-02-12T15:01:07Z")

</div>

http://2007.oscms-summit.org/ just encase you guys didnt see this before

---

## [Non-form-based file upload](https://www.ruby-forum.com/t/non-form-based-file-upload/71945)

<div class="topic-metadata">

**Author:** [@steely1](https://www.ruby-forum.com/u/steely1)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/non-form-based-file-upload/71945 "2006-10-18T14:16:52Z")

</div>

Hi all, I have a relatively newbie question regarding the processing of a file upload from a source other than a Rails form. I’d like to upload a file using a generic HTTP POST request (which happens, in this case, t…

---

## [Provide site-specific SSL cert on behalf of clients](https://www.ruby-forum.com/t/provide-site-specific-ssl-cert-on-behalf-of-clients/207378)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 25, 2011, 12:46pm UTC](https://www.ruby-forum.com/t/provide-site-specific-ssl-cert-on-behalf-of-clients/207378 "2011-05-25T12:46:57Z")

</div>

I’m wondering if I can configure nginx to provide a PEM SSL cert for a specific site on behalf of clients on my subnet, and how I might go about configuring, testing this. I have a cert in PEM format, and nginx 0.8.54…

---

## [Need help in Installing Rails 3.0.3](https://www.ruby-forum.com/t/need-help-in-installing-rails-3-0-3/201515)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 2, 2011, 6:36am UTC](https://www.ruby-forum.com/t/need-help-in-installing-rails-3-0-3/201515 "2011-02-02T06:36:47Z")

</div>

This is my gem env RubyGems Environment: RUBYGEMS VERSION: 1.3.7 RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) \[i686-linux\] INSTALLATION DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136 RUBY EXECUTABLE: /hom…

---

## [Nginx Terminates at 71.6 kilobytes](https://www.ruby-forum.com/t/nginx-terminates-at-71-6-kilobytes/187578)

<div class="topic-metadata">

**Author:** [@Shahan\_K](https://www.ruby-forum.com/u/Shahan_K)\
**Replies:** 6\
**Last updated:** [April 29, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/nginx-terminates-at-71-6-kilobytes/187578 "2010-04-29T18:43:23Z")

</div>

Hi, I am using the latest development version of nginx (0.8.36) on Debian Lenny x86. For some reason, my nginx installation is not allowing files larger than 71.6 kilobytes to transfer. A larger file simply just tra…

---

## [How to deal with this code?](https://www.ruby-forum.com/t/how-to-deal-with-this-code/175067)

<div class="topic-metadata">

**Author:** [@fireflyman](https://www.ruby-forum.com/u/fireflyman)\
**Replies:** 6\
**Last updated:** [September 9, 2009, 9:21am UTC](https://www.ruby-forum.com/t/how-to-deal-with-this-code/175067 "2009-09-09T09:21:56Z")

</div>

Hi,everyone Here is my model code—\> has\_many :authors\_books has\_many :authors, :through =\> :authors\_books belongs\_to :book belongs\_to :author has\_many :authors\_books has\_many :books, :through =\> :authors\_books I us…

---

## [File transfer problem](https://www.ruby-forum.com/t/file-transfer-problem/172699)

<div class="topic-metadata">

**Author:** [@rudeluva](https://www.ruby-forum.com/u/rudeluva)\
**Replies:** 6\
**Last updated:** [July 27, 2009, 4:41pm UTC](https://www.ruby-forum.com/t/file-transfer-problem/172699 "2009-07-27T16:41:56Z")

</div>

Hello, my scenario is that i’m using Flex to upload to a remote server. there are two servers involved…one that runs the web app and one that only stores the file. everytime i do this i get an io error…once, i hit t…

---

## [How to track down an nginx crash](https://www.ruby-forum.com/t/how-to-track-down-an-nginx-crash/168525)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 6\
**Last updated:** [May 26, 2009, 5:55am UTC](https://www.ruby-forum.com/t/how-to-track-down-an-nginx-crash/168525 "2009-05-26T05:55:59Z")

</div>

Hey guys, Nginx crashed 2 times on 2 of my proxy servers… no errors in logs and i cant figure out why the crash took place. I do see from my rrd files that there was about 20mbps of http traffic going to the box at t…

---

## [ThroughAssociations](https://www.ruby-forum.com/t/throughassociations/160086)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 6\
**Last updated:** [February 11, 2009, 9:35pm UTC](https://www.ruby-forum.com/t/throughassociations/160086 "2009-02-11T21:35:42Z")

</div>

There is example: http://wiki.rubyonrails.org/rails/pages/ThroughAssociations Example Catalogue has\_many :catalogue\_items CatalogueItems belongs\_to :catalogue; belongs\_to :product Product has\_many :catalogue\_items S…

---

## [Creating a Daemon (win32-service) and Accessing ActionMailer](https://www.ruby-forum.com/t/creating-a-daemon-win32-service-and-accessing-actionmailer/148738)

<div class="topic-metadata">

**Author:** [@tabassman](https://www.ruby-forum.com/u/tabassman)\
**Replies:** 6\
**Last updated:** [September 16, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/creating-a-daemon-win32-service-and-accessing-actionmailer/148738 "2008-09-16T23:14:30Z")

</div>

I’m trying to create a win32-service (ruby script with Rails environment) utilizing the Daemon class and it currently prematurely exits when it encounters a method of mine that calls a delivery via ActionMailer. Here…

---

## [Undefine "require\_gem"](https://www.ruby-forum.com/t/undefine-require-gem/146385)

<div class="topic-metadata">

**Author:** [@amin](https://www.ruby-forum.com/u/amin)\
**Replies:** 6\
**Last updated:** [August 20, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385 "2008-08-20T15:48:00Z")

</div>

Hello G.s I am beginner in ROR. I have an application built in rails v 1.2.4 or 1.2.6, whenever I’ll start the webrick server its give me an error “reqire\_gem”. As per my understanding there is an issue of version …

---

## [Rcov segmentation faults on Debian and Ubuntu (not on OS X)](https://www.ruby-forum.com/t/rcov-segmentation-faults-on-debian-and-ubuntu-not-on-os-x/136983)

<div class="topic-metadata">

**Author:** [@stephen](https://www.ruby-forum.com/u/stephen)\
**Replies:** 6\
**Last updated:** [May 8, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/rcov-segmentation-faults-on-debian-and-ubuntu-not-on-os-x/136983 "2008-05-08T16:39:13Z")

</div>

This has been driving me nuts and I’ve spent too much time on it. I’m running rcov under cruisecontrol.rb on OS X just fine. Both my slices at slicehost fail to do so and report seemingly random segmentation faults an…

---

## [Memorizzare impostazioni](https://www.ruby-forum.com/t/memorizzare-impostazioni/124458)

<div class="topic-metadata">

**Author:** [@alexpescara](https://www.ruby-forum.com/u/alexpescara)\
**Replies:** 6\
**Last updated:** [December 29, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/memorizzare-impostazioni/124458 "2007-12-29T15:16:26Z")

</div>

Adesso quello che vorrei fare Ã¨: visualizzare una form in cui viene chiesto quante righe alla volta visualizzare nella pagina,e poi tenere questo valore memorizzato per eventuali successive operazioni,come ad esempio…

---

## [Create 2 fk referencing the same table](https://www.ruby-forum.com/t/create-2-fk-referencing-the-same-table/106379)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 9, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/create-2-fk-referencing-the-same-table/106379 "2007-06-09T19:28:56Z")

</div>

Hi everyone! I have a problem with defining 2 fk referencing the same table. I have a Program table and a Team table. The Program should have an away team and a home team fk. From my understanding, “the fk column shou…

---

## [A regular expression problem](https://www.ruby-forum.com/t/a-regular-expression-problem/87685)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [March 5, 2007, 9:41am UTC](https://www.ruby-forum.com/t/a-regular-expression-problem/87685 "2007-03-05T09:41:53Z")

</div>

hi,it seems that there’s some problem with the regeular expression processing in ruby,when I ran the code below, it happened that it loop for ever and would not get out. $value = “20053301831294544645645645634556354” …

---

## [Cluster 3 mongrel servers residing in different machines (Wi](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668)

<div class="topic-metadata">

**Author:** [@santhu](https://www.ruby-forum.com/u/santhu)\
**Replies:** 6\
**Last updated:** [January 29, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/cluster-3-mongrel-servers-residing-in-different-machines-wi/102668 "2007-01-29T18:38:41Z")

</div>

Hi All, Machine A: has Apache 2.2 doing load balancing, also has DB and 8 mongrel processes I’m using mongrel\_cluster . Now, I want to run Mongrels on Machine’s B and C (ie Cluster 3 Mongrels in three different machi…

---

## [RE: rails, javascript e google maps](https://www.ruby-forum.com/t/re-rails-javascript-e-google-maps/69608)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 6\
**Last updated:** [September 22, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/re-rails-javascript-e-google-maps/69608 "2006-09-22T18:05:46Z")

</div>

utilizza gli rjs templates o falli a mano con: Peak Obsession!!

---

## [Anyone know a VERY simple smtp server for linux?](https://www.ruby-forum.com/t/anyone-know-a-very-simple-smtp-server-for-linux/68231)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 6\
**Last updated:** [September 18, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/anyone-know-a-very-simple-smtp-server-for-linux/68231 "2006-09-18T21:12:51Z")

</div>

I dont have smpt details of my ISP and i’d like to setup a mail server on my local machine while I test my rails app (actionmailer). What is the simplest and easiest smtp mail server to setup on SUSE 10? I’m not an ad…

---

## [How to change the error message easy way](https://www.ruby-forum.com/t/how-to-change-the-error-message-easy-way/64759)

<div class="topic-metadata">

**Author:** [@nekapoor](https://www.ruby-forum.com/u/nekapoor)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 6:02pm UTC](https://www.ruby-forum.com/t/how-to-change-the-error-message-easy-way/64759 "2006-08-15T18:02:57Z")

</div>

validates\_presence\_of :fname results in the error message “Fname can’t be blank”. What I want is “First Name can’t be blank”. I could do this def validate errors.add\_to\_base(“First Name can’t be blank”) if fname.bl…

---

## [ActiveRecord associations](https://www.ruby-forum.com/t/activerecord-associations/60246)

<div class="topic-metadata">

**Author:** [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Replies:** 6\
**Last updated:** [May 11, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/activerecord-associations/60246 "2006-05-11T16:39:00Z")

</div>

Can someone clarify this for me? Suppose I have two tables like: class Company \< ActiveRecord::Base belongs\_to :category end class Category \< ActiveRecord::Base has\_many :companies end I understand that the belon…

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

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