# Top

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

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

---

## [Tis the season n210 on ebay scamed](https://www.ruby-forum.com/t/tis-the-season-n210-on-ebay-scamed/214799)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 13, 2011, 10:25am UTC](https://www.ruby-forum.com/t/tis-the-season-n210-on-ebay-scamed/214799 "2011-12-13T10:25:42Z")

</div>

what a nice holiday surprise anyone else buy a n210 from seller “occupyonline” ? They sent a envelope with a CDROM of ubuntu and some paperwork on how to install!! I know it was a gamble as he had “0” feedback. It lo…

---

## [Passing non-input values to db](https://www.ruby-forum.com/t/passing-non-input-values-to-db/213476)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 4, 2011, 11:28am UTC](https://www.ruby-forum.com/t/passing-non-input-values-to-db/213476 "2011-11-04T11:28:17Z")

</div>

Hi Gurus, can you please let me know how to pass values dat are not taken as input to user to db.The below are the details. I have a model user (name:string email:string password:string role:string). Now I dont wan…

---

## [Custom action in Rails 3](https://www.ruby-forum.com/t/custom-action-in-rails-3/212082)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 22, 2011, 2:16pm UTC](https://www.ruby-forum.com/t/custom-action-in-rails-3/212082 "2011-09-22T14:16:41Z")

</div>

Hi, everyone. I’m working on a program in Rails 3.0.10 and it has a custom action, “run\_files”, that extracts data in files and saves it in database. When I clicked the link on the page, it returned an error page: …

---

## [Installing 1.9.3 using rvm](https://www.ruby-forum.com/t/installing-1-9-3-using-rvm/210916)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 21, 2011, 6:31am UTC](https://www.ruby-forum.com/t/installing-1-9-3-using-rvm/210916 "2011-08-21T06:31:43Z")

</div>

I am looking at two articles on installing 1.9.3. One says (Peter C.): rvm get head rvm reload rvm install 1.9.3-preview1 rvm use 1.9.3 I wouldn’t advise running an “rvm upgrade” at this time since it’s not prod…

---

## [How to integrate wxRuby to RubyMine?](https://www.ruby-forum.com/t/how-to-integrate-wxruby-to-rubymine/210313)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 7:00pm UTC](https://www.ruby-forum.com/t/how-to-integrate-wxruby-to-rubymine/210313 "2011-08-04T19:00:32Z")

</div>

I want to integrate wxRuby with RubyMine IDE so that I could write GUI apps. Please let me know how to integrate?

---

## [Class names in arrays](https://www.ruby-forum.com/t/class-names-in-arrays/204900)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 24, 2011, 11:49am UTC](https://www.ruby-forum.com/t/class-names-in-arrays/204900 "2011-03-24T11:49:46Z")

</div>

Is it a bad idea to use class names in a hash? eg coll = \[EcoCalendar,MarketForecast\]

---

## [Seeking guidance: writing effective tests for externally sourced data](https://www.ruby-forum.com/t/seeking-guidance-writing-effective-tests-for-externally-sourced-data/202455)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 30, 2011, 6:03am UTC](https://www.ruby-forum.com/t/seeking-guidance-writing-effective-tests-for-externally-sourced-data/202455 "2011-01-30T06:03:17Z")

</div>

So first, thanks in no small part to Marnen’s rants, I’ve become a complete RSpec / FactoryGirl / TDD convert. Hey, autotest coupled with Growl is the bee knees! And I’ve even started pushing builds out to Heroku to…

---

## [Behaviour of Thread#stop?](https://www.ruby-forum.com/t/behaviour-of-thread-stop/226133)

<div class="topic-metadata">

