# Top

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

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

---

## [No Method Error when using a plugin](https://www.ruby-forum.com/t/no-method-error-when-using-a-plugin/150501)

<div class="topic-metadata">

**Author:** [@dangerp](https://www.ruby-forum.com/u/dangerp)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/no-method-error-when-using-a-plugin/150501 "2008-10-10T21:07:01Z")

</div>

I’m at kind of a weird roadblock right now. I’m fairly new at rails, but what I am trying to do right now seems too simple to not work. I installed the “spawn” plugin using the following: ruby script/plugin install h…

---

## [What does the 'it' do?](https://www.ruby-forum.com/t/what-does-the-it-do/149688)

<div class="topic-metadata">

**Author:** [@timr](https://www.ruby-forum.com/u/timr)\
**Replies:** 3\
**Last updated:** [September 28, 2008, 2:08pm UTC](https://www.ruby-forum.com/t/what-does-the-it-do/149688 "2008-09-28T14:08:08Z")

</div>

I came across the following code (see below). As President Clinton famously said, “It depends on what the definition of ‘it’ is.” I am hoping someone can explain how ‘it’ is being used. I have come across this ‘it…str…

---

## [Does array's each-block destroies outer objects?](https://www.ruby-forum.com/t/does-arrays-each-block-destroies-outer-objects/149650)

<div class="topic-metadata">

**Author:** [@w\_wg](https://www.ruby-forum.com/u/w_wg)\
**Replies:** 3\
**Last updated:** [September 27, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/does-arrays-each-block-destroies-outer-objects/149650 "2008-09-27T16:15:42Z")

</div>

Hi, Please look: x = 2840 =\> 2840 x.object\_id =\> 5681 a = \[1,2,3,4,5\] =\> \[1, 2, 3, 4, 5\] a\[4\].object\_id =\> 11 a.each {|x| puts x} 1 2 3 4 5 =\> \[1, 2, 3, 4, 5\] a\[4\].object\_id =\> 11 x.object\_id …

---

## [BDDish rspecish question](https://www.ruby-forum.com/t/bddish-rspecish-question/147251)

<div class="topic-metadata">

**Author:** [@bartz](https://www.ruby-forum.com/u/bartz)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 10:12pm UTC](https://www.ruby-forum.com/t/bddish-rspecish-question/147251 "2008-08-29T22:12:00Z")

</div>

Hey list, This is a kinda quirky question for this list, but I do think it belongs here. I’m currently writing an app with users with different roles. Roles are sequentially so to speak, so role 2 can do everything r…

---

## [Class \<\< Array vs. Array.class](https://www.ruby-forum.com/t/class-array-vs-array-class/146473)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 3\
**Last updated:** [August 21, 2008, 3:38pm UTC](https://www.ruby-forum.com/t/class-array-vs-array-class/146473 "2008-08-21T15:38:57Z")

</div>

Hello, i just wondered where the difference between the following code parts is? ---- code ---- class \<\< Array p self.inspect define\_method :foo do p “inside foo” end end Array.class.module\_eval do p self.insp…

---

## [Javascript disabled for link\_to\_remote](https://www.ruby-forum.com/t/javascript-disabled-for-link-to-remote/142959)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 3\
**Last updated:** [July 14, 2008, 2:25am UTC](https://www.ruby-forum.com/t/javascript-disabled-for-link-to-remote/142959 "2008-07-14T02:25:34Z")

</div>

Hi, If a user doesn’t have javascript enabled, how would I know with the link\_to\_remote… In my view, I have this: \<%= link\_to\_remote( “Add user”,:url =\> { :action =\> :show\_add\_user } ) %\> And in my action, I have t…

---

## [No decimation -- collect at 64MHz](https://www.ruby-forum.com/t/no-decimation-collect-at-64mhz/142626)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 3\
**Last updated:** [July 10, 2008, 8:19am UTC](https://www.ruby-forum.com/t/no-decimation-collect-at-64mhz/142626 "2008-07-10T08:19:43Z")

</div>

Hi, I am troubleshooting a problem with my GPS receiver. Is it possible to collect some 64 MHz data? I understand the collect will not be long because USB2 can’t handle the bandwidth, but perhaps buffers on the USRP …

---

## [\[ANN\] Engines 1.2.2](https://www.ruby-forum.com/t/ann-engines-1-2-2/138127)

<div class="topic-metadata">

**Author:** [@turnip](https://www.ruby-forum.com/u/turnip)\
**Replies:** 0\
**Last updated:** [May 20, 2008, 1:38pm UTC](https://www.ruby-forum.com/t/ann-engines-1-2-2/138127 "2008-05-20T13:38:38Z")

</div>

Hi, I have just tagged 1.2.2: http://svn.rails-engines.org/engines/tags/rel\_1.2.2 Regards, Jon CHANGELOG = 1.2.2 Added the ability to code mix different types of files, cleaning up the existing code-mixing imp…

---

## [Recurring Invoice Logic](https://www.ruby-forum.com/t/recurring-invoice-logic/133195)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 3\
**Last updated:** [March 31, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/recurring-invoice-logic/133195 "2008-03-31T16:58:32Z")

</div>

Never done recurring invoices before so wondering if this logic makes sense: Cron job runs at 4am each night and runs some ruby like this: pseudocode: For Each Invoice.due\_date == Date.today Invoice.new(:due\_date =\> …

---

## [Stories (well, integration tests) which aren't plain text](https://www.ruby-forum.com/t/stories-well-integration-tests-which-arent-plain-text/131827)

<div class="topic-metadata">

**Author:** [@rhalff](https://www.ruby-forum.com/u/rhalff)\
**Replies:** 3\
**Last updated:** [March 13, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/stories-well-integration-tests-which-arent-plain-text/131827 "2008-03-13T17:40:02Z")

</div>

Hi, Having just played with getting my first plain text story working, I like how it all fits together. It worked out nicely. However, I don’t feel our project needs to have stories as plain text, in fact it’s a slig…

---

## [Problems with the examples](https://www.ruby-forum.com/t/problems-with-the-examples/128801)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 3\
**Last updated:** [February 11, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/problems-with-the-examples/128801 "2008-02-11T19:27:47Z")

</div>

Hello all! I’m working on OFDM synchronization for GNURadio and we need a file to simulate the OFDM. I thought it would be a good way use the audio\_to\_file.py of the examples, but it doesnÂ´t work. I speak to the mic…

---

## [Colored output for stories?](https://www.ruby-forum.com/t/colored-output-for-stories/128561)

<div class="topic-metadata">

**Author:** [@Neil\_MSYoung](https://www.ruby-forum.com/u/Neil_MSYoung)\
**Replies:** 3\
**Last updated:** [February 11, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/colored-output-for-stories/128561 "2008-02-11T15:07:55Z")

</div>

sorry if this is documented somewhere, but do stories support colored output? neither -c nor --color are working for me. View this message in context: http://www.nabble.com/colored-output-for-stories--tp15363648p1536…

---

## [Which version do I have then?](https://www.ruby-forum.com/t/which-version-do-i-have-then/128251)

<div class="topic-metadata">

**Author:** [@sebkom](https://www.ruby-forum.com/u/sebkom)\
**Replies:** 3\
**Last updated:** [February 6, 2008, 1:40pm UTC](https://www.ruby-forum.com/t/which-version-do-i-have-then/128251 "2008-02-06T13:40:07Z")

</div>

Hello there! After reading the first half of Chris P.'s online tutorial I decided to buy the book and here I am, preparing my MacBook Pro for my serious studying which I plan to begin in a few hours. However, since I…

---

## [\[PATCH\] warnings of enc/trans/utf\_16\_32.c](https://www.ruby-forum.com/t/patch-warnings-of-enc-trans-utf-16-32-c/126645)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 3\
**Last updated:** [January 21, 2008, 10:21am UTC](https://www.ruby-forum.com/t/patch-warnings-of-enc-trans-utf-16-32-c/126645 "2008-01-21T10:21:43Z")

</div>

e$B$J$+$@$G$9!#e(B enc/trans/utf\_16\_32.ce$B$N7Y9p$r\>C$9%Q%C%A$G$9!#\<+F0@8@.$H$$$&$3$He(B e$B$J$N$G!"@8@.85$K$\*4j$$$7$^$9!#e(B e$B$A$J$\_$K!“4X?tItJ,$O\<j$G=q$$$?$N$G$O$J$$$+$H;W$o$l$k$N$G$9$,!”$Ie(B e$B$N$h$&$J07$$$K$J…

---

## [Error with open-uri (instance\_eval?)](https://www.ruby-forum.com/t/error-with-open-uri-instance-eval/125329)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 3\
**Last updated:** [January 15, 2008, 9:20am UTC](https://www.ruby-forum.com/t/error-with-open-uri-instance-eval/125329 "2008-01-15T09:20:14Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B$I$&$bC;$$:F8=%1!\<%9$r:n$l$J$$$N$GJs9p$@$1$9$,!"8=:\_$Ne(Btrunke$B$Ge(B e$B0J2\<$N$h$&$J%(%i!\<$,=P$^$9!#e(B % ruby -ropen-uri -ve ‘open(“http://www.ruby-lang.org/”)’ …

---

## [Filtering ZenTest's Autotest output: stack trace](https://www.ruby-forum.com/t/filtering-zentests-autotest-output-stack-trace/125538)

<div class="topic-metadata">

**Author:** [@Harmon](https://www.ruby-forum.com/u/Harmon)\
**Replies:** 3\
**Last updated:** [January 10, 2008, 1:29am UTC](https://www.ruby-forum.com/t/filtering-zentests-autotest-output-stack-trace/125538 "2008-01-10T01:29:50Z")

</div>

Is there anyway to prevent autotest from outputting the huge stack trace of failed tests? I just want the little “Your code railed at line 6 of user\_spec.rb” output… I’m running Rspec 1.1.1 and RspecOnRails 1.1.1, wit…

---

## [Nil.freeze in date.rb](https://www.ruby-forum.com/t/nil-freeze-in-date-rb/123927)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 3\
**Last updated:** [December 22, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/nil-freeze-in-date-rb/123927 "2007-12-22T17:08:39Z")

</div>

å‰ç”°ã§ã™ã€‚ 1.9ã§YAMLãŒã¾ã¨ã‚‚ã«å‹•ã‹ãªã„ã®ã§ã™ãŒã€date.rbã®ä¸­ã§(ãŸã¶ã‚“æ„å›³ã›ãšã—ã¦) nil.freezeã—ã¦ã„ã‚‹ã®ãŒåŽŸå› ã®ã‚ˆã†ã§ã™ã€‚ æ·»ä»˜ã®ãƒ‘ãƒƒãƒã§test/yaml/test\_yaml.rbãŒé€šã…

---

## [Making ODBC connections without explicitly coding a password](https://www.ruby-forum.com/t/making-odbc-connections-without-explicitly-coding-a-password/118302)

<div class="topic-metadata">

**Author:** [@anneb](https://www.ruby-forum.com/u/anneb)\
**Replies:** 3\
**Last updated:** [December 21, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/making-odbc-connections-without-explicitly-coding-a-password/118302 "2007-12-21T15:18:57Z")

</div>

We’re developing Ruby programs which read and write from/to DB2 tables on a mainframe. We’re the first people in the company to use Ruby so are rather feeling our way. So far we’ve been using our own IDs and passwor…

---

## [Autocomplete - returning id that has been matched?](https://www.ruby-forum.com/t/autocomplete-returning-id-that-has-been-matched/122360)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 3\
**Last updated:** [December 7, 2007, 8:25am UTC](https://www.ruby-forum.com/t/autocomplete-returning-id-that-has-been-matched/122360 "2007-12-07T08:25:47Z")

</div>

Hi, Has anyone got any suggestions or know of any examples where people have got an autocomplete field to return the id of the row it has matched on. I have been attempting to come up with a way to do this with the ai…

---

## [Progress Indicator. Please Comment](https://www.ruby-forum.com/t/progress-indicator-please-comment/121785)

<div class="topic-metadata">

**Author:** [@mikisvaz](https://www.ruby-forum.com/u/mikisvaz)\
**Replies:** 3\
**Last updated:** [November 30, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/progress-indicator-please-comment/121785 "2007-11-30T22:18:36Z")

</div>

Hi all, I came to ruby from perl. The first thing I missed was the SmartComments package that allowed me to add progress indicators to loops, I couldn’t find any. Then I figured that maybe it wasn’t very hard, so I di…

---

## [Instantiate random subclasses of Creature (Dragon, TeethDeer, etc)](https://www.ruby-forum.com/t/instantiate-random-subclasses-of-creature-dragon-teethdeer-etc/119462)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [November 8, 2007, 2:12am UTC](https://www.ruby-forum.com/t/instantiate-random-subclasses-of-creature-dragon-teethdeer-etc/119462 "2007-11-08T02:12:58Z")

</div>

I want to not just create Dragons, but randomly other creatures. Perhaps from a hard coded list? I was thinking of using random numbers and case statements, but surely there’s ruby-esque way to specify: types of cre…

---

## [Husteon I've got a problem](https://www.ruby-forum.com/t/husteon-ive-got-a-problem/117767)

<div class="topic-metadata">

**Author:** [@marcelo](https://www.ruby-forum.com/u/marcelo)\
**Replies:** 3\
**Last updated:** [October 20, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/husteon-ive-got-a-problem/117767 "2007-10-20T19:34:14Z")

</div>

Hello This is my first contact with Ruby on Rails, and I am dissapointed of it I installed: ruby186-25 rails-1.2.5 and the last version of APTANA When I try to run the server I get the following error: Cannot fin…

---

## [Mongrel su Debian](https://www.ruby-forum.com/t/mongrel-su-debian/112640)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 22, 2007, 8:57am UTC](https://www.ruby-forum.com/t/mongrel-su-debian/112640 "2007-08-22T08:57:45Z")

</div>

sto provando ad installare mongrel su Debian etch tramite Gems: ecco il risultato: nathan:/home/bonzo# gem install mongrel Bulk updating Gem source index for: http://gems.rubyforge.org Select which gem to install for…

---

## [Bug or bad documentation for Array.insert()](https://www.ruby-forum.com/t/bug-or-bad-documentation-for-array-insert/111678)

<div class="topic-metadata">

**Author:** [@Markus\_E](https://www.ruby-forum.com/u/Markus_E)\
**Replies:** 3\
**Last updated:** [August 12, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/bug-or-bad-documentation-for-array-insert/111678 "2007-08-12T14:01:36Z")

</div>

I just came across ruby and noticed a difference between the behavior of Array.insert() and its documentation. Method: http://www.ruby-doc.org/core/classes/Array.src/M002195.html From the RDoc it seems that two argume…

---

## [Wich plugins do you don't live without?](https://www.ruby-forum.com/t/wich-plugins-do-you-dont-live-without/107537)

<div class="topic-metadata">

**Author:** [@mguzman](https://www.ruby-forum.com/u/mguzman)\
**Replies:** 3\
**Last updated:** [June 24, 2007, 10:13am UTC](https://www.ruby-forum.com/t/wich-plugins-do-you-dont-live-without/107537 "2007-06-24T10:13:09Z")

</div>

I am using annotations and rcov … exist any other you think that is good to all rails application ? – Atenciosamente, Maximiliano Ferreira Guzenski Sun Certified Java Programmer 1.4 Sun Certified Web Component Dev…

---

## [Le FAQ](https://www.ruby-forum.com/t/le-faq/106908)

<div class="topic-metadata">

**Author:** [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Replies:** 3\
**Last updated:** [June 21, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/le-faq/106908 "2007-06-21T18:00:56Z")

</div>

Ragazzi neanche una FAQ qui: http://ruby-it.org/pages/LE+FAQ/ Diamoci da fare dai, creiamo un documento che possa essere adatto a tutti, grandi e piccini :slight\_smile:

---

## [Best DRY solution for this task](https://www.ruby-forum.com/t/best-dry-solution-for-this-task/106136)

<div class="topic-metadata">

**Author:** [@anansi](https://www.ruby-forum.com/u/anansi)\
**Replies:** 3\
**Last updated:** [June 7, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/best-dry-solution-for-this-task/106136 "2007-06-07T18:51:01Z")

</div>

Hi, I have a certain problem here and can’t find a proper DRY solution for this so I wondered if someone here has an idea and could help me. I’m reading a file byte for byte. This file is structured and I try to give…

---

## [Radio twitter](https://www.ruby-forum.com/t/radio-twitter/106201)

<div class="topic-metadata">

**Author:** [@jean\_pereira](https://www.ruby-forum.com/u/jean_pereira)\
**Replies:** 3\
**Last updated:** [June 7, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/radio-twitter/106201 "2007-06-07T17:00:40Z")

</div>

Can someone help me? I like twitter a lot and I want to create radio twitter, which would be twittervision but on audio with the best messages. A raw example is here: mp3travel.com - mp3travel Resources and Informati…

---

## [Getting to work the Ajax Example in Agile Web](https://www.ruby-forum.com/t/getting-to-work-the-ajax-example-in-agile-web/105739)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 3\
**Last updated:** [June 2, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/getting-to-work-the-ajax-example-in-agile-web/105739 "2007-06-02T20:46:31Z")

</div>

I’ve been reading Agile Web D. on Rails and getting to work each of the examples UNTIL the example of AJAX in Chapter 23 (“The Web, V2.0” by Justin Gehtland). I’ve written the code exactly per “The Search Example” (or…

---

## [SDR at Dayton Hamvention](https://www.ruby-forum.com/t/sdr-at-dayton-hamvention/103473)

<div class="topic-metadata">

**Author:** [@Eric\_ASCottrell](https://www.ruby-forum.com/u/Eric_ASCottrell)\
**Replies:** 0\
**Last updated:** [May 6, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/sdr-at-dayton-hamvention/103473 "2007-05-06T16:51:46Z")

</div>

Hello, I am attending Dayton this year and it is good that I will not miss out on learning more about SDR. I plan on bringing a good portion of my listening shack, including my USRP, to monitor Radio Communications i…

---

## [Sorting an array basedon two attributes of objects](https://www.ruby-forum.com/t/sorting-an-array-basedon-two-attributes-of-objects/90157)

<div class="topic-metadata">

**Author:** [@senthil](https://www.ruby-forum.com/u/senthil)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/sorting-an-array-basedon-two-attributes-of-objects/90157 "2007-03-26T14:57:56Z")

</div>

Hi all, I want to sort the objects of array based on two attributes.I want sort an employee class based on his salary and name , so that if two person has same salary it should be sorted with name. Lets say for examp…

---

## [NetBeans 6.0/Script Console Window](https://www.ruby-forum.com/t/netbeans-6-0-script-console-window/88311)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-script-console-window/88311 "2007-03-09T22:26:26Z")

</div>

Has anyone figured out how to turn NetBeans IRB window into Ruby on Rails script/console window where the gems like ActiveRecord, ActionPack etc are recognized? May be an easy one for the Rails Guru’s out there, not …

---

## [Agregating posts](https://www.ruby-forum.com/t/agregating-posts/85301)

<div class="topic-metadata">

**Author:** [@poopsmith](https://www.ruby-forum.com/u/poopsmith)\
**Replies:** 3\
**Last updated:** [February 13, 2007, 3:46am UTC](https://www.ruby-forum.com/t/agregating-posts/85301 "2007-02-13T03:46:01Z")

</div>

Hi all, Let me explain my problem. I have the following structure: – HOME | |\_\_ Section 1 | |\_\_ Article 1 (published\_at: jan/17) | |\_\_ Article 2 (published\_at: jan/30) | |\_\_ Article N (published\_at: feb/1…

---

## [Quiz#112](https://www.ruby-forum.com/t/quiz-112/84974)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 3\
**Last updated:** [February 9, 2007, 12:03am UTC](https://www.ruby-forum.com/t/quiz-112/84974 "2007-02-09T00:03:24Z")

</div>

\#ok, here’s my perhaps inelegant solution, and hi, I’m Kyle. input=gets("\\n") input.downcase! input.gsub!(/\[^a-z+=\]/,’’) left=input.split("==").first.split(’+’) right=input.split("==").last.split(’+’) exit(1) unles…

---

## [Accessing model's field's across forms](https://www.ruby-forum.com/t/accessing-models-fields-across-forms/84347)

<div class="topic-metadata">

**Author:** [@truptibhatt](https://www.ruby-forum.com/u/truptibhatt)\
**Replies:** 3\
**Last updated:** [February 6, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/accessing-models-fields-across-forms/84347 "2007-02-06T20:54:05Z")

</div>

Hi there, we have been facing problems while accessing field values. we have around 30 filelds in our model. so we had created 2 rhtml files to split the views. now we have submit button on first.if it is being click…

---

## [Validates\_numericality\_of simply not working](https://www.ruby-forum.com/t/validates-numericality-of-simply-not-working/79099)

<div class="topic-metadata">

**Author:** [@JSRiddel](https://www.ruby-forum.com/u/JSRiddel)\
**Replies:** 3\
**Last updated:** [December 12, 2006, 7:33am UTC](https://www.ruby-forum.com/t/validates-numericality-of-simply-not-working/79099 "2006-12-12T07:33:33Z")

</div>

validates\_numericality\_of is returning “is not a number” for everything I try. What’s up? database: column: price type: float (9,2) (I’ve also tried decimal 9,2) model: validates\_numericality\_of :price, :only\_integ…

---

## [Problem with images/stylesheets between windows and unix](https://www.ruby-forum.com/t/problem-with-images-stylesheets-between-windows-and-unix/73402)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 10:18pm UTC](https://www.ruby-forum.com/t/problem-with-images-stylesheets-between-windows-and-unix/73402 "2006-10-24T22:18:02Z")

</div>

Hi, I’m finding my image and stylesheets are resolving fine on windows/webbrick, but not on unix (Dreamhost). I can’t navigate to them on dreamhost and I get a “File not Found - Change this error message for pages…

---

## [Best web server for my situation](https://www.ruby-forum.com/t/best-web-server-for-my-situation/69788)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 3\
**Last updated:** [September 24, 2006, 10:30am UTC](https://www.ruby-forum.com/t/best-web-server-for-my-situation/69788 "2006-09-24T10:30:56Z")

</div>

Hello all, I’m developing web sites for a couple of people and I’m going to eventually be taking the plunge into using RoR instead of ASP.NET. During this move I’m also switching to Linux using Ubuntu. What webserver…

---

## [App can't find Gem Radiant](https://www.ruby-forum.com/t/app-cant-find-gem-radiant/66637)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 3\
**Last updated:** [August 30, 2006, 11:52am UTC](https://www.ruby-forum.com/t/app-cant-find-gem-radiant/66637 "2006-08-30T11:52:46Z")

</div>

Hello, I’ve been using Radiant and building my site using Webrick and felt it was time to switch it over to Apache. Unfortunately things weren’t so smooth. \[Sun Aug 27 19:11:23 2006\] \[warn\] FastCGI: (dynamic) server …

---

## [Reorder lists only after clicking link](https://www.ruby-forum.com/t/reorder-lists-only-after-clicking-link/100032)

<div class="topic-metadata">

**Author:** [@scoobycoder](https://www.ruby-forum.com/u/scoobycoder)\
**Replies:** 3\
**Last updated:** [July 27, 2006, 12:03pm UTC](https://www.ruby-forum.com/t/reorder-lists-only-after-clicking-link/100032 "2006-07-27T12:03:44Z")

</div>

Yo, I have created the usual list that uses drag and drop to reorder stuff and it all works fine. But I don’t want the list to be draggable until someone clicks a button (or link) to enable the reordering. My only id…

---

## [Rails & Mongrel & Lighttpd \> NameError in Production](https://www.ruby-forum.com/t/rails-mongrel-lighttpd-nameerror-in-production/98963)

<div class="topic-metadata">

**Author:** [@none](https://www.ruby-forum.com/u/none)\
**Replies:** 3\
**Last updated:** [July 20, 2006, 11:10am UTC](https://www.ruby-forum.com/t/rails-mongrel-lighttpd-nameerror-in-production/98963 "2006-07-20T11:10:08Z")

</div>

hallo there, i got a problem with switching from development- to production-mode in my rails project. in development everything is working fine, but in production i keep on getting a NameError… why is that? has anyo…

---

## [1.8 test-all failed](https://www.ruby-forum.com/t/1-8-test-all-failed/96887)

<div class="topic-metadata">

**Author:** [@URABE\_Shyouhei](https://www.ruby-forum.com/u/URABE_Shyouhei)\
**Replies:** 3\
**Last updated:** [July 3, 2006, 7:23am UTC](https://www.ruby-forum.com/t/1-8-test-all-failed/96887 "2006-07-03T07:23:08Z")

</div>

e$BKNIt$G$9!#:G6a!"KNIt$Ne(Bautobuilde$B$Ge(Btest-alle$B$,\<:GT$7$F$$$^$9!#e(B e$B%m%0$r8+$k$He(B : test.rb finished env ./ruby test/runner.rb dyld: ./ruby Undefined symbols: \_PW\_GID2VAL e$B$H$J$C$F$$j!"$I$&$d$ie(Be…

---

## [Problem trying to update multiple \<DIV\> elements with AJAX](https://www.ruby-forum.com/t/problem-trying-to-update-multiple-div-elements-with-ajax/63312)

<div class="topic-metadata">

**Author:** [@Adam\_R.schild](https://www.ruby-forum.com/u/Adam_R.schild)\
**Replies:** 3\
**Last updated:** [June 15, 2006, 5:27am UTC](https://www.ruby-forum.com/t/problem-trying-to-update-multiple-div-elements-with-ajax/63312 "2006-06-15T05:27:55Z")

</div>

I’ve been trying for days now to figure this out on my own, but I can’t, so this is my cry for help. Here’s my situation: I need to update multiple elements on a page, each with its own HTML, but I just can’t figure…

---

## [Back again; errors in depot app](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678)

<div class="topic-metadata">

**Author:** [@Dark\_A](https://www.ruby-forum.com/u/Dark_A)\
**Replies:** 3\
**Last updated:** [June 9, 2006, 12:33am UTC](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678 "2006-06-09T00:33:19Z")

</div>

Sorry, but this is a big one - after adding the Ajax portion of the Agile Web D. tutorial my page displays: Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher…

---

## [Find with belongs\_to -\> belongs\_to -\> belongs\_to](https://www.ruby-forum.com/t/find-with-belongs-to-belongs-to-belongs-to/61177)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 3\
**Last updated:** [May 21, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/find-with-belongs-to-belongs-to-belongs-to/61177 "2006-05-21T17:35:40Z")

</div>

I have 3 tables keywords (keywords attached to a file) files (info about the file) paths (path for the file) \[This is a legacy database, so I can’t change this\] keyword belongs\_to file and file belongs\_to path. User…

---

## [Plugin refresh time](https://www.ruby-forum.com/t/plugin-refresh-time/59752)

<div class="topic-metadata">

**Author:** [@anthonyrudgick](https://www.ruby-forum.com/u/anthonyrudgick)\
**Replies:** 3\
**Last updated:** [May 6, 2006, 4:09am UTC](https://www.ruby-forum.com/t/plugin-refresh-time/59752 "2006-05-06T04:09:22Z")

</div>

Hi there, I’m currently developing a plugin to do authentication and authorisation. In the init.rb file of the plugin I have this code:- $:.unshift File.expand\_path(File.join(File.dirname(FILE), ‘lib’)) require ‘ope…

---

## [Action mailer 'Content-Type' found without required MIME hea](https://www.ruby-forum.com/t/action-mailer-content-type-found-without-required-mime-hea/57723)

<div class="topic-metadata">

**Author:** [@Daan](https://www.ruby-forum.com/u/Daan)\
**Replies:** 0\
**Last updated:** [April 13, 2006, 1:01pm UTC](https://www.ruby-forum.com/t/action-mailer-content-type-found-without-required-mime-hea/57723 "2006-04-13T13:01:26Z")

</div>

In my application i use the actionmailer. When i send a message to myself my spamfilter noticed the following error MIME\_HEADER\_CTYPE\_ONLY ‘Content-Type’ found without required MIME headers AND MIME\_HTML\_NO\_CHARSET…

---

## [Ignoring Validations In An Admin Tool?](https://www.ruby-forum.com/t/ignoring-validations-in-an-admin-tool/56555)

<div class="topic-metadata">

**Author:** [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 5:39am UTC](https://www.ruby-forum.com/t/ignoring-validations-in-an-admin-tool/56555 "2006-04-01T05:39:55Z")

</div>

I have the following validation on and ‘Order’ model: validates\_presence\_of :order\_lines, :message =\> ‘missing one or more products.’, :on =\> :save Ok, great. An order has to have products. Ok. Problem is, there are …

---

## [Instiki on shared host?](https://www.ruby-forum.com/t/instiki-on-shared-host/54766)

<div class="topic-metadata">

**Author:** [@grrr](https://www.ruby-forum.com/u/grrr)\
**Replies:** 3\
**Last updated:** [March 18, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/instiki-on-shared-host/54766 "2006-03-18T15:31:45Z")

</div>

Anyone ever attempted this? My host is shared \*nix style with ruby 1.8.2. Is it possible to get it running under my public\_html folder?

---

## [Composite Key Support](https://www.ruby-forum.com/t/composite-key-support/54296)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 3\
**Last updated:** [March 1, 2006, 1:52pm UTC](https://www.ruby-forum.com/t/composite-key-support/54296 "2006-03-01T13:52:33Z")

</div>

Right now rails doesn’t support composite keys, that is id1, id2, and id3 are in the primary key of the table. Does anyone know if this is being discussed for future versions, or is it pretty much out of scope?

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

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