# Top

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

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

---

## [Configurazione di emacs per programmare in ruby (video)](https://www.ruby-forum.com/t/configurazione-di-emacs-per-programmare-in-ruby-video/74490)

<div class="topic-metadata">

**Author:** [@Luigi\_P](https://www.ruby-forum.com/u/Luigi_P)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:52am UTC](https://www.ruby-forum.com/t/configurazione-di-emacs-per-programmare-in-ruby-video/74490 "2006-11-07T10:52:12Z")

</div>

http://platypope.org/yada/emacs-demo/ Tra le cose utilizzate: ruby-mode e inferior ruby mode (fa parte del bundle ruby) integrazione con subversion (con emacs) mmm-mode \[1\], per avere nxml-mode e ruby-mode nei file …

---

## [True.to\_i](https://www.ruby-forum.com/t/true-to-i/74473)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:45am UTC](https://www.ruby-forum.com/t/true-to-i/74473 "2006-11-07T10:45:49Z")

</div>

Hello I am processing database rows and I see that there are “bit” columns that come out of ActiveRecord as true or false. I wanted binary digits so I did this: class FalseClass def to\_i 0 end end class TrueClas…

---

## [Merging files with CR as EOL?](https://www.ruby-forum.com/t/merging-files-with-cr-as-eol/72700)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/merging-files-with-cr-as-eol/72700 "2006-10-18T15:42:22Z")

</div>

i have to rewrite a script in order to be compatible with file lines ending by CR instead of unix \\n my script is simple, it take the content of a folder and merge the file all together in a unique file, those files h…

---

## [Handling of nil objects](https://www.ruby-forum.com/t/handling-of-nil-objects/72106)

<div class="topic-metadata">

**Author:** [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Replies:** 3\
**Last updated:** [October 14, 2006, 3:20pm UTC](https://www.ruby-forum.com/t/handling-of-nil-objects/72106 "2006-10-14T15:20:07Z")

</div>

to paint the picture I currently have a system which lists uses and the Department the user is assigned to. So my models look something like this. ####User Model class User \< ActiveRecord::Base belongs\_to :departmen…

---

## [Simply\_RESTful and Bulk Import URLs](https://www.ruby-forum.com/t/simply-restful-and-bulk-import-urls/100725)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 3\
**Last updated:** [July 31, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/simply-restful-and-bulk-import-urls/100725 "2006-07-31T21:35:29Z")

</div>

Hi, I have a people controller, and want to import bulk import multiple people from a CSV file. In my routes.rb file I have: map.resource :person Now, it’s a little unclear to me how to further configure the routes …

---

## [Compare Date with TIme](https://www.ruby-forum.com/t/compare-date-with-time/63113)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 3\
**Last updated:** [June 12, 2006, 2:31pm UTC](https://www.ruby-forum.com/t/compare-date-with-time/63113 "2006-06-12T14:31:57Z")

</div>

Hi When returning data from a database column set as a date field I get ‘2006-06-06’ I am then have these two lines of code in my controller, taht gain the date I require. pNow = Time.now @pDate = Time.local(pNow.y…

---

## [Help with domain model/database design](https://www.ruby-forum.com/t/help-with-domain-model-database-design/60457)

<div class="topic-metadata">

**Author:** [@Sean\_OSHara](https://www.ruby-forum.com/u/Sean_OSHara)\
**Replies:** 3\
**Last updated:** [May 14, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/help-with-domain-model-database-design/60457 "2006-05-14T17:33:01Z")

</div>

Hi All, I was wondering if I could get some comments on my approach to the design of the domain model and database for my rails app. I don’t have much experience in this so I am wondering if I am heading in the right…

---

## [Install rail behind a proxy](https://www.ruby-forum.com/t/install-rail-behind-a-proxy/58109)

<div class="topic-metadata">

**Author:** [@Bolo\_M](https://www.ruby-forum.com/u/Bolo_M)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/install-rail-behind-a-proxy/58109 "2006-04-19T12:07:33Z")

</div>

Hello i try to install rail. I am behin a proxy with no Authorization C:\\rubygems-0.8.11\>gem install rails -p http://xxx.xxx.xxx.xxx Attempting local installation of ‘rails’ Local gem file not found: rails\*.gem Att…

---

## [Changing the quote-character in csv parsing](https://www.ruby-forum.com/t/changing-the-quote-character-in-csv-parsing/56181)

<div class="topic-metadata">

**Author:** [@snej](https://www.ruby-forum.com/u/snej)\
**Replies:** 3\
**Last updated:** [March 28, 2006, 6:19pm UTC](https://www.ruby-forum.com/t/changing-the-quote-character-in-csv-parsing/56181 "2006-03-28T18:19:01Z")

</div>

Hi, I have a bunch of files containing lines as comma-seperated values. Unfortunately, the character used for quoting is a single quote (’) and not the double quote ("). How can I tell the csv library (or fastercsv o…

---

## [Stack level too deep error : Pulling my hairs out](https://www.ruby-forum.com/t/stack-level-too-deep-error-pulling-my-hairs-out/55613)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 3\
**Last updated:** [March 22, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/stack-level-too-deep-error-pulling-my-hairs-out/55613 "2006-03-22T15:42:29Z")

</div>

Hello, I’ve changed something in my test application and since I can’t find the cause of the “stack level too deep” raising on every request. I’ve removed almost every part of code and the error still occurs, eg with …

---

## [Session with Indifferent Access?](https://www.ruby-forum.com/t/session-with-indifferent-access/54244)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 0\
**Last updated:** [February 27, 2006, 5:26pm UTC](https://www.ruby-forum.com/t/session-with-indifferent-access/54244 "2006-02-27T17:26:58Z")

</div>

I noticed yesterday that, unlike many of the the hash-like objects in Rails, the session object doesn’t have indifferent access. E.g. @session\[‘user’\] is not the same as @session\[:user\]. This violated my POLS, and …

---

## [Text formatting](https://www.ruby-forum.com/t/text-formatting/239170)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [February 15, 2014, 4:03pm UTC](https://www.ruby-forum.com/t/text-formatting/239170 "2014-02-15T16:03:49Z")

</div>

Hello people! I am very new to Ruby. Yesterday I bought very nice book about Ruby and immediately started learning. Now I have little problem :slight\_smile: The exercise is to display text like this: Tabl…

---

## [Tutorials for beginner](https://www.ruby-forum.com/t/tutorials-for-beginner/235489)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [June 26, 2013, 10:44am UTC](https://www.ruby-forum.com/t/tutorials-for-beginner/235489 "2013-06-26T10:44:17Z")

</div>

I am learning ROR Please suggest good rails sample applications. Thanks.

---

## [Structuring a has\_many query](https://www.ruby-forum.com/t/structuring-a-has-many-query/227111)

<div class="topic-metadata">

**Author:** [@Anthony\_DeFreitas](https://www.ruby-forum.com/u/Anthony_DeFreitas)\
**Replies:** 5\
**Last updated:** [March 5, 2013, 10:41am UTC](https://www.ruby-forum.com/t/structuring-a-has-many-query/227111 "2013-03-05T10:41:27Z")

</div>

I have the following models: Category: has\_many :sub\_categories Sub\_Category: belongs\_to :category has\_many :posts Post: belongs\_to :sub\_category I’m trying to build a page that will list Categories with Pjax tab…

---

## [Rails 3.0 application Windows to Linux](https://www.ruby-forum.com/t/rails-3-0-application-windows-to-linux/220916)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 26, 2012, 5:20pm UTC](https://www.ruby-forum.com/t/rails-3-0-application-windows-to-linux/220916 "2012-06-26T17:20:24Z")

</div>

Hello, I developed a Rails 3.0 application on Windows. It connects to a couchDB database. Everything works fine. Now, I would like to take my application and put it on another machine which runs under Linux. I alrea…

---

## [How to shutdown Ruby XMLRPC server?](https://www.ruby-forum.com/t/how-to-shutdown-ruby-xmlrpc-server/216960)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 18, 2012, 5:48pm UTC](https://www.ruby-forum.com/t/how-to-shutdown-ruby-xmlrpc-server/216960 "2012-02-18T17:48:52Z")

</div>

Hello. I’m testing Ruby XMLRPC support right now. All works fine, except XMLRPC::Server#shutdown :frowning: If i run following ruby 1.9.3 test code, it fails to shutdown server on both Windows 7 and OSX 10.7: server.r…

---

## [Need some help with hashes, don't know what fails](https://www.ruby-forum.com/t/need-some-help-with-hashes-dont-know-what-fails/212441)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 3, 2011, 10:21am UTC](https://www.ruby-forum.com/t/need-some-help-with-hashes-dont-know-what-fails/212441 "2011-10-03T10:21:44Z")

</div>

Hi all, I have a hash that contains other hashes, now I’m trying to retreive the information on those but I can’t get the values inside. Just this code for explain what happens to me: Im using ruby-1.9.2-p136. ## j…

---

## [Forcing a download rather than playing a .wm](https://www.ruby-forum.com/t/forcing-a-download-rather-than-playing-a-wm/200930)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 25, 2010, 9:01pm UTC](https://www.ruby-forum.com/t/forcing-a-download-rather-than-playing-a-wm/200930 "2010-12-25T21:01:25Z")

</div>

I have the following HAML code … %ul %li{‘class’ =\> list\_item\_L3} %div{‘id’ =\> getting\_started\_div} %span{‘id’ =\> getting\_started\_span} %a{‘id’ =\> getting\_started\_a, ‘href’ =\> '/videos/msg\_ralph2.shnelvar.wmv} Shn…

---

## [0.8.53 reports incorrect version](https://www.ruby-forum.com/t/0-8-53-reports-incorrect-version/197740)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 20, 2010, 4:02pm UTC](https://www.ruby-forum.com/t/0-8-53-reports-incorrect-version/197740 "2010-10-20T16:02:38Z")

</div>

After updating to 0.8.53 (via Launchpad PPA), version still reports as 0.8.52. Anyone else noticed this? Cheers, Phil.

---

## [Ruby & flash](https://www.ruby-forum.com/t/ruby-flash/191487)

<div class="topic-metadata">

**Author:** [@andromeda](https://www.ruby-forum.com/u/andromeda)\
**Replies:** 5\
**Last updated:** [July 13, 2010, 9:59pm UTC](https://www.ruby-forum.com/t/ruby-flash/191487 "2010-07-13T21:59:20Z")

</div>

Hello there. we do have a problem with a ruby site we are forced to maintain but have absolutely no experience nor knowledge about the framework and the service structures. I’d really appreciate some patience here, be…

---

## [How to know the childs PID of a given process?](https://www.ruby-forum.com/t/how-to-know-the-childs-pid-of-a-given-process/181045)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [January 4, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/how-to-know-the-childs-pid-of-a-given-process/181045 "2010-01-04T16:49:50Z")

</div>

Hi, I know that a Ruby process with PID 1000 (under Linux) has forked 4 times. How could I know the PID of those childs from any other ruby interpreter? This is, I just know the PID of the parent (1000). Of course I…

---

## [Spliting hash using map!](https://www.ruby-forum.com/t/spliting-hash-using-map/177142)

<div class="topic-metadata">

**Author:** [@nescripter](https://www.ruby-forum.com/u/nescripter)\
**Replies:** 5\
**Last updated:** [October 12, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/spliting-hash-using-map/177142 "2009-10-12T15:48:31Z")

</div>

Hello, I have a program which goes through a number of entries, a typical example of these entries is as follows: qwerty 0001 abcdef 0002 0003 0004 uvwxyz 0005 0006 Basically, the first string can match to one or m…

---

## [REG: How can we debug a ruby script](https://www.ruby-forum.com/t/reg-how-can-we-debug-a-ruby-script/164266)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [April 19, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/reg-how-can-we-debug-a-ruby-script/164266 "2009-04-19T19:24:17Z")

</div>

Hi, I want to debug a ruby script using -rdebug option. The following is the source code: with file fact.rb. Fact.rb def fact(n) return 1 if n == 0 f = 1 n.downto(1) do |i| f \*= i end return f end print fact(…

---

## [How to ensure](https://www.ruby-forum.com/t/how-to-ensure/165658)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 5\
**Last updated:** [April 16, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/how-to-ensure/165658 "2009-04-16T18:39:07Z")

</div>

how do i get my app database info only after another server has called my app’s method and updated my app’s database? Now, i can just get the database info before anther server calls my app’s method. def one some co…

---

## [AR.find :include is adding stuff I don't want](https://www.ruby-forum.com/t/ar-find-include-is-adding-stuff-i-dont-want/164999)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 5\
**Last updated:** [April 8, 2009, 11:44am UTC](https://www.ruby-forum.com/t/ar-find-include-is-adding-stuff-i-dont-want/164999 "2009-04-08T11:44:57Z")

</div>

In this code below, ActiveRecord returns data from associations I don’t want. class Article \< ActiveRecord::Base has\_many :extras has\_many :pages, :order =\> ‘sortOrder’ has\_many :assets def get\_list return self…

---

## [Save value of text\_field in the view](https://www.ruby-forum.com/t/save-value-of-text-field-in-the-view/158609)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 5\
**Last updated:** [January 28, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/save-value-of-text-field-in-the-view/158609 "2009-01-28T19:25:35Z")

</div>

hello everybody How I save de value of text\_fiel in the same view \<%= f.text\_field :precio\_compra, :size=\> 10 %\> How do it??? thanks for all

---

## [Ruby on Rails for Begineers](https://www.ruby-forum.com/t/ruby-on-rails-for-begineers/65563)

<div class="topic-metadata">

**Author:** [@jameslabocki](https://www.ruby-forum.com/u/jameslabocki)\
**Replies:** 5\
**Last updated:** [October 28, 2008, 6:14am UTC](https://www.ruby-forum.com/t/ruby-on-rails-for-begineers/65563 "2008-10-28T06:14:18Z")

</div>

Hi guys, Can anyone suggest more sites and books for someone wanting to learn Ruby on Rails who hasn’t had any past or very little programming experience? Thanks in advance! Excited :slight\_smile: Jamie

---

## [Polymorphic problem](https://www.ruby-forum.com/t/polymorphic-problem/146523)

<div class="topic-metadata">

**Author:** [@almartin](https://www.ruby-forum.com/u/almartin)\
**Replies:** 5\
**Last updated:** [August 22, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/polymorphic-problem/146523 "2008-08-22T23:08:18Z")

</div>

Hi, I’m in the process of learning ruby on rails so this will be one of many posts by me when I can’t find the solution by googling. I have set up a polymorphic relationship that I can’t get to work when storing data. …

---

## [How do I build this form?](https://www.ruby-forum.com/t/how-do-i-build-this-form/144871)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [August 4, 2008, 1:21am UTC](https://www.ruby-forum.com/t/how-do-i-build-this-form/144871 "2008-08-04T01:21:32Z")

</div>

Hi, I have a simple application. There is a form of items, in which a user can say I want the item or I do not. Then there is an orders table that records what items the user selected. The names of my tables are “…

---

## [Creating a rails project](https://www.ruby-forum.com/t/creating-a-rails-project/142441)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 5\
**Last updated:** [July 8, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441 "2008-07-08T17:38:59Z")

</div>

Hi, I’m just starting with Rails today… type this in the command prompt: rails C:\\Documents and Settings\\user\\Desktop\\file Then it displays… create x, create y, etc… But when I check the desktop, I see no folder. Th…

---

## [Alternativa a FeedTools?](https://www.ruby-forum.com/t/alternativa-a-feedtools/130193)

<div class="topic-metadata">

**Author:** [@rugoli](https://www.ruby-forum.com/u/rugoli)\
**Replies:** 5\
**Last updated:** [February 27, 2008, 6:17am UTC](https://www.ruby-forum.com/t/alternativa-a-feedtools/130193 "2008-02-27T06:17:20Z")

</div>

Buenas lista. Estaba usando FeedTools para parsear rss, pero debido a un bug que tiene entre utf8 y 8859-1 (mi bd estÃ¡ en utf8) no me es posible utilizarlo (si alguien lo ha solucionado de alguna manera, serÃ¡ bienve…

---

## [Mysql query, where members = 2, undefined field?](https://www.ruby-forum.com/t/mysql-query-where-members-2-undefined-field/127979)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 5\
**Last updated:** [February 4, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/mysql-query-where-members-2-undefined-field/127979 "2008-02-04T15:42:54Z")

</div>

ok, now i know this isn’t a purely rails problem but if you could help me out that’d be great. coming from a SQL Server background switching over to mysql hasn’t been that much fuss but i’m getting problems with compu…

---

## [Working with Test::Unit](https://www.ruby-forum.com/t/working-with-test-unit/225985)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 5\
**Last updated:** [January 3, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/working-with-test-unit/225985 "2008-01-03T22:48:30Z")

</div>

Hi, I use Watir and Test::Unit. There are a number of sites I test that are very similar. I have a base test unit script e.g. class Main\_Site\_Test \< Test::Unit::TestCase include Watir::Assertions def setup @browse…

---

## [What's the good book for ruby beginner and where can I find](https://www.ruby-forum.com/t/whats-the-good-book-for-ruby-beginner-and-where-can-i-find/114145)

<div class="topic-metadata">

**Author:** [@Guofu\_C](https://www.ruby-forum.com/u/Guofu_C)\
**Replies:** 5\
**Last updated:** [September 8, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/whats-the-good-book-for-ruby-beginner-and-where-can-i-find/114145 "2007-09-08T15:47:06Z")

</div>

Hi, I am a beginner of ruby. Can someone tell me what’s the best book for the ruby beginner? I would also like your advice to sharpen my ruby skill. Where can I find a good ruby project? Thanks!

---

## [Rtrim and ltrim function for ruby: is this ok?](https://www.ruby-forum.com/t/rtrim-and-ltrim-function-for-ruby-is-this-ok/110299)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 5\
**Last updated:** [July 26, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/rtrim-and-ltrim-function-for-ruby-is-this-ok/110299 "2007-07-26T21:24:20Z")

</div>

I created this function: class String def rtrim(character) if self\[-1, 1\] == character.to\_s self\[0, self.length - 1\] end return self end def ltrim(character) if self\[0, 1\] == character.to\_s self\[1, self.length\] …

---

## [Ruby Nube](https://www.ruby-forum.com/t/ruby-nube/106933)

<div class="topic-metadata">

**Author:** [@musty](https://www.ruby-forum.com/u/musty)\
**Replies:** 5\
**Last updated:** [June 15, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/ruby-nube/106933 "2007-06-15T19:17:43Z")

</div>

Hello, The concept of Dynamically Typed Languages has peaked my interest. However, I have spent sometime trying to find what problem they exactly solve. Can anyone tell me: What problems do dynamically typed langua…

---

## [Activescaffold vs streamlined vs?](https://www.ruby-forum.com/t/activescaffold-vs-streamlined-vs/91774)

<div class="topic-metadata">

**Author:** [@linoj](https://www.ruby-forum.com/u/linoj)\
**Replies:** 5\
**Last updated:** [April 12, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/activescaffold-vs-streamlined-vs/91774 "2007-04-12T19:51:51Z")

</div>

hi, I’m exploring options for a new app we’re developing that requires display of a lot of sortable/searchable tables with content that differs based on who is logged in, their permissions, etc. Some pages will have …

---

## [Sono nuovo ed ho un piccolo problema :) (ArgumentError)](https://www.ruby-forum.com/t/sono-nuovo-ed-ho-un-piccolo-problema-argumenterror/83311)

<div class="topic-metadata">

**Author:** [@killerfox](https://www.ruby-forum.com/u/killerfox)\
**Replies:** 5\
**Last updated:** [January 25, 2007, 1:10pm UTC](https://www.ruby-forum.com/t/sono-nuovo-ed-ho-un-piccolo-problema-argumenterror/83311 "2007-01-25T13:10:28Z")

</div>

Ciao a tutti, sto iniziando ad avvicinarmi a Ruby ma non riesco a capire perchè questa piccola porzione di codice non funziona… number = gets if number \> 10 puts “Try again” elsif number == 3 puts “You lose” else …

---

## [How to maintain App config data?](https://www.ruby-forum.com/t/how-to-maintain-app-config-data/73466)

<div class="topic-metadata">

**Author:** [@nwiger](https://www.ruby-forum.com/u/nwiger)\
**Replies:** 5\
**Last updated:** [October 25, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/how-to-maintain-app-config-data/73466 "2006-10-25T21:10:32Z")

</div>

I’m writing an app in Rails, but some modules need to work outside of Rails. In these classes, I’d like to have a common way to access configuration data. Two approaches I though of: Use a Singleton class ala the Lo…

---

## [Server engine](https://www.ruby-forum.com/t/server-engine/70962)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 5\
**Last updated:** [October 4, 2006, 7:13pm UTC](https://www.ruby-forum.com/t/server-engine/70962 "2006-10-04T19:13:00Z")

</div>

Ciao a tutti… scrivo finalmente per un quesito NON RAILS !!! Devo creare un server engine che accetti connessioni socket da vari client contemporaneamente, ed ho pensato OVVIAMENTE di farlo in ruby. Conoscete qualcosa…

---

## [Uninitialized constant BooleanClause](https://www.ruby-forum.com/t/uninitialized-constant-booleanclause/67498)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 5\
**Last updated:** [September 29, 2006, 12:24am UTC](https://www.ruby-forum.com/t/uninitialized-constant-booleanclause/67498 "2006-09-29T00:24:08Z")

</div>

I’ve installed the latest Win32 gem and the acts\_as\_ferret plugin (i checked out the files and placed them in the vendor/plugins directory). When I try to search I get the following error: uninitialized constant Boole…

---

## [Problems with file\_column plugin](https://www.ruby-forum.com/t/problems-with-file-column-plugin/102248)

<div class="topic-metadata">

**Author:** [@ivanstorck](https://www.ruby-forum.com/u/ivanstorck)\
**Replies:** 5\
**Last updated:** [September 15, 2006, 9:59am UTC](https://www.ruby-forum.com/t/problems-with-file-column-plugin/102248 "2006-09-15T09:59:00Z")

</div>

installation is not as smooth as some other plug-ins. If you follow the instructions on http://www.kanthak.net/opensource/file\_column/ it makes a directory called trunk instead of file\_column. You have to manually …

---

## [A couple of ferret 0.9.4 exceptions](https://www.ruby-forum.com/t/a-couple-of-ferret-0-9-4-exceptions/101398)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 5\
**Last updated:** [August 5, 2006, 9:24pm UTC](https://www.ruby-forum.com/t/a-couple-of-ferret-0-9-4-exceptions/101398 "2006-08-05T21:24:30Z")

</div>

Hi Dave, I am using ferret at my site http://gifthat.com and I just had a few exceptions pop up. I don’t have a way to reproduce them, but my site just was listed on lifehacker.com and these issues have popped up un…

---

## [Cannot find gem for Rails error from dispatch.cgi](https://www.ruby-forum.com/t/cannot-find-gem-for-rails-error-from-dispatch-cgi/101281)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 5\
**Last updated:** [August 5, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/cannot-find-gem-for-rails-error-from-dispatch-cgi/101281 "2006-08-05T17:06:13Z")

</div>

Hi All, I’m developing a Rails app with Rails v1.1.4, but when I upload it to Dreamhost and try to serve it with dispatch.cgi, I get the error “Cannot find gem for Rails =1.1.4”. However, I have installed the 1.1.4 g…

---

## [Code syntax highlighting behaviour](https://www.ruby-forum.com/t/code-syntax-highlighting-behaviour/100159)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 5\
**Last updated:** [July 28, 2006, 11:37am UTC](https://www.ruby-forum.com/t/code-syntax-highlighting-behaviour/100159 "2006-07-28T11:37:11Z")

</div>

Hello All, Maybe handy for other people as well… I tried looking for a plugin / behavior which would syntax highlight ruby code, but could not find it (if it’s there please show me where), so I decided to create it m…

---

## [SQL query question](https://www.ruby-forum.com/t/sql-query-question/98859)

<div class="topic-metadata">

**Author:** [@subroutine](https://www.ruby-forum.com/u/subroutine)\
**Replies:** 5\
**Last updated:** [July 19, 2006, 1:52pm UTC](https://www.ruby-forum.com/t/sql-query-question/98859 "2006-07-19T13:52:02Z")

</div>

Hello, I know it’s off-topic. But I’m sure you are using SQL and can help me :wink: I’ve a table CARS and a table KEYS and a LOCKS table. CARS id|name 1|audi 2|ford 3|mazda 4|porsche … KEYS id|car\_id|lock\_id …

---

## [Using mongrel cluster](https://www.ruby-forum.com/t/using-mongrel-cluster/61301)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 5\
**Last updated:** [May 23, 2006, 7:12am UTC](https://www.ruby-forum.com/t/using-mongrel-cluster/61301 "2006-05-23T07:12:56Z")

</div>

Me thinks the docs might need a bit of fleshing out :stuck\_out\_tongue\_winking\_eye: http://mongrel.rubyforge.org/docs/mongrel\_cluster.html At the very least, what vars can go in its config. Joe

---

## [Google Map problems](https://www.ruby-forum.com/t/google-map-problems/60635)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 5\
**Last updated:** [May 16, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/google-map-problems/60635 "2006-05-16T15:29:58Z")

</div>

I followed the setup from http://cartographer.rubyforge.org/ but keep getting this error - NoMethodError in Sandbox#map Showing app/views/layouts/sandbox.rhtml where line #4 raised: You have a nil object when you did…

---

## [Newbie Problems with pluralization](https://www.ruby-forum.com/t/newbie-problems-with-pluralization/57943)

<div class="topic-metadata">

**Author:** [@Ryan\_Lunde](https://www.ruby-forum.com/u/Ryan_Lunde)\
**Replies:** 5\
**Last updated:** [April 17, 2006, 1:54am UTC](https://www.ruby-forum.com/t/newbie-problems-with-pluralization/57943 "2006-04-17T01:54:44Z")

</div>

Hi, I have a many to many relationship incorporating the following tables: taxes --\> taxes\_tax\_groups --\> tax\_groups I have a model named tax with the following declaration: has\_and\_belongs\_to\_many :tax\_groups and …

---

## [Webrick and Lighttpd](https://www.ruby-forum.com/t/webrick-and-lighttpd/80061)

<div class="topic-metadata">

**Author:** [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Replies:** 5\
**Last updated:** [March 14, 2006, 2:23am UTC](https://www.ruby-forum.com/t/webrick-and-lighttpd/80061 "2006-03-14T02:23:20Z")

</div>

I just went thru the hivelogic article to get everything installed on my new mac. I then decided to run thru the ADC Rails article. In the article it says to run ‘script/server’ which will start lighttpd if installed …

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

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