**Author:** [@SSXavier\_NoSSlleSS\_S](https://www.ruby-forum.com/u/SSXavier_NoSSlleSS_S)\
**Replies:** 3\
**Last updated:** [December 16, 2010, 12:35pm UTC](https://www.ruby-forum.com/t/behaviour-of-thread-stop/226133 "2010-12-16T12:35:54Z")

</div>

Hello dear Fellow Rubyists ! I’m currently struggling with Ruby threads, especially the #stop and #stop? methods. My program has two threads: a worker performing tasks and ultimately calling Thread.stop (it is suppo…

---

## [OR conditional usage behavior changed in 0.8.x?](https://www.ruby-forum.com/t/or-conditional-usage-behavior-changed-in-0-8-x/200155)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 7, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/or-conditional-usage-behavior-changed-in-0-8-x/200155 "2010-12-07T23:41:57Z")

</div>

Hi all, I used to be able to use the OR conditional this way: location = /(40x|50x).html { allow all; } It looks like I cannot use it anymore in 0.8.53 version. Can you please let me know what is the new type …

---

## [How the regular expression to match "//"?](https://www.ruby-forum.com/t/how-the-regular-expression-to-match/195081)

<div class="topic-metadata">

**Author:** [@imelody](https://www.ruby-forum.com/u/imelody)\
**Replies:** 3\
**Last updated:** [September 16, 2010, 4:36pm UTC](https://www.ruby-forum.com/t/how-the-regular-expression-to-match/195081 "2010-09-16T16:36:47Z")

</div>

In C/C++ language, can use “//” to comment,such as "//i++ " I want use ruby to distinguish the comment lines and code lines. but fail. : ( f.each do|line| puts line if line =~ /^////.\*/ puts “The line contain //.” …

---

## [Re: Getting my feet wet on the Tx side of the world](https://www.ruby-forum.com/t/re-getting-my-feet-wet-on-the-tx-side-of-the-world/194497)

<div class="topic-metadata">

**Author:** [@ikjtel](https://www.ruby-forum.com/u/ikjtel)\
**Replies:** 3\
**Last updated:** [September 6, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/re-getting-my-feet-wet-on-the-tx-side-of-the-world/194497 "2010-09-06T16:44:07Z")

</div>

The TX side of the project is still fairly primitive–they have a hand-coded flow-graph that implements an APCO-25 4-level FSK modulator, using an audio sink, and then carefully plugging the audio into the guts of a p…

---

## [Help: "500 Internal Server Error"](https://www.ruby-forum.com/t/help-500-internal-server-error/193525)

<div class="topic-metadata">

**Author:** [@jwigal](https://www.ruby-forum.com/u/jwigal)\
**Replies:** 3\
**Last updated:** [August 19, 2010, 7:25am UTC](https://www.ruby-forum.com/t/help-500-internal-server-error/193525 "2010-08-19T07:25:48Z")

</div>

Hi guys, I am a completely ruby & rails newbie. i have being struggling on this issue for almost 2 days, still can not figure out the problem. there are two websites i’m trying to set up a development environment on …

---

## [Assigning values of an object when it is created based on mysql queries](https://www.ruby-forum.com/t/assigning-values-of-an-object-when-it-is-created-based-on-mysql-queries/186167)

<div class="topic-metadata">

**Author:** [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Replies:** 3\
**Last updated:** [April 1, 2010, 3:34pm UTC](https://www.ruby-forum.com/t/assigning-values-of-an-object-when-it-is-created-based-on-mysql-queries/186167 "2010-04-01T15:34:39Z")

</div>

I want to use a value entered in by a user in an object’s form to look up another value in a reference table and assign that value to the corresponding attribute in the object. How do I do that? Right now I have in m…

---

## [Changing method behavior depending on context](https://www.ruby-forum.com/t/changing-method-behavior-depending-on-context/185815)

<div class="topic-metadata">

**Author:** [@maratk](https://www.ruby-forum.com/u/maratk)\
**Replies:** 3\
**Last updated:** [March 26, 2010, 11:35pm UTC](https://www.ruby-forum.com/t/changing-method-behavior-depending-on-context/185815 "2010-03-26T23:35:14Z")

</div>

Assume there is class A with method save which takes one param with default value (e.g. true). Class A instance gets save and behaves depending on true value. Assume there is class B with a field of type A. Calling sa…

---

## [Rubyzip not recognized in rails](https://www.ruby-forum.com/t/rubyzip-not-recognized-in-rails/185659)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 3\
**Last updated:** [March 24, 2010, 5:46pm UTC](https://www.ruby-forum.com/t/rubyzip-not-recognized-in-rails/185659 "2010-03-24T17:46:33Z")

</div>

First of all, Let me list my configurations: FreeBSD 8.0 Ruby 1.9.1p376 Rails 2.3.5 rubyzip 0.9.4 installed in /usr/local/lib/ruby19/gems/1.9/gems/ rubyzip-0.9.4 I have placed the following line inside Rails::Initi…

---

## [Help with Class definition and calling a Ruby Program](https://www.ruby-forum.com/t/help-with-class-definition-and-calling-a-ruby-program/185432)

<div class="topic-metadata">

**Author:** [@raperswil](https://www.ruby-forum.com/u/raperswil)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 11:18pm UTC](https://www.ruby-forum.com/t/help-with-class-definition-and-calling-a-ruby-program/185432 "2010-03-20T23:18:02Z")

</div>

All I am new to Ruby and to OO programming. I need to get the following done which I have written in a function:- def SplitCode(sCodeFile,sListFile) param1: file to extract code from param2: file list to verify with r…

---

## [Bypassing automatic STI generation](https://www.ruby-forum.com/t/bypassing-automatic-sti-generation/184988)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [March 11, 2010, 3:50pm UTC](https://www.ruby-forum.com/t/bypassing-automatic-sti-generation/184988 "2010-03-11T15:50:23Z")

</div>

Hi, Let’s say I have the following: Product \< AR Memberships \< Product I know that the product with id 10 has its type column set to “Membership”, but still I’d like to treat it as a regular product. So if I do: Pr…

---

## [Show parents subpages if on a subpage](https://www.ruby-forum.com/t/show-parents-subpages-if-on-a-subpage/183704)

<div class="topic-metadata">

**Author:** [@Lasse](https://www.ruby-forum.com/u/Lasse)\
**Replies:** 3\
**Last updated:** [February 19, 2010, 3:10pm UTC](https://www.ruby-forum.com/t/show-parents-subpages-if-on-a-subpage/183704 "2010-02-19T15:10:03Z")

</div>

I am trying to display subpages from the subpages parent on a subpage. The code between the lines doesn’t work for me. Does anyone has an idea what would be a better code? pages and subpages are in the same controller…

---

## [Documentation conventions](https://www.ruby-forum.com/t/documentation-conventions/183130)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 3\
**Last updated:** [February 8, 2010, 8:15pm UTC](https://www.ruby-forum.com/t/documentation-conventions/183130 "2010-02-08T20:15:29Z")

</div>

Hi there, I’ve been searching the web for some time now, but I can’t find any reasonable conventions on how to write Ruby documentations. There are some pages out there describing what’s the best way to write Ruby sou…

---

## [Bitrate doubt](https://www.ruby-forum.com/t/bitrate-doubt/181701)

<div class="topic-metadata">

**Author:** [@amarnath\_alapati](https://www.ruby-forum.com/u/amarnath_alapati)\
**Replies:** 3\
**Last updated:** [January 17, 2010, 12:37am UTC](https://www.ruby-forum.com/t/bitrate-doubt/181701 "2010-01-17T00:37:57Z")

</div>

hi folks, I am using BENCHMARK\_TX.PY, BENCHMARK\_RX.PY to test the transmission and reception of signals. I have doubts regarding the outpu that is appearing on the screen. gr\_fir\_fff: using SSE socket(PF\_PACKET, …

---

## [Suggestion for Ajax-Framework, for RoR](https://www.ruby-forum.com/t/suggestion-for-ajax-framework-for-ror/181514)

<div class="topic-metadata">

**Author:** [@sushi2k](https://www.ruby-forum.com/u/sushi2k)\
**Replies:** 3\
**Last updated:** [January 13, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/suggestion-for-ajax-framework-for-ror/181514 "2010-01-13T17:32:53Z")

</div>

Hello, I have build a table called Project, in RoR with Nested Sets (this means the table has a parent\_id, lft and rgt). This table has now several records of projects, that I have inserted via the console, and with …

---

## [The keepalive problem when using redirection in code](https://www.ruby-forum.com/t/the-keepalive-problem-when-using-redirection-in-code/177708)

<div class="topic-metadata">

**Author:** [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Replies:** 3\
**Last updated:** [October 22, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/the-keepalive-problem-when-using-redirection-in-code/177708 "2009-10-22T12:09:58Z")

</div>

the code is as the following: header-\>hash = 1; header-\>key.len = sizeof(“Location”) - 1; header-\>key.data=(u\_char ) “Location”; header-\>value.len = strlen(param-\>redirectUrl); header-\>value.data=(u\_char)param-\>redi…

---

## [Subclassing in module from top module?](https://www.ruby-forum.com/t/subclassing-in-module-from-top-module/177161)

<div class="topic-metadata">

**Author:** [@vo\_x](https://www.ruby-forum.com/u/vo_x)\
**Replies:** 3\
**Last updated:** [October 12, 2009, 7:32pm UTC](https://www.ruby-forum.com/t/subclassing-in-module-from-top-module/177161 "2009-10-12T19:32:19Z")

</div>

Hello everybody, I would like to have locally monkeypatched Hash in my module. I would expect that following example will work, however it doesn’t. How to do it correctly? irb(main):016:0\> module Foo irb(main):017:1\>…

---

## [Client-side javascript question](https://www.ruby-forum.com/t/client-side-javascript-question/172660)

<div class="topic-metadata">

**Author:** [@muckypup](https://www.ruby-forum.com/u/muckypup)\
**Replies:** 3\
**Last updated:** [July 25, 2009, 7:03pm UTC](https://www.ruby-forum.com/t/client-side-javascript-question/172660 "2009-07-25T19:03:54Z")

</div>

Hey I’m new to Rails, and I was wondering if there was a way to include custom javascript libraries in the HTML views? I’ve been searching for a while and can’t seem to find any way to do this. For example, I want to…

---

## [Tricky find on associated conditions](https://www.ruby-forum.com/t/tricky-find-on-associated-conditions/171728)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 3\
**Last updated:** [July 8, 2009, 10:53am UTC](https://www.ruby-forum.com/t/tricky-find-on-associated-conditions/171728 "2009-07-08T10:53:24Z")

</div>

My head is spinning a bit this morning - can somebody help me with this? Given these two models with the following associations: class Article \< ActiveRecord::Base belongs\_to :category has an attribute called “publi…

---

## [ActiveResource:: HttpMock](https://www.ruby-forum.com/t/activeresource-httpmock/170981)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 25, 2009, 3:53am UTC](https://www.ruby-forum.com/t/activeresource-httpmock/170981 "2009-06-25T03:53:26Z")

</div>

I’m trying to set up testing on my ActiveResource project. The HttpMock appears to be what I want, but whenever I use the code in the “documentation”, I get the error NameError: uninitialized constant ActiveResource:…

---

## [How does it score?](https://www.ruby-forum.com/t/how-does-it-score/168153)

<div class="topic-metadata">

**Author:** [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 1:02am UTC](https://www.ruby-forum.com/t/how-does-it-score/168153 "2009-05-17T01:02:46Z")

</div>

Hi, how do I find out what ferret actually does? My program works fine: qp = QueryParser.new(:default\_field =\> :title) index.search\_each(qp.parse(“Some words”)) Now it seems that this way not all terms are required, …

---

## [A problem http POST params](https://www.ruby-forum.com/t/a-problem-http-post-params/167796)

<div class="topic-metadata">

**Author:** [@Learning](https://www.ruby-forum.com/u/Learning)\
**Replies:** 3\
**Last updated:** [May 13, 2009, 11:06am UTC](https://www.ruby-forum.com/t/a-problem-http-post-params/167796 "2009-05-13T11:06:20Z")

</div>

this is my HTML: and the form\_controller: class FormController \< ApplicationController def index @username=params\[:username\] end end what’s wrong about this? it works with GET method. but the API shows that pa…

---

## [Why inconsistent validation with .new?](https://www.ruby-forum.com/t/why-inconsistent-validation-with-new/166904)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 3\
**Last updated:** [April 30, 2009, 7:54pm UTC](https://www.ruby-forum.com/t/why-inconsistent-validation-with-new/166904 "2009-04-30T19:54:54Z")

</div>

(Rails 2.3.2, OS X 10.5, MySQL 5.0.x) I’m seeing some odd behavior that makes no sense to me with respect to adding new empty records to an ActiveRecord object. Assuming (shortened for email): class Article \< AR::Ba…

---

## [Where do helper for a controller go?](https://www.ruby-forum.com/t/where-do-helper-for-a-controller-go/166270)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [April 24, 2009, 1:54am UTC](https://www.ruby-forum.com/t/where-do-helper-for-a-controller-go/166270 "2009-04-24T01:54:08Z")

</div>

Hey, I just wanna make sure I’m right… I need to DRY my controller that’s why I put the code of 2 different actions into one action but I’m not sure where to put it… in the controller under private? in the helper? in…

---

## [Problems with Rails and Postgres](https://www.ruby-forum.com/t/problems-with-rails-and-postgres/165722)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 3\
**Last updated:** [April 20, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/problems-with-rails-and-postgres/165722 "2009-04-20T19:25:12Z")

</div>

Hi all, i have a method that I use in the ‘after\_save’ that is implemented as follows: def verify a =11674 x = self.aui\_codigo reinc =AutoInfracao.find\_by\_sql("select age((select aui\_data\_lav from tb\_aui\_auto\_i…

---

## [Rails 2.3.2 bug? Detecting changed fields](https://www.ruby-forum.com/t/rails-2-3-2-bug-detecting-changed-fields/164379)

<div class="topic-metadata">

**Author:** [@Meech](https://www.ruby-forum.com/u/Meech)\
**Replies:** 3\
**Last updated:** [March 31, 2009, 5:44pm UTC](https://www.ruby-forum.com/t/rails-2-3-2-bug-detecting-changed-fields/164379 "2009-03-31T17:44:58Z")

</div>

I have a text field in the database, lets call it log. If I do something like this: x = MyModel.find(1) x.log \<\< “append some text” x.save Nothing is saved. If I do something like this: x = MyModel.find(1) x.log…

---

## [Multiple index rebuilds called if use mongrel cluster?](https://www.ruby-forum.com/t/multiple-index-rebuilds-called-if-use-mongrel-cluster/156175)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 5:56am UTC](https://www.ruby-forum.com/t/multiple-index-rebuilds-called-if-use-mongrel-cluster/156175 "2008-12-22T05:56:14Z")

</div>

I use aaf and ferret drb server and one of our indexes is quite large. In the case that I need to rebuild it this can take up to several minutes. The problem I have is that it appears that if you have a mongrel cluste…

---

## [Ruby based Discussion forum](https://www.ruby-forum.com/t/ruby-based-discussion-forum/155874)

<div class="topic-metadata">

**Author:** [@rubydevl](https://www.ruby-forum.com/u/rubydevl)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/ruby-based-discussion-forum/155874 "2008-12-18T22:45:54Z")

</div>

Hello All- I’m looking for a ruby based discussion forum(BB) software to integrate with my project. The ones I’ve seen are RubyBB and Thetis Open-Source Groupware. What are your thoughts on the above products and …

---

## [KirbyBase, Table Default Values not being assigned](https://www.ruby-forum.com/t/kirbybase-table-default-values-not-being-assigned/153341)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 12:48pm UTC](https://www.ruby-forum.com/t/kirbybase-table-default-values-not-being-assigned/153341 "2008-11-25T12:48:05Z")

</div>

Hi Ive been using KirbyBase and got it up and working and been fine with basic stuff such as inserting and selecting. I create my own record class as well to retrieve and pass data to the table. The problem is with us…

---

## [Problem with inheritance and find](https://www.ruby-forum.com/t/problem-with-inheritance-and-find/153054)

<div class="topic-metadata">

**Author:** [@joserwan](https://www.ruby-forum.com/u/joserwan)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/problem-with-inheritance-and-find/153054 "2008-11-11T21:04:21Z")

</div>

Hi, I’ve got 3 classes : class Person \< ActiveRecord:Base end class Man \< Person end class Father \< Man end When I call Man.all, I expect to have men and fathers, but I don’t. When I call Person.all, I have peop…

---

## [Ruby on Rails Updates](https://www.ruby-forum.com/t/ruby-on-rails-updates/145801)

<div class="topic-metadata">

**Author:** [@MrSWatson](https://www.ruby-forum.com/u/MrSWatson)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-updates/145801 "2008-08-14T16:20:07Z")

</div>

Hello everyone, Ruby on Rails updates often confusing me, personally. (I hope I am not the only one). So what I am saying is “Is there a web site or a reference indicating what is in the new updates?” The commands ha…

---

## [Consiglio MAC](https://www.ruby-forum.com/t/consiglio-mac/145192)

<div class="topic-metadata">

**Author:** [@alipanick](https://www.ruby-forum.com/u/alipanick)\
**Replies:** 3\
**Last updated:** [August 9, 2008, 10:46am UTC](https://www.ruby-forum.com/t/consiglio-mac/145192 "2008-08-09T10:46:47Z")

</div>

Ciao a tutti, anche se questo non è il luogo ufficiale adatto per la richiesta di un consiglio del genere, diciamo che qui mi “sento a casa” quindi vi sparo la mia richiesta di consiglio. Da sempre appassionato ed u…

---

## [Regexp with gaps](https://www.ruby-forum.com/t/regexp-with-gaps/143019)

<div class="topic-metadata">

**Author:** [@egrasso](https://www.ruby-forum.com/u/egrasso)\
**Replies:** 3\
**Last updated:** [July 15, 2008, 11:16am UTC](https://www.ruby-forum.com/t/regexp-with-gaps/143019 "2008-07-15T11:16:02Z")

</div>

Hi, I need to find the position of some substrings inside of a long string. For this I’m using a loop that uses str.index(pattern, (last\_found\_position+1)) so I find all positions where the pattern matches. The patter…

---

## [So I"m sure someone has come across this before...but how do you fix the gem\_original\_require probl](https://www.ruby-forum.com/t/so-i-m-sure-someone-has-come-across-this-before-but-how-do-you-fix-the-gem-original-require-probl/139832)

<div class="topic-metadata">

**Author:** [@ron](https://www.ruby-forum.com/u/ron)\
**Replies:** 3\
**Last updated:** [June 8, 2008, 12:36pm UTC](https://www.ruby-forum.com/t/so-i-m-sure-someone-has-come-across-this-before-but-how-do-you-fix-the-gem-original-require-probl/139832 "2008-06-08T12:36:11Z")

</div>

I get this when trying to install gems: /usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in \`gem\_original\_require’: no such file to load – rdoc/rdoc (LoadError) The trouble is, I also get it when trying to i…

---

## [Cluster shutdown on web farm when using clustered filesystem](https://www.ruby-forum.com/t/cluster-shutdown-on-web-farm-when-using-clustered-filesystem/139666)

<div class="topic-metadata">

**Author:** [@fjlj](https://www.ruby-forum.com/u/fjlj)\
**Replies:** 0\
**Last updated:** [June 5, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/cluster-shutdown-on-web-farm-when-using-clustered-filesystem/139666 "2008-06-05T22:14:20Z")

</div>

Hi, I have a number of servers running mongrel cluster all of whom feed off of a shared filesystem (OCFS2). Each cluster has its own mongrel\_cluster\_web2.yml file with distinct PID and Log file names. In theory the…

---

## [6 & Rational(7,2)](https://www.ruby-forum.com/t/6-rational-7-2/137355)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 2:58am UTC](https://www.ruby-forum.com/t/6-rational-7-2/137355 "2008-05-13T02:58:45Z")

</div>

e$B0J2\<$N$h$&$K!“e(B6 & Rational(7,2) e$B$Oe(B 2 e$B$K$J$j$^$9$,!”:81&$rF~e(B e$B$l49$($Fe(B Rational(7,2) & 6 e$B$J$i%(%i!\<$K$J$j$^$9!#e(B e$B$3$l$O0U?^$5$l$?5sF0$G$7$g$&$+!#e(B % ./ruby -ve ‘p 6 & Rational(7,2)’ r…

---

## [Issue running watir on 64 bit winxp](https://www.ruby-forum.com/t/issue-running-watir-on-64-bit-winxp/134739)

<div class="topic-metadata">

**Author:** [@jdrietz](https://www.ruby-forum.com/u/jdrietz)\
**Replies:** 3\
**Last updated:** [May 3, 2008, 12:40am UTC](https://www.ruby-forum.com/t/issue-running-watir-on-64-bit-winxp/134739 "2008-05-03T00:40:58Z")

</div>

I am having an issue running watir test scripts on 64 bit winxp that were previously working on 32 bit winxp (both envs 32 bit using IE7). Whenever the test script is run, it returns this error: ruby Test.rb (eval):…

---

## [Multi-dimensional arrays to 2-dimensional arrays](https://www.ruby-forum.com/t/multi-dimensional-arrays-to-2-dimensional-arrays/135857)

<div class="topic-metadata">

**Author:** [@Wirianto\_Djunaidi](https://www.ruby-forum.com/u/Wirianto_Djunaidi)\
**Replies:** 3\
**Last updated:** [April 29, 2008, 9:32am UTC](https://www.ruby-forum.com/t/multi-dimensional-arrays-to-2-dimensional-arrays/135857 "2008-04-29T09:32:26Z")

</div>

Hi, I have a recursive method that aggregates data in the form of 2-dimensional arrays. The problem is at the top of the recursion call, I ended up with multi-dimensional arrays which depend on how deep the recursi…

---

## [Create module dynamically](https://www.ruby-forum.com/t/create-module-dynamically/135748)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 3\
**Last updated:** [April 25, 2008, 9:43am UTC](https://www.ruby-forum.com/t/create-module-dynamically/135748 "2008-04-25T09:43:14Z")

</div>

Hi All, I wanna create module dynamically please help me with some code examples how can i do this. whenever i call a function then one module should be created dynamically with some functions. Please Help… Thanks …

---

## [Drag and Drop Problems](https://www.ruby-forum.com/t/drag-and-drop-problems/135500)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 3\
**Last updated:** [April 22, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/drag-and-drop-problems/135500 "2008-04-22T19:06:50Z")

</div>

I’m working with the Drag and Drop Example that appears in AWD and various other places. The problem that I’m having right now is that I can’t grab and drag my objects. I get Javascript errors in Firebug that say Dra…

---

## [Errors When Attempting "irb"](https://www.ruby-forum.com/t/errors-when-attempting-irb/133098)

<div class="topic-metadata">

**Author:** [@jacobly](https://www.ruby-forum.com/u/jacobly)\
**Replies:** 3\
**Last updated:** [March 29, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/errors-when-attempting-irb/133098 "2008-03-29T19:10:01Z")

</div>

I am unable to use ruby’s interactive shell because of this ugly thing: dyld: NSLinkModule() error dyld: Symbol not found: \_rl\_filename\_completion\_function Referenced from: /usr/local/lib/ruby/1.8/i686-darwin9.2.2/re…

---

## [Rake task for stories](https://www.ruby-forum.com/t/rake-task-for-stories/129984)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 3\
**Last updated:** [February 24, 2008, 12:10am UTC](https://www.ruby-forum.com/t/rake-task-for-stories/129984 "2008-02-24T00:10:04Z")

</div>

Any reason why there isn’t a rake task for stories yet? (I’m looking in trunk) Someone want to share theirs? Joe

---

## [Auth\_generator 2.0.1 on the way](https://www.ruby-forum.com/t/auth-generator-2-0-1-on-the-way/65595)

<div class="topic-metadata">

**Author:** [@Fabien\_P](https://www.ruby-forum.com/u/Fabien_P)\
**Replies:** 3\
**Last updated:** [December 23, 2007, 12:02am UTC](https://www.ruby-forum.com/t/auth-generator-2-0-1-on-the-way/65595 "2007-12-23T00:02:09Z")

</div>

Dear rails users, I’ve released a 2.0.1 version of the auth\_generator. The auth\_generator offers an admin interface as well as other features like gravatar support, theme support, a group like support (we call it dom…

---

## [Outputting file sizes of each item in a directory (error)](https://www.ruby-forum.com/t/outputting-file-sizes-of-each-item-in-a-directory-error/120032)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 3\
**Last updated:** [November 13, 2007, 8:36am UTC](https://www.ruby-forum.com/t/outputting-file-sizes-of-each-item-in-a-directory-error/120032 "2007-11-13T08:36:07Z")

</div>

code: Dir.foreach(“bad”) do |f| puts “#{f}: #{File.size f}” end Each filename in the directory “bad” is displayed along with the file size. I know the file.size works because I tried it with an static name and disp…

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

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