# Top

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

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

---

## [Passing ruby variable via remote\_function (JavaScript)](https://www.ruby-forum.com/t/passing-ruby-variable-via-remote-function-javascript/63867)

<div class="topic-metadata">

**Author:** [@richiebaby](https://www.ruby-forum.com/u/richiebaby)\
**Replies:** 3\
**Last updated:** [January 22, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/passing-ruby-variable-via-remote-function-javascript/63867 "2006-01-22T15:56:11Z")

</div>

Hi, Brand new to this so please excuse anything obvious that I don’t yet get. Here’s what I’m trying to do (This is all in a .rhtml file): As a simple test I create a local variable called ‘localVariable’ and give i…

---

## [Singleton class - instance or class variables?](https://www.ruby-forum.com/t/singleton-class-instance-or-class-variables/50694)

<div class="topic-metadata">

**Author:** [@Caleb\_T](https://www.ruby-forum.com/u/Caleb_T)\
**Replies:** 3\
**Last updated:** [December 20, 2005, 3:50am UTC](https://www.ruby-forum.com/t/singleton-class-instance-or-class-variables/50694 "2005-12-20T03:50:12Z")

</div>

When using a singleton class (one that includes Singleton, not an eigenclass), can anyone think of any advantage/disadvantage to using class variables over instance variables (or visa versa) to access data in the clas…

---

## [DRb Questions](https://www.ruby-forum.com/t/drb-questions/100114)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 3\
**Last updated:** [November 23, 2005, 4:26am UTC](https://www.ruby-forum.com/t/drb-questions/100114 "2005-11-23T04:26:54Z")

</div>

I’ve seen a couple of tutorials now claim that both sides need access to all classes used by client and server, but that’s just a half truth, right? I’m needing to build a client class that just defines an API, then …

---

## [Help for rails app controller](https://www.ruby-forum.com/t/help-for-rails-app-controller/235781)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [July 16, 2013, 9:00am UTC](https://www.ruby-forum.com/t/help-for-rails-app-controller/235781 "2013-07-16T09:00:29Z")

</div>

hi, im a new rails developper, and i try to create an action into a controller to do something like that: when u user purshase an item, his godparent (user contact) will receive money. i create the purshase controll…

---

## [Long conditionals/ multiple conditionals](https://www.ruby-forum.com/t/long-conditionals-multiple-conditionals/235404)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 21, 2013, 5:56am UTC](https://www.ruby-forum.com/t/long-conditionals-multiple-conditionals/235404 "2013-06-21T05:56:11Z")

</div>

Hi everyone! I am new to Ruby so I need help. Much appreciated! My problem is this code right here: puts “Heeeyyyy! I see you baby, can a G get to know yah?” reply = gets.chomp if reply == “no”.to\_s or “hell no”.to\_…

---

## [Number of users of GNURadio](https://www.ruby-forum.com/t/number-of-users-of-gnuradio/227214)

<div class="topic-metadata">

**Author:** [@juan](https://www.ruby-forum.com/u/juan)\
**Replies:** 4\
**Last updated:** [March 7, 2013, 10:02pm UTC](https://www.ruby-forum.com/t/number-of-users-of-gnuradio/227214 "2013-03-07T22:02:24Z")

</div>

Hi everyone, I need to find out the aprox size of the community how many people is in the mail list? how many downloads of gnuradio have occurred? any data related would be appreciated Many thanks :slight\_smile: E…

---

## [Limitations](https://www.ruby-forum.com/t/limitations/225726)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 26, 2013, 9:59pm UTC](https://www.ruby-forum.com/t/limitations/225726 "2013-01-26T21:59:27Z")

</div>

Hi, Is there any way to somehow redefine operations like ‘&&’ between my objects? ‘&&’ is not defined as a method so I can’t just overload it. (Ruby does not care if an object responds to :&&, it is simply not used…

---

## [What does this code do?](https://www.ruby-forum.com/t/what-does-this-code-do/221453)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 17, 2012, 12:53pm UTC](https://www.ruby-forum.com/t/what-does-this-code-do/221453 "2012-07-17T12:53:20Z")

</div>

I’m reading through a tutorial and found a solution for it (because I’m stuck), but I don’t understand some code, so I was hoping someone could shed some light on it: USERNAME\_REGEX = /@\\w+/i class Micropost \< Active…

---

## [Problems while using UHD based API's](https://www.ruby-forum.com/t/problems-while-using-uhd-based-apis/211496)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 6, 2011, 6:13am UTC](https://www.ruby-forum.com/t/problems-while-using-uhd-based-apis/211496 "2011-09-06T06:13:53Z")

</div>

Yesterday I installed GnuRadio with Marcus script in some PC’s.Burnt the SD card with images in the folder /usr/local/share/uhd/images and uhd\_find\_devices found all my 3 usrp2. But when I tried to run uhd\_fft it di…

---

## [Question about Ruby Gems](https://www.ruby-forum.com/t/question-about-ruby-gems/209617)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 19, 2011, 4:26pm UTC](https://www.ruby-forum.com/t/question-about-ruby-gems/209617 "2011-07-19T16:26:35Z")

</div>

Am I wrong in the understanding that the ruby gems that add functionality to ruby do it by wrapping c programs with ruby syntax somehow. And if this is the case is there much of a difference between using a gem like R…

---

## [Ignore Segmentation fault?](https://www.ruby-forum.com/t/ignore-segmentation-fault/209553)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 17, 2011, 8:32pm UTC](https://www.ruby-forum.com/t/ignore-segmentation-fault/209553 "2011-07-17T20:32:29Z")

</div>

When I run a cron, using whenever gem, the script is executed but I get an error saying its a “\[BUG\] Segmentation fault” and I get a rather big core file in my app each time. Can I ignore it? If yes I can just delete …

---

## [Scusate l'Off-Topic](https://www.ruby-forum.com/t/scusate-loff-topic/195293)

<div class="topic-metadata">

**Author:** [@chenshin](https://www.ruby-forum.com/u/chenshin)\
**Replies:** 4\
**Last updated:** [September 21, 2010, 2:34pm UTC](https://www.ruby-forum.com/t/scusate-loff-topic/195293 "2010-09-21T14:34:53Z")

</div>

raga , scusate l’off-topic ma sto impazzendo…mi sono ritrovato un frammento di codice di questo tipo : read a,b z \<- 100 while ( a \> 0 ) do \_\_\_a \<- a + 1 \_\_\_z \<- z + b \_\_\_a \<- a - 2 write z ma di che linguaggio si tr…

---

## [$B%F%9%HBP\>\]$r(B 2 $B$D;XDj$9$k$HMn$A$k(B](https://www.ruby-forum.com/t/b-f-9-hbp-r-b-2-b-d-xdj-9-k-hmn-a-k-b/186385)

<div class="topic-metadata">

**Author:** [@KISHIMOTOS\_Makoto](https://www.ruby-forum.com/u/KISHIMOTOS_Makoto)\
**Replies:** 4\
**Last updated:** [April 6, 2010, 7:35am UTC](https://www.ruby-forum.com/t/b-f-9-hbp-r-b-2-b-d-xdj-9-k-hmn-a-k-b/186385 "2010-04-06T07:35:58Z")

</div>

e$B$-$7$b$H$G$9e(B amd64 FreeBSD8 e$B$G!"e(Bruby e$B$Oe(B trunk e$B$G$9!#%S%k%IMQ$N%G%#%l%/%H%j$r7!$C$Fe(B e$B%S%k%I$7$F$$$^$9!#e(B e$B0J2\<$N$h$&$K!"%F%9%HBP\>\]$re(B 2 e$B$D;XDj$9$k$HMn$A$^$9!#e(B1 e$B$De(B e$B$^$?$O…

---

## [Can you configure multiple email accounts?](https://www.ruby-forum.com/t/can-you-configure-multiple-email-accounts/176918)

<div class="topic-metadata">

**Author:** [@charliep](https://www.ruby-forum.com/u/charliep)\
**Replies:** 4\
**Last updated:** [October 8, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/can-you-configure-multiple-email-accounts/176918 "2009-10-08T19:22:42Z")

</div>

Hi, I have a rails app which sends email via gmail; working great. I’m next looking to set up multiple gmail accounts. I want action A to generate an email from gmail account A … and action B to generate an email fro…

---

## [Heroku gem and two different heroku accounts](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334)

<div class="topic-metadata">

**Author:** [@anton](https://www.ruby-forum.com/u/anton)\
**Replies:** 4\
**Last updated:** [September 11, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334 "2009-09-11T20:08:42Z")

</div>

Heroku support works so slowly I want to ask community. 1)I have a problem with switching between my two heroku accounts on the same laptop. All of the commands execute from one of these, but I want to execute it from…

---

## [Search keywords inside of directories and files](https://www.ruby-forum.com/t/search-keywords-inside-of-directories-and-files/174221)

<div class="topic-metadata">

**Author:** [@ahmet](https://www.ruby-forum.com/u/ahmet)\
**Replies:** 4\
**Last updated:** [August 27, 2009, 8:30am UTC](https://www.ruby-forum.com/t/search-keywords-inside-of-directories-and-files/174221 "2009-08-27T08:30:22Z")

</div>

I need some help about keywords searching in directory and files. I have a directory dirs–a |–b |–c and files a–\>a1.txt |–\>a2.txt |–\>a3.txt I can lsit all files and directories like this, require ‘find’ dirs…

---

## [MVC, best practice for hash that combines objects?](https://www.ruby-forum.com/t/mvc-best-practice-for-hash-that-combines-objects/167902)

<div class="topic-metadata">

**Author:** [@arcX](https://www.ruby-forum.com/u/arcX)\
**Replies:** 4\
**Last updated:** [May 14, 2009, 9:07am UTC](https://www.ruby-forum.com/t/mvc-best-practice-for-hash-that-combines-objects/167902 "2009-05-14T09:07:04Z")

</div>

Hi, I just wanted to see if I am on the right track, as I am new to MVC. I have a model called Tasks, and another called Entries. Tasks has many entries. Each entry has a time. So I want to total up the time entries …

---

## [Implementing ruby-openid 2.1.6 using TDD](https://www.ruby-forum.com/t/implementing-ruby-openid-2-1-6-using-tdd/167786)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [May 13, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/implementing-ruby-openid-2-1-6-using-tdd/167786 "2009-05-13T16:45:44Z")

</div>

I’m trying to implement ruby-openid 2.1.6 using TDD. Many of the resources I’ve been using to research the plugin open\_id\_authentication and RESTful-authentication were written back in 2007 and don’t work, and also do…

---

## [Strange result from to\_a](https://www.ruby-forum.com/t/strange-result-from-to-a/165208)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 4\
**Last updated:** [April 10, 2009, 12:57pm UTC](https://www.ruby-forum.com/t/strange-result-from-to-a/165208 "2009-04-10T12:57:29Z")

</div>

I had unexpected results and could not figure out why puts (" “…”~").to\_a.inspect returns results of " " thru “9” m = \[\] (" “\[0\]…”~"\[0\]).to\_a.each{|c| m \<\< c.chr} puts m.inspect Is a longwinded way of getting the s…

---

## [Cannot migrate back](https://www.ruby-forum.com/t/cannot-migrate-back/163551)

<div class="topic-metadata">

**Author:** [@luma](https://www.ruby-forum.com/u/luma)\
**Replies:** 4\
**Last updated:** [March 21, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/cannot-migrate-back/163551 "2009-03-21T22:11:56Z")

</div>

hi, I can’t run back my migrations on Ubuntu: rake db:migrate works as expected. I.e. after that, schema\_migrations includes some numbers. Then I run this in ubuntu’s terminal: user@ubuntu:~/project/src$ rake db:migr…

---

## [Is this possible in Ruby](https://www.ruby-forum.com/t/is-this-possible-in-ruby/159276)

<div class="topic-metadata">

**Author:** [@ther](https://www.ruby-forum.com/u/ther)\
**Replies:** 4\
**Last updated:** [February 3, 2009, 11:06am UTC](https://www.ruby-forum.com/t/is-this-possible-in-ruby/159276 "2009-02-03T11:06:41Z")

</div>

Just an idea which may come in handy. Can this be done and how in Ruby. def calc(what) some\_eval(what) end a=10 b=12 calc(‘a+b’) # expression as parameters =\> 12 # would return a=‘aa’ b=‘bb’ calc(‘a+b’) =\> ‘…

---

## [Authenticating users on different sources](https://www.ruby-forum.com/t/authenticating-users-on-different-sources/157179)

<div class="topic-metadata">

**Author:** [@jtibu](https://www.ruby-forum.com/u/jtibu)\
**Replies:** 4\
**Last updated:** [January 9, 2009, 2:26am UTC](https://www.ruby-forum.com/t/authenticating-users-on-different-sources/157179 "2009-01-09T02:26:35Z")

</div>

Hi there folks! I need to authenticate users on different sources (for instance, local database and Active Directory), and make registration (on local db) possible for users who don’t have an AD account… For the db …

---

## [Ruby vs SELF](https://www.ruby-forum.com/t/ruby-vs-self/154998)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [December 6, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/ruby-vs-self/154998 "2008-12-06T14:50:12Z")

</div>

What are the main differences between Ruby and SELF in day-to-day work with creating “software”? I.e. I have read the description of SELF, but I felt that I wouldnt need SELF if I just learn it because I want to see w…

---

## [Parse tree for 1.9](https://www.ruby-forum.com/t/parse-tree-for-1-9/150584)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [October 10, 2008, 10:35am UTC](https://www.ruby-forum.com/t/parse-tree-for-1-9/150584 "2008-10-10T10:35:41Z")

</div>

Anybody know if there is anything like parse\_tree for 1.9? Thanks! -=R

---

## [Serialize object and store into database](https://www.ruby-forum.com/t/serialize-object-and-store-into-database/134417)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 4\
**Last updated:** [September 18, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/serialize-object-and-store-into-database/134417 "2008-09-18T16:01:14Z")

</div>

Hi all, I want to serialize an object and store it into the database. This seems a trivial task but Google gives me no useful hints. Can someone please give me a little help on what methods I can use to serialize and…

---

## [Has\_and\_belong\_to\_many relation](https://www.ruby-forum.com/t/has-and-belong-to-many-relation/146515)

<div class="topic-metadata">

**Author:** [@pipex](https://www.ruby-forum.com/u/pipex)\
**Replies:** 4\
**Last updated:** [August 22, 2008, 4:41pm UTC](https://www.ruby-forum.com/t/has-and-belong-to-many-relation/146515 "2008-08-22T16:41:47Z")

</div>

First of all i have a conceptual doubt, I have 2 tables, post and user and both have many to many relation. Ok i do put in both models Post Model has\_and\_belongs\_to\_many :users Users Model has\_and\_belongs\_to\_many :…

---

## [IIS Deployment](https://www.ruby-forum.com/t/iis-deployment/140936)

<div class="topic-metadata">

**Author:** [@jcain](https://www.ruby-forum.com/u/jcain)\
**Replies:** 4\
**Last updated:** [June 20, 2008, 12:38am UTC](https://www.ruby-forum.com/t/iis-deployment/140936 "2008-06-20T00:38:09Z")

</div>

Hello All, I have a Ruby on Rails codebase that is only partially completed. Due to circumstances beyond my control, the production server must be IIS, and there is absolutely no way to change this. Deployment is c…

---

## [Where is the ActiveRecord Oracle Adapter with 2.1?](https://www.ruby-forum.com/t/where-is-the-activerecord-oracle-adapter-with-2-1/139465)

<div class="topic-metadata">

**Author:** [@nwiger](https://www.ruby-forum.com/u/nwiger)\
**Replies:** 4\
**Last updated:** [June 5, 2008, 1:08am UTC](https://www.ruby-forum.com/t/where-is-the-activerecord-oracle-adapter-with-2-1/139465 "2008-06-05T01:08:44Z")

</div>

I tried this, which worked before: sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org –no-ri --no-rdoc But all I get is: ERROR: could not find activerecord-oracle-adapter locally or i…

---

## [Console syntax](https://www.ruby-forum.com/t/console-syntax/128464)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 4\
**Last updated:** [February 9, 2008, 5:35am UTC](https://www.ruby-forum.com/t/console-syntax/128464 "2008-02-09T05:35:48Z")

</div>

What’s the syntax for something like: f=Foo.(id==1) Here’s what I’ve tried: thufir@arrakis ~/goodfellow-tool $ thufir@arrakis ~/goodfellow-tool $ script/console Loading development environment. Call.find :all =\> …

---

## [Parsing poorly written XML](https://www.ruby-forum.com/t/parsing-poorly-written-xml/126989)

<div class="topic-metadata">

**Author:** [@cghost](https://www.ruby-forum.com/u/cghost)\
**Replies:** 4\
**Last updated:** [January 24, 2008, 5:00am UTC](https://www.ruby-forum.com/t/parsing-poorly-written-xml/126989 "2008-01-24T05:00:59Z")

</div>

I’ve found an application which dumps all the registry settings for installed applications into an .xml file for me (you can find it as “myuninstall” via google). I can’t figure out the ruby code I need from REXML to …

---

## [Feeding the framework?](https://www.ruby-forum.com/t/feeding-the-framework/117623)

<div class="topic-metadata">

**Author:** [@Keith\_McDonnell](https://www.ruby-forum.com/u/Keith_McDonnell)\
**Replies:** 4\
**Last updated:** [October 19, 2007, 1:42pm UTC](https://www.ruby-forum.com/t/feeding-the-framework/117623 "2007-10-19T13:42:38Z")

</div>

Hi there, Is it just me or do many other rspec / rpsec\_on\_rails users spend more time than they would like feeding the framework ? Don’t get me wrong, I love rpsec, but I seem to spend about 2/3 hours per week huntin…

---

## [\[semi-OT\] troppo hype/libri/eventi](https://www.ruby-forum.com/t/semi-ot-troppo-hype-libri-eventi/116863)

<div class="topic-metadata">

**Author:** [@cpecchia](https://www.ruby-forum.com/u/cpecchia)\
**Replies:** 4\
**Last updated:** [October 17, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/semi-ot-troppo-hype-libri-eventi/116863 "2007-10-17T15:47:21Z")

</div>

Tempo fa ho visto una simpatica fotografia che illustrava molto bene, IMHO, la differenza (per gli sviluppatori) tra l’ambiente Java e quello (nascente) di Rails: una pila di libri Java (una decina: Java2SE, Java2EE, …

---

## [Duda con acts as authenticated](https://www.ruby-forum.com/t/duda-con-acts-as-authenticated/110410)

<div class="topic-metadata">

**Author:** [@carakan](https://www.ruby-forum.com/u/carakan)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 12:50am UTC](https://www.ruby-forum.com/t/duda-con-acts-as-authenticated/110410 "2007-07-27T00:50:51Z")

</div>

Hola soy un apasionado en el desarrollo de ruby on rails y al estar desarrollando un sistema pasa que neceso un sistema de login y encontre a acts as authenticated, lo hice funcionar pero me entro una duda la que es s…

---

## [Model not updating](https://www.ruby-forum.com/t/model-not-updating/110238)

<div class="topic-metadata">

**Author:** [@kusako](https://www.ruby-forum.com/u/kusako)\
**Replies:** 4\
**Last updated:** [July 26, 2007, 5:58pm UTC](https://www.ruby-forum.com/t/model-not-updating/110238 "2007-07-26T17:58:34Z")

</div>

Hi, I’ve just found myself in charge of maintaining and developing a rails web application at my company. It’s a newbish question as I have pretty much no experience with rails before. The problem is that although I …

---

## [Optimizing Rails Code](https://www.ruby-forum.com/t/optimizing-rails-code/109663)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 4\
**Last updated:** [July 18, 2007, 6:28am UTC](https://www.ruby-forum.com/t/optimizing-rails-code/109663 "2007-07-18T06:28:39Z")

</div>

Hello, I often find myself creating and retrieving ActiveRecord objects that barely get used, unaware of perhaps a better way of database interaction within Rails. Are there more efficient ways to do some of the foll…

---

## [Can i abbreviate this expression to fit on one line?](https://www.ruby-forum.com/t/can-i-abbreviate-this-expression-to-fit-on-one-line/105704)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 4\
**Last updated:** [June 1, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/can-i-abbreviate-this-expression-to-fit-on-one-line/105704 "2007-06-01T16:58:24Z")

</div>

Hey there, i am wondering if there is a way i can fit this on one line if x \> 23: next end thanks

---

## [Problemas con test funcional](https://www.ruby-forum.com/t/problemas-con-test-funcional/103464)

<div class="topic-metadata">

**Author:** [@HSSSSctor](https://www.ruby-forum.com/u/HSSSSctor)\
**Replies:** 4\
**Last updated:** [May 7, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/problemas-con-test-funcional/103464 "2007-05-07T20:44:33Z")

</div>

Hola a todos, Tengo un filtro para una autenticaciÃ³n bÃ¡sica, la del Agile, que redirige en caso de que no envÃ­en el id del usuario como variable de sesiÃ³n. Este es: def authorize @p=Person.find\_by\_id(session\[:pe…

---

## [Representing a complex object](https://www.ruby-forum.com/t/representing-a-complex-object/88552)

<div class="topic-metadata">

**Author:** [@chandra\_shekhar\_G](https://www.ruby-forum.com/u/chandra_shekhar_G)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 10:47am UTC](https://www.ruby-forum.com/t/representing-a-complex-object/88552 "2007-03-16T10:47:19Z")

</div>

Hi we are facing trouble in implementing a complex object in ruby, like say we have a class B which has a member int and a member string, we have to implement a class A whose members are an array of objects of B how…

---

## [Webrick error after updating rails, gems 1.2.2, 0.9.2](https://www.ruby-forum.com/t/webrick-error-after-updating-rails-gems-1-2-2-0-9-2/86655)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [February 24, 2007, 4:04am UTC](https://www.ruby-forum.com/t/webrick-error-after-updating-rails-gems-1-2-2-0-9-2/86655 "2007-02-24T04:04:33Z")

</div>

Any help is appreciated. $ script/server webrick =\> Booting WEBrick… /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/ active\_support/dependencies.rb:263:in load\_missing\_constant': uninitialized constant Act…

---

## [Regular expression and reading directories](https://www.ruby-forum.com/t/regular-expression-and-reading-directories/84070)

<div class="topic-metadata">

**Author:** [@rph](https://www.ruby-forum.com/u/rph)\
**Replies:** 4\
**Last updated:** [February 1, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/regular-expression-and-reading-directories/84070 "2007-02-01T14:50:13Z")

</div>

I have to read in a list of folders and display them to the user. However, there are certain folders that I don’t want to show up, and I’m trying to restrict this using regular expressions, which I’m not so good at. T…

---

## [Could not install in WinXP](https://www.ruby-forum.com/t/could-not-install-in-winxp/82842)

<div class="topic-metadata">

**Author:** [@ngoc](https://www.ruby-forum.com/u/ngoc)\
**Replies:** 4\
**Last updated:** [January 22, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/could-not-install-in-winxp/82842 "2007-01-22T15:11:29Z")

</div>

Directory of C:\\search\_app 01/21/2007 19:37 . 01/21/2007 19:37 … 01/21/2007 19:36 427 008 ferret-0.10.13.gem 01/21/2007 19:07 148 992 rdig-0.3.4.gem 2 File(s) …

---

## [Migraciones irreversibles](https://www.ruby-forum.com/t/migraciones-irreversibles/77767)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 4\
**Last updated:** [November 30, 2006, 3:28pm UTC](https://www.ruby-forum.com/t/migraciones-irreversibles/77767 "2006-11-30T15:28:03Z")

</div>

Migraciones Irreversibles De vez en cuando usted necesitará hacer una migración irreversible (por ejemplo, si necesita eliminar una columna de la base de datos). Cuando esto ocurra, ¡no deje self.down vacío! Utilice “…

---

## [Can't compile with readline](https://www.ruby-forum.com/t/cant-compile-with-readline/75601)

<div class="topic-metadata">

**Author:** [@jonathan2000](https://www.ruby-forum.com/u/jonathan2000)\
**Replies:** 4\
**Last updated:** [November 11, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/cant-compile-with-readline/75601 "2006-11-11T16:55:37Z")

</div>

Hi, I’m trying to compile Ruby 1.8.5 on Debian Sarge with readline. After compilation I try irb and I get: irb(main):001:0\> require “readline” LoadError: no such file to load – readline from (irb):1:in \`require’ fr…

---

## [Event Listeners for form \> select tags](https://www.ruby-forum.com/t/event-listeners-for-form-select-tags/73939)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 4\
**Last updated:** [October 28, 2006, 7:13pm UTC](https://www.ruby-forum.com/t/event-listeners-for-form-select-tags/73939 "2006-10-28T19:13:34Z")

</div>

How do you attach an event listener to watch for the user to change the selected option in a ‘select’ field before they click the submit button in order to instruct the page to change (AJAX) based on what the user sel…

---

## [USB speed data point](https://www.ruby-forum.com/t/usb-speed-data-point/73874)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [October 28, 2006, 6:59am UTC](https://www.ruby-forum.com/t/usb-speed-data-point/73874 "2006-10-28T06:59:03Z")

</div>

Hi - I’m bringing up a board LLRF Evaluation Board with a hardware and software USB stack based on and (for this purpose) equivalent to the GNU Radio design, and measured its USB data transfer capabilities more care…

---

## [Help: Bus Error when 'splitting' a String](https://www.ruby-forum.com/t/help-bus-error-when-splitting-a-string/72733)

<div class="topic-metadata">

**Author:** [@diego\_v](https://www.ruby-forum.com/u/diego_v)\
**Replies:** 4\
**Last updated:** [October 24, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/help-bus-error-when-splitting-a-string/72733 "2006-10-24T19:10:19Z")

</div>

Hello, I’m currently trying to run a little script but I am stuck with this error… which I can’t decipher. The error message says just: \[BUG\] Bus Error and with a few puts statements here and there I could work out i…

---

## [Re: newgem - Create gems for your libraries and apps](https://www.ruby-forum.com/t/re-newgem-create-gems-for-your-libraries-and-apps/71791)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 4\
**Last updated:** [October 12, 2006, 8:14am UTC](https://www.ruby-forum.com/t/re-newgem-create-gems-for-your-libraries-and-apps/71791 "2006-10-12T08:14:11Z")

</div>

Again I love how this mailing list always sounds like it’s talking about me… ( : Gem

---

## [Regular expression reformating a value](https://www.ruby-forum.com/t/regular-expression-reformating-a-value/70357)

<div class="topic-metadata">

**Author:** [@stevenreplica](https://www.ruby-forum.com/u/stevenreplica)\
**Replies:** 4\
**Last updated:** [September 29, 2006, 12:02am UTC](https://www.ruby-forum.com/t/regular-expression-reformating-a-value/70357 "2006-09-29T00:02:05Z")

</div>

I am not really sure how to do this. I have a series of number that need parsed. Strip the zeros, if a caret exists replace it with a slash. 1.) 000123^2 - should be 123/2 2.) 1^2 - should be 1/2 3.) 0001 - should b…

---

## [Render\_tag](https://www.ruby-forum.com/t/render-tag/66743)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 4\
**Last updated:** [August 30, 2006, 7:43pm UTC](https://www.ruby-forum.com/t/render-tag/66743 "2006-08-30T19:43:49Z")

</div>

Quick question: Inside a tag definition block in my behavior, can I call render\_tag that is available to the Radius context? If so, what’s the proper syntax? I’d like to have a case where a tag can be used as a singl…

---

## [: tx\_chain.v module in usrp\_std.v](https://www.ruby-forum.com/t/tx-chain-v-module-in-usrp-std-v/97892)

<div class="topic-metadata">

**Author:** [@Oussama\_S](https://www.ruby-forum.com/u/Oussama_S)\
**Replies:** 4\
**Last updated:** [July 13, 2006, 6:47am UTC](https://www.ruby-forum.com/t/tx-chain-v-module-in-usrp-std-v/97892 "2006-07-13T06:47:31Z")

</div>

Hello everybody, I am still a beginner in the project so bare with me if my questions have obvious answers. I was looking at the verilog code for usrp\_std.v module. that module containes the tx\_chain.v module which …

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

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