# Top

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

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

---

## [Combo Mysql/Rails/DBD question - How do I do rankings?](https://www.ruby-forum.com/t/combo-mysql-rails-dbd-question-how-do-i-do-rankings/144194)

<div class="topic-metadata">

**Author:** [@armstheykill](https://www.ruby-forum.com/u/armstheykill)\
**Replies:** 3\
**Last updated:** [July 28, 2008, 1:55am UTC](https://www.ruby-forum.com/t/combo-mysql-rails-dbd-question-how-do-i-do-rankings/144194 "2008-07-28T01:55:10Z")

</div>

So I’m trying to be jack of all trades on a project, and instead i am mastering none. Let’s say I have a table of users. Each user has a popularity score which is a non-negative float. On each user’s homepage I want…

---

## [How to not pluralize in rails 2.1?](https://www.ruby-forum.com/t/how-to-not-pluralize-in-rails-2-1/142104)

<div class="topic-metadata">

**Author:** [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Replies:** 3\
**Last updated:** [July 3, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/how-to-not-pluralize-in-rails-2-1/142104 "2008-07-03T15:31:38Z")

</div>

For some reason I need to generate scaffolds but I donÂ´t want the name to be pluralized, is there any way to do it ?

---

## [Comparing 2 files](https://www.ruby-forum.com/t/comparing-2-files/141515)

<div class="topic-metadata">

**Author:** [@Aaron\_Scott](https://www.ruby-forum.com/u/Aaron_Scott)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/comparing-2-files/141515 "2008-06-26T21:07:52Z")

</div>

I’m very new to Ruby. I’m wondering if it is possible to compare 2 text files and if those files have any differences in them that I can then automatically send myself an email stating that the 2 files are not the sa…

---

## [Issue with Virtual Hosting with FastCGI](https://www.ruby-forum.com/t/issue-with-virtual-hosting-with-fastcgi/140631)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 17, 2008, 1:17am UTC](https://www.ruby-forum.com/t/issue-with-virtual-hosting-with-fastcgi/140631 "2008-06-17T01:17:23Z")

</div>

I’ve been trying to setup virtual hosting for few blog sites using the wordpress clean urls and fastcgi. The 1st vhost comes up but when i call the other address it goes to the 1st vhost so not sure if its syntax issu…

---

## [How to show text with all breaks, new line char,spaces](https://www.ruby-forum.com/t/how-to-show-text-with-all-breaks-new-line-char-spaces/196692)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 0\
**Last updated:** [May 26, 2008, 10:57am UTC](https://www.ruby-forum.com/t/how-to-show-text-with-all-breaks-new-line-char-spaces/196692 "2008-05-26T10:57:52Z")

</div>

I want to show paragraph breaks appear in the event description just as the user typed them on , how to do in ruby?

---

## [How to use regexp assertion](https://www.ruby-forum.com/t/how-to-use-regexp-assertion/135448)

<div class="topic-metadata">

**Author:** [@smellcode](https://www.ruby-forum.com/u/smellcode)\
**Replies:** 3\
**Last updated:** [April 22, 2008, 11:40am UTC](https://www.ruby-forum.com/t/how-to-use-regexp-assertion/135448 "2008-04-22T11:40:01Z")

</div>

how to use regexp assertion like this in perl /some\_pattern(?=exp)/

---

## [Accessing mixer values](https://www.ruby-forum.com/t/accessing-mixer-values/133086)

<div class="topic-metadata">

**Author:** [@ruud](https://www.ruby-forum.com/u/ruud)\
**Replies:** 3\
**Last updated:** [March 29, 2008, 5:42am UTC](https://www.ruby-forum.com/t/accessing-mixer-values/133086 "2008-03-29T05:42:57Z")

</div>

hi group I want to read the volume of the mixer device with a ruby script. Can anybody tell me what the ruby equivalent is of what the MIXER\_READ macro does in C? #define SOUND\_MIXER\_VOLUME 0 #define SOUND\_MIXER\_RE…

---

## [Rails \< 2.0 && Rails 2.0?](https://www.ruby-forum.com/t/rails-2-0-rails-2-0/131554)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 3\
**Last updated:** [March 11, 2008, 10:32am UTC](https://www.ruby-forum.com/t/rails-2-0-rails-2-0/131554 "2008-03-11T10:32:38Z")

</div>

Che voi sappiate, e possibile far girare tutti e due sullo stesso sistema? Avendo ormai diversi siti con Rails, non mi dispiacerebbe aggiornarli uno alla volta... So che con i gem e sicuramente possibile averli instal…

---

## [Help using active scaffold](https://www.ruby-forum.com/t/help-using-active-scaffold/128236)

<div class="topic-metadata">

**Author:** [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Replies:** 3\
**Last updated:** [February 7, 2008, 6:27pm UTC](https://www.ruby-forum.com/t/help-using-active-scaffold/128236 "2008-02-07T18:27:48Z")

</div>

I am trying to build a simple search/show tool as a first iteration of a larger project. I only have one table right now and I would like to implement active scaffold from the start of this project. I have tried sev…

---

## ["Parametric class" on inheritance](https://www.ruby-forum.com/t/parametric-class-on-inheritance/127062)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 8:54am UTC](https://www.ruby-forum.com/t/parametric-class-on-inheritance/127062 "2008-01-25T08:54:24Z")

</div>

I found in “Ruby Cookbook” (recipe 8.8) a syntactically interesting construct, which I would like to understand. Here is the excerpt from the coding example: require ‘delegate’ class OrdinalNumber \< DelegateClass(Fix…

---

## [How to use RESTful routes](https://www.ruby-forum.com/t/how-to-use-restful-routes/126414)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 3\
**Last updated:** [January 18, 2008, 5:24am UTC](https://www.ruby-forum.com/t/how-to-use-restful-routes/126414 "2008-01-18T05:24:14Z")

</div>

Okay, this has come up before… but it is NOT working for me sigh but, I’m hoping someone can tell me why. (Rails version 1.2.6) Let’s say I want to create an off the wall method in my Users controller, called login. I…

---

## [Problems with first gem using Rake/Hoe](https://www.ruby-forum.com/t/problems-with-first-gem-using-rake-hoe/125783)

<div class="topic-metadata">

**Author:** [@jimc](https://www.ruby-forum.com/u/jimc)\
**Replies:** 3\
**Last updated:** [January 13, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/problems-with-first-gem-using-rake-hoe/125783 "2008-01-13T15:50:45Z")

</div>

Hi, I’m trying to package my first gem using Hoe (1.4.0) and am having difficulties with Rake (0.8.1) on a Windows XP system. What I notice is that when I execute the task through Rake, it will fail yet I can execute…

---

## [How to integrate Flickr with Rails](https://www.ruby-forum.com/t/how-to-integrate-flickr-with-rails/107816)

<div class="topic-metadata">

**Author:** [@arun123](https://www.ruby-forum.com/u/arun123)\
**Replies:** 3\
**Last updated:** [November 29, 2007, 6:01am UTC](https://www.ruby-forum.com/t/how-to-integrate-flickr-with-rails/107816 "2007-11-29T06:01:12Z")

</div>

hey guys do you integrate Flick with Rails do you have any tutorials ? – Arun A.

---

## [Setting attributes with composition](https://www.ruby-forum.com/t/setting-attributes-with-composition/120037)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [November 13, 2007, 11:12am UTC](https://www.ruby-forum.com/t/setting-attributes-with-composition/120037 "2007-11-13T11:12:22Z")

</div>

The Dragon class is composed of the Room class and the Traits class. The Room class inherits from the Location class which has attribute accessors. From the “creatures.rb” file, how can the attributes for a particula…

---

## [Scaffold Broken?](https://www.ruby-forum.com/t/scaffold-broken/119360)

<div class="topic-metadata">

**Author:** [@beta\_geek](https://www.ruby-forum.com/u/beta_geek)\
**Replies:** 3\
**Last updated:** [November 6, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/scaffold-broken/119360 "2007-11-06T12:58:59Z")

</div>

Hi, I’m running into some serious problems with the scaffold features in Rails 1.2.5 Dynamic scaffolding appears to have gone I get “undefined method \`scaffold’ for Product:Class” when trying to use it script…

---

## [Maschere con ruby](https://www.ruby-forum.com/t/maschere-con-ruby/117915)

<div class="topic-metadata">

**Author:** [@curiosone](https://www.ruby-forum.com/u/curiosone)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/maschere-con-ruby/117915 "2007-10-25T14:50:46Z")

</div>

ciao a tutti sto imparando ruby costruendo un piccolo programma: per generare le maschere ho usato prima Tcl/Tk ed ora GTK2. Tutte e due, secondo il mio punto di vista, piuttosto macchinose e complicate. Qualcuno mi…

---

## [Can't connect to local MySQL server](https://www.ruby-forum.com/t/cant-connect-to-local-mysql-server/115549)

<div class="topic-metadata">

**Author:** [@jalal](https://www.ruby-forum.com/u/jalal)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 6:32am UTC](https://www.ruby-forum.com/t/cant-connect-to-local-mysql-server/115549 "2007-09-27T06:32:00Z")

</div>

hello everyone, i am new to ROR. i am just trying to run a simple application which will show some data from database, i have done it in my local machine. But when i tried to do the same thing in my “Dreamhost” shared…

---

## [Arrayfields-4.0.0](https://www.ruby-forum.com/t/arrayfields-4-0-0/114613)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/arrayfields-4-0-0/114613 "2007-09-25T23:08:15Z")

</div>

NAME arrayfields.rb URIS http://www.codeforpeople.com/lib/ruby/ http://rubyforge.org/projects/codeforpeople/ SYNOPSIS require ‘arrayfields’ a = Arrayfields.new :k, :v, :a, :b p a\[:k\] #=\> :v p a\[:a\] …

---

## [Newbie Qs. Why use Ruby? Why use Rails?](https://www.ruby-forum.com/t/newbie-qs-why-use-ruby-why-use-rails/92862)

<div class="topic-metadata">

**Author:** [@johnchicago99](https://www.ruby-forum.com/u/johnchicago99)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/newbie-qs-why-use-ruby-why-use-rails/92862 "2007-09-25T23:02:31Z")

</div>

Yes, These are Newbie Qs. Why use Ruby? Why use Rails?

---

## [Problem in V3 search in yahoo shopping](https://www.ruby-forum.com/t/problem-in-v3-search-in-yahoo-shopping/196471)

<div class="topic-metadata">

**Author:** [@asitk](https://www.ruby-forum.com/u/asitk)\
**Replies:** 0\
**Last updated:** [September 21, 2007, 11:36am UTC](https://www.ruby-forum.com/t/problem-in-v3-search-in-yahoo-shopping/196471 "2007-09-21T11:36:08Z")

</div>

Hi all, I am trying to implement the yahoo shopping apis in my application. I am trying to get the response using the XMLSimple. I am getting proper result for the V1 and V2 product search. But V3 product search is no…

---

## [Need help randomly selecting unique values from an array](https://www.ruby-forum.com/t/need-help-randomly-selecting-unique-values-from-an-array/113396)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 3\
**Last updated:** [August 30, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/need-help-randomly-selecting-unique-values-from-an-array/113396 "2007-08-30T19:31:34Z")

</div>

Hi there, I have a simple array that I have to pick one or more unique values from and am kind of stumped as to how to do this. Here’s the what the array looks like: foo = \[2, 7, 10, 14\] # (or could equal a diff’…

---

## [Authenticated](https://www.ruby-forum.com/t/authenticated/106752)

<div class="topic-metadata">

**Author:** [@william](https://www.ruby-forum.com/u/william)\
**Replies:** 3\
**Last updated:** [June 13, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/authenticated/106752 "2007-06-13T22:58:42Z")

</div>

Cual de los dos plugins, me recomiendan para implementar en una aplicacion? debo guardar en los registros el id del usuario que hizo la transaccion. debo permitir solo acceso a unas opciones del menu (restriccion de …

---

## [How to comment codes in .rhtml file](https://www.ruby-forum.com/t/how-to-comment-codes-in-rhtml-file/103686)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 3\
**Last updated:** [May 9, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/how-to-comment-codes-in-rhtml-file/103686 "2007-05-09T14:50:30Z")

</div>

HI everybody I know how to comment codes in ruby (.rb) file. But can anyone say how to comment codes in rails file i mean in .rhtml file . Regards, Veeraa.

---

## [Acces to restfull route paths in models](https://www.ruby-forum.com/t/acces-to-restfull-route-paths-in-models/92261)

<div class="topic-metadata">

**Author:** [@temesta](https://www.ruby-forum.com/u/temesta)\
**Replies:** 3\
**Last updated:** [April 19, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/acces-to-restfull-route-paths-in-models/92261 "2007-04-19T15:55:56Z")

</div>

Hello, I’m not sure wether this has already been asked on this forum. I’m trying to create a method in my model which returns a path/url. It seems like I can’t have acces to the restfull routing system from my models. …

---

## [Ferret could't find segments file](https://www.ruby-forum.com/t/ferret-couldt-find-segments-file/91684)

<div class="topic-metadata">

**Author:** [@fafa](https://www.ruby-forum.com/u/fafa)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 12:40am UTC](https://www.ruby-forum.com/t/ferret-couldt-find-segments-file/91684 "2007-04-12T00:40:56Z")

</div>

Hi, I’ve reinstalled ferret and acts\_as\_ferret on windows to versions 0.11.4 and 0.40 respectively. And, I get this error message: File Not Found Error occured: couldn’t find segments file Can someone help me with t…

---

## [Sticky Posts](https://www.ruby-forum.com/t/sticky-posts/75814)

<div class="topic-metadata">

**Author:** [@Ruben\_DSOrduz](https://www.ruby-forum.com/u/Ruben_DSOrduz)\
**Replies:** 3\
**Last updated:** [January 16, 2007, 3:34am UTC](https://www.ruby-forum.com/t/sticky-posts/75814 "2007-01-16T03:34:55Z")

</div>

Hey guys (I know…I should be debugging .Net code…I’m a bad employee), What’s would be the most painless way to add a “sticky” behavior to posts? For example…something I wish to remain in the front page in spite of i…

---

## [Help! installing rubygems in ubuntu... problems with zlib](https://www.ruby-forum.com/t/help-installing-rubygems-in-ubuntu-problems-with-zlib/58179)

<div class="topic-metadata">

**Author:** [@Carlos\_Gershenson](https://www.ruby-forum.com/u/Carlos_Gershenson)\
**Replies:** 3\
**Last updated:** [December 4, 2006, 6:49am UTC](https://www.ruby-forum.com/t/help-installing-rubygems-in-ubuntu-problems-with-zlib/58179 "2006-12-04T06:49:25Z")

</div>

Hi, I am trying to install Ruby on Rails on a Linux Ubuntu PC. I already installed manually ruby 1.8.4. But when I try to install rubygems, I get the error: /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.r…

---

## [Java scripting language poll](https://www.ruby-forum.com/t/java-scripting-language-poll/75562)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 3\
**Last updated:** [November 11, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/java-scripting-language-poll/75562 "2006-11-11T22:00:38Z")

</div>

Since I’m a glutton for punishment, I thought I’d go ahead and post this here as well. If you’re a user/fan of JRuby feel free to go vote it up\> http://www.manageability.org/polls/favorite\_java\_scripting\_language If…

---

## [Sudo gem install -r webrick FAILED](https://www.ruby-forum.com/t/sudo-gem-install-r-webrick-failed/73098)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 23, 2006, 7:43pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-r-webrick-failed/73098 "2006-10-23T19:43:41Z")

</div>

after a : ~%\> sudo gem install -r webrick i got : ERROR: While executing gem … (NoMethodError) undefined method \`each’ for #Object:0x6a3d80 a workaround ? (gem version is 0.9.0 and ruby one is ruby 1.8.5 (2006-08-…

---

## [Disassociating relationships](https://www.ruby-forum.com/t/disassociating-relationships/71698)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 3\
**Last updated:** [October 11, 2006, 1:43am UTC](https://www.ruby-forum.com/t/disassociating-relationships/71698 "2006-10-11T01:43:47Z")

</div>

in my app, i find a bunch of users in a group with the following line of code: group\_users = Group.find(params\[:id\]).users i need to take this group and add some users to it, but i found out the hard way that group\_…

---

## [Creating an updateable ActiveRecord object for an existing r](https://www.ruby-forum.com/t/creating-an-updateable-activerecord-object-for-an-existing-r/71477)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [October 9, 2006, 10:27am UTC](https://www.ruby-forum.com/t/creating-an-updateable-activerecord-object-for-an-existing-r/71477 "2006-10-09T10:27:20Z")

</div>

Folks, Can someone please suggest why the following code does not work? class User \< ActiveRecord::Base def register user = User.find\_by\_email\_address(self.email\_address) if !user.nil? self.id = user.id end self.…

---

## [Feedback messages to user using Tk](https://www.ruby-forum.com/t/feedback-messages-to-user-using-tk/70179)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 3\
**Last updated:** [September 27, 2006, 1:54pm UTC](https://www.ruby-forum.com/t/feedback-messages-to-user-using-tk/70179 "2006-09-27T13:54:44Z")

</div>

Hi all! If anyone is very familiar with Tk I would be very grateful for a few pointers. Basically I’m looking to feedback my program’s output to the user in a GUI (Tk Label) rather than printing to the console (which…

---

## [RE: Classe 'normale' come ActiveRecord](https://www.ruby-forum.com/t/re-classe-normale-come-activerecord/67984)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 3\
**Last updated:** [September 8, 2006, 10:35am UTC](https://www.ruby-forum.com/t/re-classe-normale-come-activerecord/67984 "2006-09-08T10:35:39Z")

</div>

stilisticamente è carino, io ho uno stile differente, ma comunque a me piace. Solo che non capisco il senso del tutto… se ti serve una classe che non prende delle proprietà dinamicamente (come gli AR) ma le dichiara …

---

## [Transient subclass of an ActiveRecord subclass](https://www.ruby-forum.com/t/transient-subclass-of-an-activerecord-subclass/67513)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [September 8, 2006, 2:36am UTC](https://www.ruby-forum.com/t/transient-subclass-of-an-activerecord-subclass/67513 "2006-09-08T02:36:30Z")

</div>

hey all I posted this same topic yesterday and it never showed up on the group? I’ve heard reports of other peoples messages not showing up too… very annoying! Anyway, I’d like to be able to have transient (no persis…

---

## [IRB and rb files](https://www.ruby-forum.com/t/irb-and-rb-files/64706)

<div class="topic-metadata">

**Author:** [@ClassRubyExceptionH](https://www.ruby-forum.com/u/ClassRubyExceptionH)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/irb-and-rb-files/64706 "2006-08-15T14:17:59Z")

</div>

As I make my way through the Pragmatic Programmer’s Guide I am puzzled by the following issue: If I type in a Ruby program such as class Song def initialize(name, artist, duration) @name = name @artist = arti…

---

## [Whitespace matters in instance\_eval? I'm confused](https://www.ruby-forum.com/t/whitespace-matters-in-instance-eval-im-confused/101564)

<div class="topic-metadata">

**Author:** [@Harold\_H](https://www.ruby-forum.com/u/Harold_H)\
**Replies:** 3\
**Last updated:** [August 6, 2006, 5:53pm UTC](https://www.ruby-forum.com/t/whitespace-matters-in-instance-eval-im-confused/101564 "2006-08-06T17:53:04Z")

</div>

irb(main):001:0\> foo = Object.new =\> #Object:0x2b9bb88 irb(main):002:0\> foo.instance\_eval “3.times{ puts ‘boom’ }” boom boom boom =\> 3 irb(main):003:0\> foo.instance\_eval “3.times{ puts ‘boom’ \\n}” boom boom boo…

---

## [Helpers: newbie problem](https://www.ruby-forum.com/t/helpers-newbie-problem/101147)

<div class="topic-metadata">

**Author:** [@vincentVega](https://www.ruby-forum.com/u/vincentVega)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 3:30pm UTC](https://www.ruby-forum.com/t/helpers-newbie-problem/101147 "2006-08-03T15:30:58Z")

</div>

please help me with my code: im calling a helper, which has to return different links. –list.rhtml … \<% for message in @messages %\> \<%= message.author.send('name') %\> \<%= message.send('date').strftime("%d.%m.%y/%…

---

## [How to create classes automatically](https://www.ruby-forum.com/t/how-to-create-classes-automatically/101154)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/how-to-create-classes-automatically/101154 "2006-08-03T14:23:47Z")

</div>

hi let’s say I have a string with a class name as a value. I want to create a new instance of the class with the given class name. example: when I have a string like this: str = “Array” I want to create a new Array…

---

## [Help me run rails on apache on Linux Fedora](https://www.ruby-forum.com/t/help-me-run-rails-on-apache-on-linux-fedora/99217)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 3\
**Last updated:** [July 22, 2006, 4:26am UTC](https://www.ruby-forum.com/t/help-me-run-rails-on-apache-on-linux-fedora/99217 "2006-07-22T04:26:52Z")

</div>

Hello all, I am new on the rails list, having signed up today, but I am in the midst of some sticky business getting rails to go on my linux system. I am running Fedora Core 4, with Ruby 1.8.4 and Apache 2.0.54. I h…

---

## [RFuzz HTTP Destroyer 0.2 -- Ragel HTTP Client](https://www.ruby-forum.com/t/rfuzz-http-destroyer-0-2-ragel-http-client/97479)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 3\
**Last updated:** [July 10, 2006, 11:30am UTC](https://www.ruby-forum.com/t/rfuzz-http-destroyer-0-2-ragel-http-client/97479 "2006-07-10T11:30:52Z")

</div>

In my constant quest to turn evil activities into useful tools I have started the RFuzz HTTP Destroyer project (or just RFuzz until I can find a better name). RFuzz will eventually become a small framework that lets p…

---

## [Routes & methods in controllers](https://www.ruby-forum.com/t/routes-methods-in-controllers/95709)

<div class="topic-metadata">

**Author:** [@petegajria](https://www.ruby-forum.com/u/petegajria)\
**Replies:** 3\
**Last updated:** [June 10, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/routes-methods-in-controllers/95709 "2006-06-10T19:08:32Z")

</div>

still a newbie in rails so bear with me on this one new test app… rails test generate controller main i add a layout view for main/index & its working ok i set the routes as follows map.connect ‘’, :controller =\> “M…

---

## [Best practices with Web Services](https://www.ruby-forum.com/t/best-practices-with-web-services/62490)

<div class="topic-metadata">

**Author:** [@janovetz](https://www.ruby-forum.com/u/janovetz)\
**Replies:** 3\
**Last updated:** [June 5, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/best-practices-with-web-services/62490 "2006-06-05T22:04:32Z")

</div>

Hello– I’m investigating the API facet of my site and wanted to ask a couple questions: The Agile book describes adding an API using the web\_services generator which adds stuff to app/api. In Rails 1.1, Jamis adde…

---

## [Rails naming convention for model: community](https://www.ruby-forum.com/t/rails-naming-convention-for-model-community/61221)

<div class="topic-metadata">

**Author:** [@samonderous](https://www.ruby-forum.com/u/samonderous)\
**Replies:** 3\
**Last updated:** [May 22, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/rails-naming-convention-for-model-community/61221 "2006-05-22T15:35:43Z")

</div>

Hello, How does Rails deal with the pluralization of community. I have “community” as my model name. Will Rails automatically look for a table name “communities” or do I have to name the table “communitys”? Thanks…

---

## [Uninitialized constant Customer (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-customer-nameerror/57527)

<div class="topic-metadata">

**Author:** [@gopal](https://www.ruby-forum.com/u/gopal)\
**Replies:** 3\
**Last updated:** [April 12, 2006, 1:11pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-customer-nameerror/57527 "2006-04-12T13:11:55Z")

</div>

Hi everybody, I created a class called Customer and created a sub class called Transaction. The problem iam facing is i can’t extract the super class methods and variables from sub class (i.e from Transaction class). …

---

## [New tarballs](https://www.ruby-forum.com/t/new-tarballs/93659)

<div class="topic-metadata">

**Author:** [@Luis\_Simoes](https://www.ruby-forum.com/u/Luis_Simoes)\
**Replies:** 3\
**Last updated:** [April 6, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/new-tarballs/93659 "2006-04-06T18:57:21Z")

</div>

Hi all, I tried to use benchmark\_gmsk\_rx.py and i noticed that my system does not have all the usrp stuff receive\_path.py uses. So I install the usrp-011 and the gr-usrp-0.7 package and uninstall the previous ones (…

---

## [POLS violation? /\\s\*/ no match at StringScanner end](https://www.ruby-forum.com/t/pols-violation-s-no-match-at-stringscanner-end/55464)

<div class="topic-metadata">

**Author:** [@capnregex](https://www.ruby-forum.com/u/capnregex)\
**Replies:** 3\
**Last updated:** [March 21, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/pols-violation-s-no-match-at-stringscanner-end/55464 "2006-03-21T17:44:25Z")

</div>

Hi, I’ve been bitten by this discrepancy on some occasions: irb(main):003:0\> StringScanner.new("").match?(/\\s\*/) =\> nil irb(main):004:0\> /\\s\*/ =~ “” =\> 0 Running: ruby 1.8.4 (2005-12-24) \[i686-linux\] Is it a bug o…

---

## [RecordNotFound](https://www.ruby-forum.com/t/recordnotfound/82547)

<div class="topic-metadata">

**Author:** [@Franz\_Bettag](https://www.ruby-forum.com/u/Franz_Bettag)\
**Replies:** 3\
**Last updated:** [March 16, 2006, 3:01pm UTC](https://www.ruby-forum.com/t/recordnotfound/82547 "2006-03-16T15:01:01Z")

</div>

Hi guys, uhm how to fetch out a RecordNotFound? i have this here @new\_ipv4 = Ipv4addr.find(IPAddr.new(params\[:ipv4addr\]\[:id\]).to\_i) but at this line it gives an error RecordNotFound. But this is okay! But now i want…

---

## [Css question](https://www.ruby-forum.com/t/css-question/79399)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [March 10, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/css-question/79399 "2006-03-10T19:17:27Z")

</div>

I’m doing this ‘partial’ to do some ajax auto\_complete \<% for client in @clients do -%\> \<%=h client.clwholename %\> \<%= client.id %\> \<% end -%\> and my understanding was that would make the element inside ‘hidden’ b…

---

## [Validates\_uniqeness\_of](https://www.ruby-forum.com/t/validates-uniqeness-of/76005)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 3\
**Last updated:** [March 3, 2006, 2:24am UTC](https://www.ruby-forum.com/t/validates-uniqeness-of/76005 "2006-03-03T02:24:49Z")

</div>

Hello, I am trying to understand usage of validates\_uniqeness\_of. Say I have, two column ‘name’ and ‘email’ in my table users three unique key is possible for these two columns name email name and email together My…

---

## [Howto work with a page not generated by the scaffold?](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204)

<div class="topic-metadata">

**Author:** [@Anne\_G](https://www.ruby-forum.com/u/Anne_G)\
**Replies:** 3\
**Last updated:** [February 10, 2006, 2:44am UTC](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204 "2006-02-10T02:44:41Z")

</div>

I too was trying to figure out such things. I need a page that will ask for initial and final date, this would be a form page, so it would be a view. It would go in the view folder. You could have an action getdates …

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

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