# Top

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

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

---

## [Date in controller? Killing me!](https://www.ruby-forum.com/t/date-in-controller-killing-me/85998)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 12:40am UTC](https://www.ruby-forum.com/t/date-in-controller-killing-me/85998 "2007-02-19T00:40:03Z")

</div>

Hi: I’ve tackled this problem three seperate times with a couple of posts and still can’t get it to work. All I really want to do is grab a value in not-exactly date format and put it in a mysql database datetime col…

---

## [Fastthread](https://www.ruby-forum.com/t/fastthread/84520)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 2\
**Last updated:** [February 6, 2007, 11:54am UTC](https://www.ruby-forum.com/t/fastthread/84520 "2007-02-06T11:54:01Z")

</div>

e$B!!e(Blib/thread.rb e$B$N9bB.$JCV$-49$($G$“$ke(B fastthread e$B$N:NMQ$,!”:n\<T$Ne(B MenTaL guY e$B$h$jDs0F$5$l$F$$$^$9!#e(B(APIe$B$Oe(B100%e$B8\_49$H$N$3$He(B) https://rubyforge.org/tracker/index.php?func=detail&aid=…

---

## [Give me a heads-up on my article teaser code](https://www.ruby-forum.com/t/give-me-a-heads-up-on-my-article-teaser-code/82366)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/give-me-a-heads-up-on-my-article-teaser-code/82366 "2007-01-19T16:31:25Z")

</div>

I’m creating article teasers for my blogs main page and I am simple adding in my post.rb file the following… class Post \< ActiveRecord::Base has\_many :comments Before the form is saved we update the time to be more …

---

## [Error\_messages\_for, can i overide the name in the title?](https://www.ruby-forum.com/t/error-messages-for-can-i-overide-the-name-in-the-title/81778)

<div class="topic-metadata">

**Author:** [@poipu](https://www.ruby-forum.com/u/poipu)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/error-messages-for-can-i-overide-the-name-in-the-title/81778 "2007-01-19T16:31:24Z")

</div>

hi, i pass a general name object to my form and was wondering if i can overide the deafult title in the message box. is that possible besides overiding what is in active record? thanks.

---

## [How to update/create a collection of two models in one form](https://www.ruby-forum.com/t/how-to-update-create-a-collection-of-two-models-in-one-form/81744)

<div class="topic-metadata">

**Author:** [@benni](https://www.ruby-forum.com/u/benni)\
**Replies:** 2\
**Last updated:** [January 13, 2007, 2:26am UTC](https://www.ruby-forum.com/t/how-to-update-create-a-collection-of-two-models-in-one-form/81744 "2007-01-13T02:26:04Z")

</div>

hello I would like to know, how to create oder update two models in one form. and especially i think of a collection of models. e.g. i have the model article and its related model article\_price. the edit-view is a ta…

---

## [Redefining the method belongs\_to in ActiveRecord::Base](https://www.ruby-forum.com/t/redefining-the-method-belongs-to-in-activerecord-base/75373)

<div class="topic-metadata">

**Author:** [@Vinicius\_Cubas\_B](https://www.ruby-forum.com/u/Vinicius_Cubas_B)\
**Replies:** 2\
**Last updated:** [November 9, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/redefining-the-method-belongs-to-in-activerecord-base/75373 "2006-11-09T17:52:04Z")

</div>

Hi. I’ve tried to redefine the method belongs\_to in ActiveRecord::Base, so every time a model is defined as belonging to :attachment, it should have some additional methods. I tried to do an alias of belongs\_to, but t…

---

## [Bug in search matching?](https://www.ruby-forum.com/t/bug-in-search-matching/73011)

<div class="topic-metadata">

**Author:** [@ahfeel](https://www.ruby-forum.com/u/ahfeel)\
**Replies:** 2\
**Last updated:** [October 20, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/bug-in-search-matching/73011 "2006-10-20T19:35:49Z")

</div>

Hi :slight\_smile: Here’s a little code reproducing something that i consider as a bug, if it’s not please explain :\] http://pastie.caboo.se/18693 Thanks by advance, Cheers, JÃ©rÃ©mie ‘ahFeel’ BORDIER

---

## [Re: rubyforge.org down](https://www.ruby-forum.com/t/re-rubyforge-org-down/71717)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [October 11, 2006, 4:25am UTC](https://www.ruby-forum.com/t/re-rubyforge-org-down/71717 "2006-10-11T04:25:30Z")

</div>

From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] the machine seems to be just halting without writing anything to the system log. I’m somewhat flummoxed. full parition? A…

---

## [Need to restart Webrick each time I change my model](https://www.ruby-forum.com/t/need-to-restart-webrick-each-time-i-change-my-model/68241)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [September 11, 2006, 11:15am UTC](https://www.ruby-forum.com/t/need-to-restart-webrick-each-time-i-change-my-model/68241 "2006-09-11T11:15:46Z")

</div>

Hi, I’m new to rails and I’m following along the depot sample application in Agile Web D. with Rails From what I understand I should not need to restart the server after making changes to the model as long as I am i…

---

## [Syntax checker issues](https://www.ruby-forum.com/t/syntax-checker-issues/65287)

<div class="topic-metadata">

**Author:** [@inboulder](https://www.ruby-forum.com/u/inboulder)\
**Replies:** 2\
**Last updated:** [August 17, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/syntax-checker-issues/65287 "2006-08-17T21:16:43Z")

</div>

I’m new to Ruby and RoR; I was messing around with it today and had trouble with error codes. Specifically, the ruby syntax checker frequently spits out ‘syntax error’ with the last line of the code as the error line …

---

## [Finding files in a directory and regexp](https://www.ruby-forum.com/t/finding-files-in-a-directory-and-regexp/99742)

<div class="topic-metadata">

**Author:** [@alexanderl](https://www.ruby-forum.com/u/alexanderl)\
**Replies:** 2\
**Last updated:** [July 27, 2006, 7:51am UTC](https://www.ruby-forum.com/t/finding-files-in-a-directory-and-regexp/99742 "2006-07-27T07:51:35Z")

</div>

Hello, I am doing something like this: Find.find("/Users/alamb/\_Current-Work/fiches") do |path| if(path =~ /100\_/) ... In order to get all the files of the directory which have “100\_” in the name. Two questions: …

---

## [Errno::ENOENT in RecipeController#new](https://www.ruby-forum.com/t/errno-enoent-in-recipecontroller-new/97461)

<div class="topic-metadata">

**Author:** [@jmvbxx](https://www.ruby-forum.com/u/jmvbxx)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 8:11am UTC](https://www.ruby-forum.com/t/errno-enoent-in-recipecontroller-new/97461 "2006-07-07T08:11:20Z")

</div>

I’m brand new to Rails and I’m trying to work through the ONLamp.com Rolling with Ruby on Rails tutorial. I’m trying to connect to my mysql database and I’m getting the following: Errno::ENOENT in RecipeController#…

---

## [Using QueryParser vs building my own query](https://www.ruby-forum.com/t/using-queryparser-vs-building-my-own-query/96215)

<div class="topic-metadata">

**Author:** [@Tore\_D](https://www.ruby-forum.com/u/Tore_D)\
**Replies:** 2\
**Last updated:** [June 29, 2006, 3:23pm UTC](https://www.ruby-forum.com/t/using-queryparser-vs-building-my-own-query/96215 "2006-06-29T15:23:37Z")

</div>

Hello all I finally caved in and decided I should build my own query instead of relying on QueryParser to do the job for me, but I’ve hit a strange problem… Here’s how I build my query: #Main query query = Ferret::…

---

## [Script/generate --pretend; Won't](https://www.ruby-forum.com/t/script-generate-pretend-wont/63374)

<div class="topic-metadata">

**Author:** [@wksmall](https://www.ruby-forum.com/u/wksmall)\
**Replies:** 2\
**Last updated:** [June 14, 2006, 11:56pm UTC](https://www.ruby-forum.com/t/script-generate-pretend-wont/63374 "2006-06-14T23:56:29Z")

</div>

Cannot pretend: ruby script\\generate --pretend controller entryform index Couldn’t find ‘–pretend’ generator I just wanted to see what files it would generate… Warren Fred

---

## [TMail question / ?error?](https://www.ruby-forum.com/t/tmail-question-error/62112)

<div class="topic-metadata">

**Author:** [@ror-user](https://www.ruby-forum.com/u/ror-user)\
**Replies:** 2\
**Last updated:** [May 31, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/tmail-question-error/62112 "2006-05-31T18:34:44Z")

</div>

Hi I am trying to write a Ruby program to test our antispam filter. So the first part of my strategy is to take a bunch of spam and a bunch of notspam messages which I’ve sorted into two mozilla-thunderbird mbox fil…

---

## [Nonlinear scaling - could symbols help solve this?](https://www.ruby-forum.com/t/nonlinear-scaling-could-symbols-help-solve-this/60639)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 2\
**Last updated:** [May 16, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/nonlinear-scaling-could-symbols-help-solve-this/60639 "2006-05-16T16:52:03Z")

</div>

Hello List, I have really just started dabbling in Ruby and have found my first little task that I can use to try out some of what I’ve read. Basically I’m reading in a CSV file and converting it into a proprietry XM…

---

## [Is there a way to version the contents of a table as a set?](https://www.ruby-forum.com/t/is-there-a-way-to-version-the-contents-of-a-table-as-a-set/59612)

<div class="topic-metadata">

**Author:** [@Eden\_B](https://www.ruby-forum.com/u/Eden_B)\
**Replies:** 2\
**Last updated:** [May 4, 2006, 7:49pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-version-the-contents-of-a-table-as-a-set/59612 "2006-05-04T19:49:08Z")

</div>

I am looking at using acts\_as\_versioned to manage revisions of data in several tables in my application. However, the default behavior of acts\_as\_versioned appears to apply to individual rows within a table. The tab…

---

## ['Agile Web Development' book](https://www.ruby-forum.com/t/agile-web-development-book/58959)

<div class="topic-metadata">

**Author:** [@jpettet](https://www.ruby-forum.com/u/jpettet)\
**Replies:** 2\
**Last updated:** [April 27, 2006, 4:41pm UTC](https://www.ruby-forum.com/t/agile-web-development-book/58959 "2006-04-27T16:41:36Z")

</div>

I just started to learn RoR because I need to create a relatively simple but important application due next month. The Shopping cart app in this book is going ok but I have a question. Is the complexity of the shoppin…

---

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

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 2\
**Last updated:** [April 25, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/string-interpretation/58774 "2006-04-25T20:28:26Z")

</div>

First, I’m curious why a string delimited with apostrophe characters is not interpreted completely literally. Why does the language make an exception for the backslash character so that it needs to be doubled there a…

---

## [Re: Best RJS process for what I'm trying to do](https://www.ruby-forum.com/t/re-best-rjs-process-for-what-im-trying-to-do/93784)

<div class="topic-metadata">

**Author:** [@Curtis\_E](https://www.ruby-forum.com/u/Curtis_E)\
**Replies:** 2\
**Last updated:** [April 10, 2006, 6:50am UTC](https://www.ruby-forum.com/t/re-best-rjs-process-for-what-im-trying-to-do/93784 "2006-04-10T06:50:53Z")

</div>

so I tried that and now I get an RJS error in a popup window it states \[object error\] Here’s what I changed and tried…I created a new partial called \_new\_name that is as follows: \<%= new.name %\> \<%= link\_to "delete"…

---

## [MSSQL activerecord uses bad syntax](https://www.ruby-forum.com/t/mssql-activerecord-uses-bad-syntax/57161)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 10:26pm UTC](https://www.ruby-forum.com/t/mssql-activerecord-uses-bad-syntax/57161 "2006-04-07T22:26:12Z")

</div>

Hi all, I’m trying to get rails up on mssql for a friend, does anyone have experience? We’re working on a Windows XP box with MSSQL 2000 (no service pak), and both rails (1.1) and MSSQL are on the same box. I’m run…

---

## [Habtm](https://www.ruby-forum.com/t/habtm/93578)

<div class="topic-metadata">

**Author:** [@Tobias\_Bender](https://www.ruby-forum.com/u/Tobias_Bender)\
**Replies:** 2\
**Last updated:** [April 4, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/habtm/93578 "2006-04-04T22:09:09Z")

</div>

Hi. Im new to Ruby and new to Ruby on Rails and have problems realizing a simple many\_to\_many relationship: My tables: items \<-\> items\_users \<-\> users id user\_id id name item\_id name … p…

---

## [Rmagick gem path problem?](https://www.ruby-forum.com/t/rmagick-gem-path-problem/93477)

<div class="topic-metadata">

**Author:** [@bmgz](https://www.ruby-forum.com/u/bmgz)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 10:19pm UTC](https://www.ruby-forum.com/t/rmagick-gem-path-problem/93477 "2006-04-03T22:19:37Z")

</div>

I am having a slight problem getting the rmagick gem loaded with rails… I can do this: require ‘RMagick’ =\> true Magick.inspect =\> “Magick” but this does not work: require ‘rubygems’ =\> true require\_gem ‘rmagic…

---

## [Confused about 1.1 installation](https://www.ruby-forum.com/t/confused-about-1-1-installation/56379)

<div class="topic-metadata">

**Author:** [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Replies:** 2\
**Last updated:** [March 30, 2006, 8:21pm UTC](https://www.ruby-forum.com/t/confused-about-1-1-installation/56379 "2006-03-30T20:21:37Z")

</div>

Hey all, I just upgrade to Rails 1.1 and it seems to have gone fine (from 1.0). However, when I create a new rails application and start it with Webrick, I get this error when viewing my “Applications’ Environment” R…

---

## [Fastest way of adding " " around multiline text in RADRAILS](https://www.ruby-forum.com/t/fastest-way-of-adding-around-multiline-text-in-radrails/89244)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [March 29, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/fastest-way-of-adding-around-multiline-text-in-radrails/89244 "2006-03-29T14:18:05Z")

</div>

lets say i have the following SQL in my database editor : When i paste it into rad rails i have to add quotes and the ‘+’ symbol to the end of each line. It is very tedious. What is the best method? select timesheet…

---

## [Binary (dmg) for Ruby 1.8.4 on OS X 10.4?](https://www.ruby-forum.com/t/binary-dmg-for-ruby-1-8-4-on-os-x-10-4/89785)

<div class="topic-metadata">

**Author:** [@keithpitty](https://www.ruby-forum.com/u/keithpitty)\
**Replies:** 2\
**Last updated:** [March 29, 2006, 11:12am UTC](https://www.ruby-forum.com/t/binary-dmg-for-ruby-1-8-4-on-os-x-10-4/89785 "2006-03-29T11:12:41Z")

</div>

Hello, I would like to upgrade Ruby from 1.8.2 to 1.8.4 on OS X 10.4 and am wondering if there’s a binary (dmg) file I can use to save me compiling. I’m sure I used one when I installed 1.8.2. Does anybody know of a …

---

## [Nice breadcrumb navigation component?](https://www.ruby-forum.com/t/nice-breadcrumb-navigation-component/85397)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [March 22, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/nice-breadcrumb-navigation-component/85397 "2006-03-22T18:15:41Z")

</div>

Anyone aware of a Rails-based component/framework to allow for easy “breadcrumb” navigation links? Thanks, Wes

---

## [InstantRails works with WEBrick, fails with SCGI](https://www.ruby-forum.com/t/instantrails-works-with-webrick-fails-with-scgi/80124)

<div class="topic-metadata">

**Author:** [@Dan\_Reeves](https://www.ruby-forum.com/u/Dan_Reeves)\
**Replies:** 2\
**Last updated:** [March 13, 2006, 3:35am UTC](https://www.ruby-forum.com/t/instantrails-works-with-webrick-fails-with-scgi/80124 "2006-03-13T03:35:02Z")

</div>

I have an app that I’ve been developing for some time with RADRails and WEBrick locally. I wanted to take it to Apache and following the following steps: Downloaded and extracted InstantRails. Started and tested …

---

## [Unit tests, salted hash login](https://www.ruby-forum.com/t/unit-tests-salted-hash-login/75925)

<div class="topic-metadata">

**Author:** [@mattias](https://www.ruby-forum.com/u/mattias)\
**Replies:** 2\
**Last updated:** [March 2, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/unit-tests-salted-hash-login/75925 "2006-03-02T23:05:30Z")

</div>

Hello, I am having some trouble running the unit tests for the salted has login generator. I am a bit new to both ruby and rails so I am having a little trouble deciphering the error message I get when running ‘rake …

---

## [Missing text/html content in production (but not development](https://www.ruby-forum.com/t/missing-text-html-content-in-production-but-not-development/70293)

<div class="topic-metadata">

**Author:** [@Reuven\_MSLerner](https://www.ruby-forum.com/u/Reuven_MSLerner)\
**Replies:** 2\
**Last updated:** [February 19, 2006, 4:47am UTC](https://www.ruby-forum.com/t/missing-text-html-content-in-production-but-not-development/70293 "2006-02-19T04:47:12Z")

</div>

Hi, everyone. I’m getting a production server ready for a site I’m working on, and I’ve been a bit stumped by a difference between the development server (running under Webrick) and the production server (running und…

---

## [Form\_tag with protocol =\> 'https' help](https://www.ruby-forum.com/t/form-tag-with-protocol-https-help/69587)

<div class="topic-metadata">

**Author:** [@Curtis\_Spencer](https://www.ruby-forum.com/u/Curtis_Spencer)\
**Replies:** 2\
**Last updated:** [February 17, 2006, 9:28am UTC](https://www.ruby-forum.com/t/form-tag-with-protocol-https-help/69587 "2006-02-17T09:28:46Z")

</div>

Hi, I am not having much luck using the form\_tag with a protocol. I try the following in my view: index.rhtml \<%= form\_tag({:controller =\> ‘home’,:action =\> ‘login’,:protocol =\> ‘https’},{:method =\> ‘post’}) %\> ho…

---

## [New objects and new associations in same view](https://www.ruby-forum.com/t/new-objects-and-new-associations-in-same-view/52521)

<div class="topic-metadata">

**Author:** [@Daniel\_SSCohen](https://www.ruby-forum.com/u/Daniel_SSCohen)\
**Replies:** 2\
**Last updated:** [January 16, 2006, 2:21am UTC](https://www.ruby-forum.com/t/new-objects-and-new-associations-in-same-view/52521 "2006-01-16T02:21:41Z")

</div>

Hello All, I generated scaffolding for my Users table and setup my additional models with their associations. I want to be able to create a new user, and its associated groups and privileges from the same view. My r…

---

## [ActiveRecord models w/ base condition](https://www.ruby-forum.com/t/activerecord-models-w-base-condition/95092)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 13, 2006, 4:46am UTC](https://www.ruby-forum.com/t/activerecord-models-w-base-condition/95092 "2006-01-13T04:46:12Z")

</div>

Does anyone know how to do the following? I have 3 different AR classes that all map to the same table. The only difference between this AR classes is that they should only return record that match a certain conditi…

---

## [Checking Join data for nil before accessing](https://www.ruby-forum.com/t/checking-join-data-for-nil-before-accessing/61020)

<div class="topic-metadata">

**Author:** [@jkay](https://www.ruby-forum.com/u/jkay)\
**Replies:** 2\
**Last updated:** [January 11, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/checking-join-data-for-nil-before-accessing/61020 "2006-01-11T18:34:18Z")

</div>

So I have a join 1:0…1. If there is nothing in the child side I get an error when I say property.pdf.name that I can’t access nil.name. But I can’t seem to figure out how to check if pdf is nil or not before I call …

---

## [Radiobutton onclick](https://www.ruby-forum.com/t/radiobutton-onclick/54926)

<div class="topic-metadata">

**Author:** [@Abbath](https://www.ruby-forum.com/u/Abbath)\
**Replies:** 2\
**Last updated:** [December 31, 2005, 1:01am UTC](https://www.ruby-forum.com/t/radiobutton-onclick/54926 "2005-12-31T01:01:40Z")

</div>

Hi, I would like to make a simple html which displays the contents of a table from a database. So I put radiobuttons near the titles of the columns to note and do a sorting by that column. But I don’t know how to imp…

---

## [Trying to grasp the difference between local variables and i](https://www.ruby-forum.com/t/trying-to-grasp-the-difference-between-local-variables-and-i/51034)

<div class="topic-metadata">

**Author:** [@brucebalmer](https://www.ruby-forum.com/u/brucebalmer)\
**Replies:** 2\
**Last updated:** [December 24, 2005, 6:44am UTC](https://www.ruby-forum.com/t/trying-to-grasp-the-difference-between-local-variables-and-i/51034 "2005-12-24T06:44:08Z")

</div>

Hi: Would it be fair to say (or completely out to lunch) that a local variable is local to a method and an instance variable is local to an object. Thus an instance variable is a sort of limited global variable or s…

---

## [Difficulty using correct moldel for the data in DB](https://www.ruby-forum.com/t/difficulty-using-correct-moldel-for-the-data-in-db/54079)

<div class="topic-metadata">

**Author:** [@Marcin\_Marjanski](https://www.ruby-forum.com/u/Marcin_Marjanski)\
**Replies:** 2\
**Last updated:** [December 22, 2005, 1:09am UTC](https://www.ruby-forum.com/t/difficulty-using-correct-moldel-for-the-data-in-db/54079 "2005-12-22T01:09:21Z")

</div>

Hi everyone, I’ve tried posting the same question to the list last Friday but somehow did not see it being posted… I’ve just started with Rails and Ruby. I just started to play one of those RPG and to get my feet wet…

---

## [Newbie: nested classes; ruby compiler behavior](https://www.ruby-forum.com/t/newbie-nested-classes-ruby-compiler-behavior/200090)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 4, 2010, 8:55pm UTC](https://www.ruby-forum.com/t/newbie-nested-classes-ruby-compiler-behavior/200090 "2010-12-04T20:55:50Z")

</div>

Code examples from Peter C.'s Beginning Ruby. If I execute this code… class Drawing def Drawing.give\_me\_a\_circle Circle.new end class Line end class Circle def what\_am\_i “This is a circle” end end end a = …

---

## [Subclassing a model](https://www.ruby-forum.com/t/subclassing-a-model/193556)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 4\
**Last updated:** [August 19, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/subclassing-a-model/193556 "2010-08-19T18:36:54Z")

</div>

Is it possible to define a subclass for a model, that defines additional data columns, which are stored in a separate table? Is there any description, how to do this?

---

## [How to CSS](https://www.ruby-forum.com/t/how-to-css/192649)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 4\
**Last updated:** [August 3, 2010, 7:02pm UTC](https://www.ruby-forum.com/t/how-to-css/192649 "2010-08-03T19:02:29Z")

</div>

Hi, It’s not specifically related to Rails, but how do you arrange your CSS files? I used to dump everything in a gigantic screen.css file. Then I noticed that some rules only appeared in a few pages. Therefore I am…

---

## [Regexp help](https://www.ruby-forum.com/t/regexp-help/188780)

<div class="topic-metadata">

**Author:** [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Replies:** 4\
**Last updated:** [May 19, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/regexp-help/188780 "2010-05-19T16:24:06Z")

</div>

Hi, I’m newbie to ruby, but I try searching a lot for my problem… I need to extract from an enormous text file, in natural language, for two separated element in the same line and put them in a new file. Example: IIS…

---

## [UHF monitoring](https://www.ruby-forum.com/t/uhf-monitoring/186691)

<div class="topic-metadata">

**Author:** [@schuler101](https://www.ruby-forum.com/u/schuler101)\
**Replies:** 4\
**Last updated:** [April 13, 2010, 3:14am UTC](https://www.ruby-forum.com/t/uhf-monitoring/186691 "2010-04-13T03:14:26Z")

</div>

Hi, I need to monitor usage of UHF bands (400-800MHz). I was wondering if this is possible to do using the gnuradio. For this, I was planning to do the following steps: Buy an omni-directional discone antenna Hook …

---

## [How to begin with developing of a web application using Ruby on Rails](https://www.ruby-forum.com/t/how-to-begin-with-developing-of-a-web-application-using-ruby-on-rails/181416)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [January 13, 2010, 6:35am UTC](https://www.ruby-forum.com/t/how-to-begin-with-developing-of-a-web-application-using-ruby-on-rails/181416 "2010-01-13T06:35:23Z")

</div>

hey i want to do a web application project using RoR and MySQL… can u guide me how to begin with the proj…? I hav done basic applications mentioned on technetra.com. I juzz need ur help nw relating to how to begin wit…

---

## [Ruby trunk](https://www.ruby-forum.com/t/ruby-trunk/177185)

<div class="topic-metadata">

**Author:** [@jonas\_s](https://www.ruby-forum.com/u/jonas_s)\
**Replies:** 4\
**Last updated:** [October 13, 2009, 12:54am UTC](https://www.ruby-forum.com/t/ruby-trunk/177185 "2009-10-13T00:54:49Z")

</div>

Hey guys, I have a question: why is the official ruby repo still on SVN and not on Git? I think git provides much better collaborative options. What about just putting on GitHub so everyone can fork from there etc., …

---

## [Nil object problem](https://www.ruby-forum.com/t/nil-object-problem/174714)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 4\
**Last updated:** [August 31, 2009, 9:49pm UTC](https://www.ruby-forum.com/t/nil-object-problem/174714 "2009-08-31T21:49:27Z")

</div>

This is a repost as I had zero replies to my first email. This problem is driving me mad but it has to be a simple solution that I just can;t see. Can someone please tell me what the difference is between the followin…

---

## [Several replacing problems](https://www.ruby-forum.com/t/several-replacing-problems/171607)

<div class="topic-metadata">

**Author:** [@brunik](https://www.ruby-forum.com/u/brunik)\
**Replies:** 4\
**Last updated:** [July 8, 2009, 2:00pm UTC](https://www.ruby-forum.com/t/several-replacing-problems/171607 "2009-07-08T14:00:16Z")

</div>

Hello everyone, Take 1 xls file witch contains 2 columns. column A contains several “keywords” lets say: today, today+1, today+2 etc. and column B witch contains dates in yyyymmdd format 20090706, 20090707, 20090708 e…

---

## [Table Inheritance based on a function](https://www.ruby-forum.com/t/table-inheritance-based-on-a-function/171245)

<div class="topic-metadata">

**Author:** [@bernd-vdb](https://www.ruby-forum.com/u/bernd-vdb)\
**Replies:** 4\
**Last updated:** [July 4, 2009, 5:14pm UTC](https://www.ruby-forum.com/t/table-inheritance-based-on-a-function/171245 "2009-07-04T17:14:51Z")

</div>

Hello, we have a problem in a CMS project that we believe is basic for RoR developement and could concern others as well - or have already: RoR implements the ‘Single Table Inheritance’ (STI) Pattern: http://www.mart…

---

## [MySQL to SQlite data movement](https://www.ruby-forum.com/t/mysql-to-sqlite-data-movement/171299)

<div class="topic-metadata">

**Author:** [@gigg](https://www.ruby-forum.com/u/gigg)\
**Replies:** 4\
**Last updated:** [June 30, 2009, 10:36pm UTC](https://www.ruby-forum.com/t/mysql-to-sqlite-data-movement/171299 "2009-06-30T22:36:32Z")

</div>

Hi, I hope someone can help. I am new to ruby and struggling with a hash and some database connections. What I need to do is copy data from table in a mysql database (2 columns), into a sqlite database (2 columns). I …

---

## [Mirroring large files over HTTP](https://www.ruby-forum.com/t/mirroring-large-files-over-http/149877)

<div class="topic-metadata">

**Author:** [@lheese](https://www.ruby-forum.com/u/lheese)\
**Replies:** 4\
**Last updated:** [October 2, 2008, 11:35am UTC](https://www.ruby-forum.com/t/mirroring-large-files-over-http/149877 "2008-10-02T11:35:23Z")

</div>

I’m working on a script where I want to download large files off a remote web server and store on a local filesystem. At the moment I’m using code like this: require ‘open-uri’ open(filename, ‘w’) do |file| file.wr…

---

## [FormOption Helper](https://www.ruby-forum.com/t/formoption-helper/145134)

<div class="topic-metadata">

**Author:** [@vanight](https://www.ruby-forum.com/u/vanight)\
**Replies:** 4\
**Last updated:** [August 6, 2008, 11:30am UTC](https://www.ruby-forum.com/t/formoption-helper/145134 "2008-08-06T11:30:24Z")

</div>

Hi, I’m trying to generate a select with this : select(“music”, “music\_location\_id”, MusicLocation.find(:all, :order =\> “name ASC”).collect {|p| \[ p.name, p.id \] }, { :include\_blank =\> true }) I need to add a descrip…

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

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