# Top

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

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

---

## [Odd behaviour of custom "inspect" method](https://www.ruby-forum.com/t/odd-behaviour-of-custom-inspect-method/145789)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 8:00am UTC](https://www.ruby-forum.com/t/odd-behaviour-of-custom-inspect-method/145789 "2008-08-14T08:00:33Z")

</div>

Can anyone explain this for me? john@liberty:~/Work/Coding/Xronos/test$ cat testpadding.rb class Padding def inspect ‘.’ \* 4 end end john@liberty:~/Work/Coding/Xronos/test$ irb -r testpadding.rb a = Padding.new …

---

## [Sort by date AND score](https://www.ruby-forum.com/t/sort-by-date-and-score/138687)

<div class="topic-metadata">

**Author:** [@nejrb](https://www.ruby-forum.com/u/nejrb)\
**Replies:** 0\
**Last updated:** [May 26, 2008, 6:01pm UTC](https://www.ruby-forum.com/t/sort-by-date-and-score/138687 "2008-05-26T18:01:41Z")

</div>

Hello everybody! I am trying to sort my search results by date, and then each day by score. For example: – 26 May Score 0.74 Score 0.55 – 25 May Score 0.93 Score 0.68 Score 0.41 I tried creating an array like t…

---

## [Rankings en RoR](https://www.ruby-forum.com/t/rankings-en-ror/131569)

<div class="topic-metadata">

**Author:** [@SSdac](https://www.ruby-forum.com/u/SSdac)\
**Replies:** 3\
**Last updated:** [March 12, 2008, 12:13pm UTC](https://www.ruby-forum.com/t/rankings-en-ror/131569 "2008-03-12T12:13:57Z")

</div>

Hola a todxs, Me surge una duda que no se si estoy resolviendo de la mejor forma posible: En una aplicacion necesito hacer “rakings” (los articulos mas comprados, clientes que mÃ¡s compran, etc) y no se si hay alguna…

---

## [Enlace a un elemento del paginado](https://www.ruby-forum.com/t/enlace-a-un-elemento-del-paginado/131206)

<div class="topic-metadata">

**Author:** [@yensai](https://www.ruby-forum.com/u/yensai)\
**Replies:** 3\
**Last updated:** [March 11, 2008, 2:33pm UTC](https://www.ruby-forum.com/t/enlace-a-un-elemento-del-paginado/131206 "2008-03-11T14:33:43Z")

</div>

Buenas tardes, necesito hacer un enlace desde una pÃ¡gina a otra; esta pÃ¡gina de destino es un listado de diferentes elementos y tiene paginado. La duda que se me plantea es como puedo obtener el nÃºmero de pÃ¡gina q…

---

## [Sistema de directorios](https://www.ruby-forum.com/t/sistema-de-directorios/131353)

<div class="topic-metadata">

**Author:** [@ValentSSS\_n\_Palacio](https://www.ruby-forum.com/u/ValentSSS_n_Palacio)\
**Replies:** 3\
**Last updated:** [March 8, 2008, 8:49pm UTC](https://www.ruby-forum.com/t/sistema-de-directorios/131353 "2008-03-08T20:49:10Z")

</div>

Buenas a todos de nuevo. Estoy realizando un sistema de directorios, y lo he planteado de la siguiente manera. Tabla \*“folders”\*con los siguientes campos: id, name, description, level. “level” es un self-reference h…

---

## [Possible to apply layouts on pages in public folder](https://www.ruby-forum.com/t/possible-to-apply-layouts-on-pages-in-public-folder/130933)

<div class="topic-metadata">

**Author:** [@Fred\_So](https://www.ruby-forum.com/u/Fred_So)\
**Replies:** 3\
**Last updated:** [March 5, 2008, 9:01am UTC](https://www.ruby-forum.com/t/possible-to-apply-layouts-on-pages-in-public-folder/130933 "2008-03-05T09:01:07Z")

</div>

Is it possible to apply a layout to rhtml files in the public folder? These files are essentially static. I am trying to avoid having to create blank actions/methods for each html files.

---

## [Consulta sobre Date\_fields](https://www.ruby-forum.com/t/consulta-sobre-date-fields/129097)

<div class="topic-metadata">

**Author:** [@Santiago\_Y](https://www.ruby-forum.com/u/Santiago_Y)\
**Replies:** 3\
**Last updated:** [February 15, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/consulta-sobre-date-fields/129097 "2008-02-15T18:49:16Z")

</div>

Hola a todos… tengo una consulta breve… Si en una vista tengo esto: \<% form\_tag :action =\> ‘fecha’ do %\> \<%= date\_select ‘alquiler’, ‘from’ %\> \<%= date\_select ‘alquiler’, ‘to’ %\> \<%= submit\_tag “Realizar informe” …

---

## [Need to convert string to array](https://www.ruby-forum.com/t/need-to-convert-string-to-array/126981)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 3\
**Last updated:** [January 24, 2008, 12:26am UTC](https://www.ruby-forum.com/t/need-to-convert-string-to-array/126981 "2008-01-24T00:26:28Z")

</div>

I have the following data stored in a string. This data is composed of many records. This is a single record: 2008-01-22,88.34,98.56,86.68,96.54,2175600,96.54 This is the string: “2008-01-22,88.34,98.56,86.68,96.54,…

---

## [Typo to Radiant CMS](https://www.ruby-forum.com/t/typo-to-radiant-cms/116613)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/typo-to-radiant-cms/116613 "2007-10-08T15:54:43Z")

</div>

Hi, I’m liking the performance and just decent ability Radiant is giving me over Typo, seriously decent app! Does anyone know how I’d convert my current blog on Typo to Radiant CMS ? Or is this just a real bad move? …

---

## [Check performance with Benchmark](https://www.ruby-forum.com/t/check-performance-with-benchmark/82521)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/check-performance-with-benchmark/82521 "2007-09-25T22:37:23Z")

</div>

Hi all, I know I can use this format to check the performance of my sctipt: result= Benchmark.measure{##script included here##} But this code will look ugly if the script spans many lines.I wonder 1) if there is a …

---

## [Hojas en un Ã¡rbol](https://www.ruby-forum.com/t/hojas-en-un-a-rbol/112066)

<div class="topic-metadata">

**Author:** [@Paco\_GarcSSS\_a](https://www.ruby-forum.com/u/Paco_GarcSSS_a)\
**Replies:** 3\
**Last updated:** [August 15, 2007, 12:37am UTC](https://www.ruby-forum.com/t/hojas-en-un-a-rbol/112066 "2007-08-15T00:37:18Z")

</div>

Tengo modelado en una tabla un Ã¡rbol, estos son los datos de la tabla: Nombre de la tabla: Categories Atributos: id --\> Integer (Clave primaria) nombre --\> String parent\_id --\> Integer (Clave extranj…

---

## [Capistrano problems](https://www.ruby-forum.com/t/capistrano-problems/110660)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 3\
**Last updated:** [July 29, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/capistrano-problems/110660 "2007-07-29T21:03:04Z")

</div>

I installed capistrano and have tried several things. Can’t seem to get it working. This is what i am getting. C:\\ruby\\radrails\\modernfossil\>cap deploy executing \`deploy’ executing \`deploy:update’ \*\* transacti…

---

## [Enumerable#serially - those nifty functions w/o memory footp](https://www.ruby-forum.com/t/enumerable-serially-those-nifty-functions-w-o-memory-footp/105504)

<div class="topic-metadata">

**Author:** [@SonOfLilit](https://www.ruby-forum.com/u/SonOfLilit)\
**Replies:** 3\
**Last updated:** [May 30, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/enumerable-serially-those-nifty-functions-w-o-memory-footp/105504 "2007-05-30T16:03:08Z")

</div>

Hello, I’ve seen many people write things like: (1…1000000).to\_a. # anything that is a huge enumerable can work as an example collect{|x| num\_appearances(x)}.select{|x| x.is\_norwegian?}.collect{|x| x.paycheck}.each{…

---

## [She method "gets" doesn't work](https://www.ruby-forum.com/t/she-method-gets-doesnt-work/104782)

<div class="topic-metadata">

**Author:** [@Fabio](https://www.ruby-forum.com/u/Fabio)\
**Replies:** 3\
**Last updated:** [May 22, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/she-method-gets-doesnt-work/104782 "2007-05-22T14:03:37Z")

</div>

I’ve just started learning Ruby and the method “gets” is not working. When I try it a black window comes up (prompt screen) and I can’t get rid of it. So I close it and an output message comes out saying “\>Exit code: …

---

## [String freeze](https://www.ruby-forum.com/t/string-freeze/92772)

<div class="topic-metadata">

**Author:** [@sdsykes](https://www.ruby-forum.com/u/sdsykes)\
**Replies:** 3\
**Last updated:** [April 24, 2007, 5:49am UTC](https://www.ruby-forum.com/t/string-freeze/92772 "2007-04-24T05:49:26Z")

</div>

Hey all, So I’m trying to freeze a class variable, and I discover that Object#freeze breaks down every time on my machine. Even with simple strings. irb(main):001:0\> test = “good” =\> “good” irb(main):002:0\> test.fr…

---

## [My rails exit strategy](https://www.ruby-forum.com/t/my-rails-exit-strategy/90782)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 3\
**Last updated:** [April 2, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/my-rails-exit-strategy/90782 "2007-04-02T22:26:41Z")

</div>

Railsters: While I have work tirelessly on Rails for the past few months, and boosting it for years, I have come to an important career juncture, and have decided to stop using it. No single reason stands out, but t…

---

## [Use Ruby to monitor a printer?](https://www.ruby-forum.com/t/use-ruby-to-monitor-a-printer/90272)

<div class="topic-metadata">

**Author:** [@ak756](https://www.ruby-forum.com/u/ak756)\
**Replies:** 3\
**Last updated:** [March 27, 2007, 11:39am UTC](https://www.ruby-forum.com/t/use-ruby-to-monitor-a-printer/90272 "2007-03-27T11:39:26Z")

</div>

Hi,everyone! I want to write a program to monitor a network printer and give statistic data as whom at what time print how many pages. Is it possible to do this using Ruby? Which library shall I use to do this?

---

## [Active Record speed](https://www.ruby-forum.com/t/active-record-speed/74516)

<div class="topic-metadata">

**Author:** [@bizzz](https://www.ruby-forum.com/u/bizzz)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:46am UTC](https://www.ruby-forum.com/t/active-record-speed/74516 "2006-11-07T10:46:47Z")

</div>

Hello, I’m writing some code that loads data into a database on a routine basis (dump from legacy system daily). I’ve got a decent amount of data, and am loading it now using ActiveRecord. I’m finding that it’s taki…

---

## [1.2RC1 a l'horizon?](https://www.ruby-forum.com/t/1-2rc1-a-lhorizon/73825)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 3\
**Last updated:** [October 27, 2006, 7:50pm UTC](https://www.ruby-forum.com/t/1-2rc1-a-lhorizon/73825 "2006-10-27T19:50:09Z")

</div>

http://dev.rubyonrails.org/changeset/5368 Les choses se prÃ©cisent ?!? – Jean-FranÃ§ois.

---

## [Re: Potential Brit ruby meeting formally Chunky Bacon](https://www.ruby-forum.com/t/re-potential-brit-ruby-meeting-formally-chunky-bacon/73725)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 3\
**Last updated:** [October 27, 2006, 12:49pm UTC](https://www.ruby-forum.com/t/re-potential-brit-ruby-meeting-formally-chunky-bacon/73725 "2006-10-27T12:49:25Z")

</div>

Apologies, I’m a n00b. At least people are more aware that there is stuff going on, for instance I’m going along to a meeting in manchester which should be fun! Gem

---

## [Cartographer & Geocode](https://www.ruby-forum.com/t/cartographer-geocode/101819)

<div class="topic-metadata">

**Author:** [@Bolo](https://www.ruby-forum.com/u/Bolo)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/cartographer-geocode/101819 "2006-08-15T14:17:56Z")

</div>

Salut, tout le monde qqn Ã dÃ©jÃ utiliser cartographer et Geocode. Geoccode peut il Ãªtre utiliser seulement pour us ou pour tous les pays merci

---

## [Instance\_eval vs. class\_eval context](https://www.ruby-forum.com/t/instance-eval-vs-class-eval-context/102106)

<div class="topic-metadata">

**Author:** [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/instance-eval-vs-class-eval-context/102106 "2006-08-15T14:16:56Z")

</div>

Is it the same context when a class is the receiver of instance\_eval or class\_eval/module\_eval?

---

## [How to get count of records from database?](https://www.ruby-forum.com/t/how-to-get-count-of-records-from-database/94589)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 3\
**Last updated:** [May 8, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/how-to-get-count-of-records-from-database/94589 "2006-05-08T14:45:54Z")

</div>

Hi, I want to display count of all records with particular field value from database onto my view. How should I do that? PLs tell me. Thanx. Prash

---

## [Replacing single quotes and backslashes in strings](https://www.ruby-forum.com/t/replacing-single-quotes-and-backslashes-in-strings/50711)

<div class="topic-metadata">

**Author:** [@philippeqc](https://www.ruby-forum.com/u/philippeqc)\
**Replies:** 3\
**Last updated:** [December 20, 2005, 12:27pm UTC](https://www.ruby-forum.com/t/replacing-single-quotes-and-backslashes-in-strings/50711 "2005-12-20T12:27:03Z")

</div>

People, I have been trying to find a solution to this on the net but with no luck: I want to get a list of file names from a dir and pass the result to a du command eg: puts \`du file\_name\` but if the filename has s…

---

## [Problems on os x tiger (with xcode 2.2)](https://www.ruby-forum.com/t/problems-on-os-x-tiger-with-xcode-2-2/49732)

<div class="topic-metadata">

**Author:** [@warnero](https://www.ruby-forum.com/u/warnero)\
**Replies:** 3\
**Last updated:** [December 8, 2005, 7:31pm UTC](https://www.ruby-forum.com/t/problems-on-os-x-tiger-with-xcode-2-2/49732 "2005-12-08T19:31:08Z")

</div>

It appears that I’m able to install and update just about everything, however when i try and run rails \[project\] I keep getting this error message: Rails requires Ruby version 1.8.2 (2004-12-25) or later. You’re runn…

---

## [Validations for non-ActiveRecord Model Objects](https://www.ruby-forum.com/t/validations-for-non-activerecord-model-objects/49325)

<div class="topic-metadata">

**Author:** [@peter.j.donald](https://www.ruby-forum.com/u/peter.j.donald)\
**Replies:** 3\
**Last updated:** [December 6, 2005, 5:30am UTC](https://www.ruby-forum.com/t/validations-for-non-activerecord-model-objects/49325 "2005-12-06T05:30:31Z")

</div>

Hi, I just worked on getting validations for non-ActiveRecord model objects working. I essentially implemented an ActiveForm object that you can subclass for your own non-database form objects. The file is available …

---

## [Running rails on windows](https://www.ruby-forum.com/t/running-rails-on-windows/48690)

<div class="topic-metadata">

**Author:** [@orlando\_myers](https://www.ruby-forum.com/u/orlando_myers)\
**Replies:** 3\
**Last updated:** [November 23, 2005, 8:00pm UTC](https://www.ruby-forum.com/t/running-rails-on-windows/48690 "2005-11-23T20:00:17Z")

</div>

Is anyone running RoR on windows? if so what version for windows 2003 stanadard edition and will ROR affect any other service / software on the box? Take charge with a pop-up guard built on patented Microsoft® Smart…

---

## [Setting configuration until end of parent bash session](https://www.ruby-forum.com/t/setting-configuration-until-end-of-parent-bash-session/191663)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [July 16, 2010, 5:26am UTC](https://www.ruby-forum.com/t/setting-configuration-until-end-of-parent-bash-session/191663 "2010-07-16T05:26:10Z")

</div>

Any advice on how a ruby script can set a config info that’s per parent process. In other words I want to be able to do something like: $ foo no setting Then… $ foo 10 Which will store 10 somehow. And when I run fo…

---

## [Piece of code that runs only once](https://www.ruby-forum.com/t/piece-of-code-that-runs-only-once/175636)

<div class="topic-metadata">

**Author:** [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Replies:** 5\
**Last updated:** [September 17, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/piece-of-code-that-runs-only-once/175636 "2009-09-17T19:45:29Z")

</div>

hi, an strange error is happening here in User model i have the following method: def falta\_votar Category.find(:all) - votes.collect {|v| v.category} end and in the default.html.erb layout i have: \<%= current\_user…

---

## [\[BUG: trunk\] called on terminated object](https://www.ruby-forum.com/t/bug-trunk-called-on-terminated-object/170247)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 5\
**Last updated:** [June 15, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/bug-trunk-called-on-terminated-object/170247 "2009-06-15T13:35:27Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(BObjectSpace.each\_object e$B$Ge(B inspect e$B$7$F$^$o$C$F$$$k$H!$e(B"called on terminated object" e$B$H8@$o$l$F$7$^$&$N$G$9$,!$$H$/$KLdBj$J$$$s$G$7$?$C$1!)e(B $ ./ruby -ve ‘ObjectSpace.ea…

---

## [Nginx rewrite](https://www.ruby-forum.com/t/nginx-rewrite/160398)

<div class="topic-metadata">

**Author:** [@uddun](https://www.ruby-forum.com/u/uddun)\
**Replies:** 5\
**Last updated:** [February 17, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/nginx-rewrite/160398 "2009-02-17T23:10:11Z")

</div>

How would you use regx in nginx for this: RewriteCond %{QUERY\_STRING} ^$ \[OR\] %{REQUEST\_URI} ^/Special:Search RewriteRule ^/(.\*)$ /index.php?title=$1 \[L,QSA,NE\] I’m not sure to how to do this? Thanks For the Help

---

## [Restful Paradigm: How do I know when to create a new controller?](https://www.ruby-forum.com/t/restful-paradigm-how-do-i-know-when-to-create-a-new-controller/142080)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [July 3, 2008, 4:38pm UTC](https://www.ruby-forum.com/t/restful-paradigm-how-do-i-know-when-to-create-a-new-controller/142080 "2008-07-03T16:38:02Z")

</div>

I’ve read a lot of articles and tutorials about how to use Rest, but one thing I haven’t seen in many of them is when to create controllers. In many cases I have controllers with only 1 method in them (usually a creat…

---

## [Best way to pass ID variable to partials - global var?](https://www.ruby-forum.com/t/best-way-to-pass-id-variable-to-partials-global-var/135890)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 5\
**Last updated:** [April 29, 2008, 5:06am UTC](https://www.ruby-forum.com/t/best-way-to-pass-id-variable-to-partials-global-var/135890 "2008-04-29T05:06:24Z")

</div>

I have several orders that are being updated in an internal data entry app. I start by going from an order to pop-up form that allows a user to select items to add to a field in the order. The pop-up form contains 2…

---

## [Uneditable Fields in edit form](https://www.ruby-forum.com/t/uneditable-fields-in-edit-form/135009)

<div class="topic-metadata">

**Author:** [@muyayi](https://www.ruby-forum.com/u/muyayi)\
**Replies:** 5\
**Last updated:** [April 21, 2008, 5:06am UTC](https://www.ruby-forum.com/t/uneditable-fields-in-edit-form/135009 "2008-04-21T05:06:18Z")

</div>

When using active scaffold, Is there a way to display form fields as uneditable in edit form? Thanks a lot…

---

## [Request routing plugin and subdomain share process](https://www.ruby-forum.com/t/request-routing-plugin-and-subdomain-share-process/134476)

<div class="topic-metadata">

**Author:** [@Mongdar](https://www.ruby-forum.com/u/Mongdar)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/request-routing-plugin-and-subdomain-share-process/134476 "2008-04-11T21:07:05Z")

</div>

Hi Rails Guru, I am using the request routing plugin to implement subdomain on my app. To do this, I use cpanel and created bunch of subdomain, all pointing at the same public folder under one rails app. However, when …

---

## [Changes in a Production Environment](https://www.ruby-forum.com/t/changes-in-a-production-environment/134197)

<div class="topic-metadata">

**Author:** [@Rodrigo\_MuiSSSSo](https://www.ruby-forum.com/u/Rodrigo_MuiSSSSo)\
**Replies:** 5\
**Last updated:** [April 8, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/changes-in-a-production-environment/134197 "2008-04-08T23:08:40Z")

</div>

Hi guys, I am planning to make some changes in a Production environment. This include changes in the model. I was thinking about making a backup of the database, then running migrations to zero, making a svn update, r…

---

## [Ajax/forms confusion](https://www.ruby-forum.com/t/ajax-forms-confusion/132973)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 5\
**Last updated:** [March 26, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/ajax-forms-confusion/132973 "2008-03-26T13:47:37Z")

</div>

Some time ago I asked about the use of javascript “please wait” messages whilst a big query runs. Now I am back to working on this code I need to deal with this problem and have had no luck finding anything that work…

---

## [Naming ruby class attribute and methods](https://www.ruby-forum.com/t/naming-ruby-class-attribute-and-methods/131887)

<div class="topic-metadata">

**Author:** [@dsoftware](https://www.ruby-forum.com/u/dsoftware)\
**Replies:** 5\
**Last updated:** [March 14, 2008, 5:47pm UTC](https://www.ruby-forum.com/t/naming-ruby-class-attribute-and-methods/131887 "2008-03-14T17:47:22Z")

</div>

Hello, Is there a way to name all the methods and attributes/ class instantiated variables that have been created? For example, from the class below, I would like to get all the variables instantiated from the initi…

---

## [How to stop loading database.yml file?](https://www.ruby-forum.com/t/how-to-stop-loading-database-yml-file/129628)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 5\
**Last updated:** [February 20, 2008, 9:18am UTC](https://www.ruby-forum.com/t/how-to-stop-loading-database-yml-file/129628 "2008-02-20T09:18:42Z")

</div>

Hi Experts, I was wondering if whether we can stop loading database.yml file when rails loaded instead i want to load my new configuration yml file, is that possible. to do? I’m eagerly waiting for your reply guys. T…

---

## [Version string](https://www.ruby-forum.com/t/version-string/120068)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 5\
**Last updated:** [November 16, 2007, 5:37am UTC](https://www.ruby-forum.com/t/version-string/120068 "2007-11-16T05:37:12Z")

</div>

e$B!!$5$5$@$G$9!%e(B ruby --version e$B$G=PNO$5$l$k!$\<!$N$h$&$JJ8;zNse(B e$B!Ve(Bruby 1.9.0 (2007-11-13 patchlevel 0) \[i686-linux\]e$B!W$re(B Ruby e$BFb$G4Je(B e$BC1$K;2\>H$9$k$?$a$NJ}K!!JDj?t!)!K$r2C$($k$N$O$I$&$G$7$g…

---

## [$BJ8;zNs$N\<0E83+(B](https://www.ruby-forum.com/t/bj8-zns-n-0e83-b/115241)

<div class="topic-metadata">

**Author:** [@eklerni](https://www.ruby-forum.com/u/eklerni)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/bj8-zns-n-0e83-b/115241 "2007-09-25T23:05:25Z")

</div>

eklernie$B$H$$$$$^$9!#e(B encoding pragmae$BL5;XDj;~$N5sF0$G$9$,!"e(B e$BJ8;zNs$N\<0E83+$,%3%^%s%I%i%$%s%\*%W%7%g%s$K$h$C$F$O\<:GT$7$^$9!#e(B C:\\ruby-1.9\\bin\>ruby -v -e ‘p “at#{}”’ ruby 1.9.0 (2007-09-21 patchlevel 0) \[…

---

## [Looking for Rails developer to join a startup and become co-](https://www.ruby-forum.com/t/looking-for-rails-developer-to-join-a-startup-and-become-co/114266)

<div class="topic-metadata">

**Author:** [@YLYLYL](https://www.ruby-forum.com/u/YLYLYL)\
**Replies:** 5\
**Last updated:** [September 10, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/looking-for-rails-developer-to-join-a-startup-and-become-co/114266 "2007-09-10T20:44:24Z")

</div>

Looking for Rails developer to join a startup and become co-founder. It has to be someone who’s passionate about software, knows the stuff, doer, and can work alone. Phase one will take about 200-250 hours to develop.…

---

## [Can not puts '\\c' in irb](https://www.ruby-forum.com/t/can-not-puts-c-in-irb/111363)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 5\
**Last updated:** [August 6, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/can-not-puts-c-in-irb/111363 "2007-08-06T17:50:40Z")

</div>

irb 0.9.5 for Windows: irb(main):016:0\> puts ‘\\c’ irb(main):017:0’ i.e. irb expects a continuation line. Guess this is a bug? In case someone has a more recent release of irb, does this still occur in the newer one? …

---

## [Documentacion Rail CHM](https://www.ruby-forum.com/t/documentacion-rail-chm/106570)

<div class="topic-metadata">

**Author:** [@Documentacion\_Rail\_S](https://www.ruby-forum.com/u/Documentacion_Rail_S)\
**Replies:** 5\
**Last updated:** [July 9, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/documentacion-rail-chm/106570 "2007-07-09T19:31:10Z")

</div>

Tengo la documentacion tipo CHM de rails 1.2.1, gracias a Benjamin, es muy comoda para consultarla sin estar en internet, de casualidad alguien la tiene en la nueva version de rails y si es posible compartirla? mi cor…

---

## [TreeWidgetItem problem](https://www.ruby-forum.com/t/treewidgetitem-problem/104378)

<div class="topic-metadata">

**Author:** [@miquel](https://www.ruby-forum.com/u/miquel)\
**Replies:** 5\
**Last updated:** [May 17, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/treewidgetitem-problem/104378 "2007-05-17T13:08:05Z")

</div>

Hi there I’m trying to code a Tree using ruby qt bindings (Qt v4.2.0 using aboutQt() info). This is my code. @tree = Qt::TreeWidget.new(self) self.setCentralWidget(@tree) @rootItem = Qt::TreeWidgetItem.new(@tree) @…

---

## [Help :: Updateall method](https://www.ruby-forum.com/t/help-updateall-method/93273)

<div class="topic-metadata">

**Author:** [@aveo](https://www.ruby-forum.com/u/aveo)\
**Replies:** 5\
**Last updated:** [April 30, 2007, 1:51pm UTC](https://www.ruby-forum.com/t/help-updateall-method/93273 "2007-04-30T13:51:15Z")

</div>

Hi all, I am unable to write updateall method for my application. I want to edit all projects from project table for particular resource and update them all at once. My 2 tables Resource id name info project id …

---

## [\[ANN\] Toffee Plugin 0.2 - Automated Admin Screens](https://www.ruby-forum.com/t/ann-toffee-plugin-0-2-automated-admin-screens/90971)

<div class="topic-metadata">

**Author:** [@davidf](https://www.ruby-forum.com/u/davidf)\
**Replies:** 5\
**Last updated:** [April 6, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/ann-toffee-plugin-0-2-automated-admin-screens/90971 "2007-04-06T16:42:51Z")

</div>

Toffee is a plugin that gives you automatic controller-less admin screens for your Rails models. Simply going to the URL /admin/model\_name will bring up an admin screen for that model, allowing you to view, edit, crea…

---

## [Super() question](https://www.ruby-forum.com/t/super-question/88899)

<div class="topic-metadata">

**Author:** [@Pierre-Alexandre\_M](https://www.ruby-forum.com/u/Pierre-Alexandre_M)\
**Replies:** 5\
**Last updated:** [March 16, 2007, 9:03am UTC](https://www.ruby-forum.com/t/super-question/88899 "2007-03-16T09:03:35Z")

</div>

Hi folks, I am trying to hack in\_place\_edit\_for to avoid empty fields: def in\_place\_edit\_for(object, attribute, options = {}) if params\[:value\] == ‘’ params\[:value\] = ‘Hey! You must fill the field!’ end super(objec…

---

## [Rails plugin question](https://www.ruby-forum.com/t/rails-plugin-question/77520)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 5\
**Last updated:** [November 29, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/rails-plugin-question/77520 "2006-11-29T16:35:38Z")

</div>

When I run the command ./script/plugin install http://multi-up.ca/code/validates\_email\_format\_of I get an error message. When I run it again, it gives plugin already installed message. I have a model class with email…

---

## [Problems installing Ruby and Rails on Mac OSX 1.3.9 (Panther](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739)

<div class="topic-metadata">

**Author:** [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Replies:** 5\
**Last updated:** [October 16, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739 "2006-10-16T15:12:36Z")

</div>

Yes, before you ask, I’m new to this and feel pretty useless. I have followed the hivelogic article to the letter, and must be one of the few who still failed installation. A couple of questions that might set me on t…

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

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