# Top

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

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

---

## [Serial Port Control with Ruby](https://www.ruby-forum.com/t/serial-port-control-with-ruby/170105)

<div class="topic-metadata">

**Author:** [@super141](https://www.ruby-forum.com/u/super141)\
**Replies:** 5\
**Last updated:** [June 12, 2009, 1:40pm UTC](https://www.ruby-forum.com/t/serial-port-control-with-ruby/170105 "2009-06-12T13:40:14Z")

</div>

Hi All, I am facing problem with serial port acees in windows-xp system c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in gem\_original\_re quire': no such file to load -- ../Win32Serial (LoadError) from c…

---

## [Polymorphic association..explain the extra query?](https://www.ruby-forum.com/t/polymorphic-association-explain-the-extra-query/161600)

<div class="topic-metadata">

**Author:** [@arpit](https://www.ruby-forum.com/u/arpit)\
**Replies:** 5\
**Last updated:** [February 28, 2009, 6:22pm UTC](https://www.ruby-forum.com/t/polymorphic-association-explain-the-extra-query/161600 "2009-02-28T18:22:30Z")

</div>

Can anyone explain to me the sql query done in the last step : http://pastie.org/402200 – Arpit J.

---

## [How can I set my shell to irb?](https://www.ruby-forum.com/t/how-can-i-set-my-shell-to-irb/148248)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 5\
**Last updated:** [September 11, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/how-can-i-set-my-shell-to-irb/148248 "2008-09-11T17:25:45Z")

</div>

Hi guys ! I’m running opensuse 11.0 . I would like to know 2 things : is it possible to change my shell from bash to irb ? if so,how ? ( I tried chsh , but with no success ) is it possible to add methods to irb , by …

---

## [Sending logout events](https://www.ruby-forum.com/t/sending-logout-events/146990)

<div class="topic-metadata">

**Author:** [@Attila\_Nagy](https://www.ruby-forum.com/u/Attila_Nagy)\
**Replies:** 5\
**Last updated:** [August 27, 2008, 4:12pm UTC](https://www.ruby-forum.com/t/sending-logout-events/146990 "2008-08-27T16:12:01Z")

</div>

Hello, Would it be possible to extend this protocol: http://wiki.codemongers.com/NginxImapCoreModule with logout (connection closed, timeout, etc) events? Something like this: GET /close HTTP/1.0 Host: auth.server.…

---

## [Which way is the best way to require another file in .rb](https://www.ruby-forum.com/t/which-way-is-the-best-way-to-require-another-file-in-rb/134531)

<div class="topic-metadata">

**Author:** [@Eddy\_Xu](https://www.ruby-forum.com/u/Eddy_Xu)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/which-way-is-the-best-way-to-require-another-file-in-rb/134531 "2008-04-11T20:31:08Z")

</div>

I put all source in to lib/ path, and named a lib/foo path for my foo project. However, is there a better approach to require the ruby source which in lib/foo/ from the file in the same path. For example, lib/foo/db.…

---

## [Execution stops once exception is fired](https://www.ruby-forum.com/t/execution-stops-once-exception-is-fired/125426)

<div class="topic-metadata">

**Author:** [@deadlykyo](https://www.ruby-forum.com/u/deadlykyo)\
**Replies:** 5\
**Last updated:** [January 10, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/execution-stops-once-exception-is-fired/125426 "2008-01-10T23:23:10Z")

</div>

Hi all, I am using ruby and watir to test my web application. The problem is that the ruby script stops the execution each time that raises an error. Is there any way by which i can continue execution of the script e…

---

## [How to use split method in ruby](https://www.ruby-forum.com/t/how-to-use-split-method-in-ruby/122414)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 5\
**Last updated:** [December 8, 2007, 4:34am UTC](https://www.ruby-forum.com/t/how-to-use-split-method-in-ruby/122414 "2007-12-08T04:34:20Z")

</div>

hi friends, i have created a onject for string class, like @news = String.new and added contents using @news \>\> somevalue “somevalue” includes some alphabets, numbers, even whitespaces, special characters. now i n…

---

## [Ruby 1.9 woes](https://www.ruby-forum.com/t/ruby-1-9-woes/122105)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105 "2007-12-05T16:26:34Z")

</div>

I’m running on Solaris and am having trouble building ruby 1.9. First, why doesn’t a configure script get bundled in the trunk? Anyway, I had to DL and build GNU M4 to get autoconf to build so I could generate the con…

---

## [Newbie: accessing form parameters in controller action?](https://www.ruby-forum.com/t/newbie-accessing-form-parameters-in-controller-action/115272)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 5\
**Last updated:** [September 23, 2007, 2:53am UTC](https://www.ruby-forum.com/t/newbie-accessing-form-parameters-in-controller-action/115272 "2007-09-23T02:53:04Z")

</div>

Newbie alert! I am saving a form, and in my save action in the controller, I can do logger.info(params) and see a string in the log like “commitSaveactionsavecontrollerfoofooattrib1value1attrib2value2…” which is all…

---

## [What is the URL to view my first rails app under Apache?](https://www.ruby-forum.com/t/what-is-the-url-to-view-my-first-rails-app-under-apache/113534)

<div class="topic-metadata">

**Author:** [@foolishbrat](https://www.ruby-forum.com/u/foolishbrat)\
**Replies:** 5\
**Last updated:** [September 2, 2007, 4:32am UTC](https://www.ruby-forum.com/t/what-is-the-url-to-view-my-first-rails-app-under-apache/113534 "2007-09-02T04:32:15Z")

</div>

Dear expert, I have succesfully created an initial app with Ruby with the following step: \[ewijaya@defiant library\]$ pwd /home/ewijaya/public\_html/MyRuby/library \[ewijaya@defiant library\]$ ruby script/server =\> Boo…

---

## [Everything in ruby is an object?](https://www.ruby-forum.com/t/everything-in-ruby-is-an-object/107497)

<div class="topic-metadata">

**Author:** [@bowenmark](https://www.ruby-forum.com/u/bowenmark)\
**Replies:** 5\
**Last updated:** [June 22, 2007, 1:05pm UTC](https://www.ruby-forum.com/t/everything-in-ruby-is-an-object/107497 "2007-06-22T13:05:10Z")

</div>

Hey folks, I'm reading the tutorial on Ruby located at http://www.rubycentral.com/book/ In it the guys state that everything in Ruby is an object. I was just wondering if that applies to Boolean expressions i.e. t…

---

## [Strange error - bug in RoR?](https://www.ruby-forum.com/t/strange-error-bug-in-ror/106357)

<div class="topic-metadata">

**Author:** [@rhaus](https://www.ruby-forum.com/u/rhaus)\
**Replies:** 5\
**Last updated:** [June 9, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/strange-error-bug-in-ror/106357 "2007-06-09T19:03:24Z")

</div>

I have gerated a scaffold\_resource for “news” like so: script/generate scaffold\_resource news I have also added a route to routes.rb map.resources :news I have an application-wide layout that contains a menu with th…

---

## [Undefined Method \`free'](https://www.ruby-forum.com/t/undefined-method-free/81635)

<div class="topic-metadata">

**Author:** [@thekog](https://www.ruby-forum.com/u/thekog)\
**Replies:** 5\
**Last updated:** [January 11, 2007, 2:01am UTC](https://www.ruby-forum.com/t/undefined-method-free/81635 "2007-01-11T02:01:02Z")

</div>

I’ve got a CSV file that I’m trying to read from and insert the values into a mySQL DB. However whenever I run the script I get the following error: csvadd.rb:27: undefined method free' for nil:NilClass (NoMethodErro…

---

## [Find(:all) and find\_all\_\<etc\>](https://www.ruby-forum.com/t/find-all-and-find-all-etc/72903)

<div class="topic-metadata">

**Author:** [@luke](https://www.ruby-forum.com/u/luke)\
**Replies:** 5\
**Last updated:** [October 19, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/find-all-and-find-all-etc/72903 "2006-10-19T19:39:37Z")

</div>

Perhaps I’m an idiot and just don’t get it, and perhaps this question has been asked a million times before, but I’m not really sure how to go about searching for an answer to it: Why does my code Library.find(:all, :…

---

## [Prototype window class helper](https://www.ruby-forum.com/t/prototype-window-class-helper/70464)

<div class="topic-metadata">

**Author:** [@Jorge\_DSSS\_az](https://www.ruby-forum.com/u/Jorge_DSSS_az)\
**Replies:** 5\
**Last updated:** [September 29, 2006, 6:53pm UTC](https://www.ruby-forum.com/t/prototype-window-class-helper/70464 "2006-09-29T18:53:16Z")

</div>

DecidÃ­ hace unos dÃ­as prescindir de alerts de javascript y anacrÃ³nicos popups y meter una librerÃ­a de estas que tan de moda estÃ¡n. ComprobÃ© que ninguna de las que habÃ­a por ahÃ­ tenÃ­an un helper majo de esos …

---

## [PostgreSQL](https://www.ruby-forum.com/t/postgresql/100676)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 5\
**Last updated:** [July 31, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/postgresql/100676 "2006-07-31T15:45:36Z")

</div>

Hi @ all Does anyone has some experience with PostgreSQL and RoR? Does it gives any disadvantages or problems with PostgreSQL? I have a webapplication, that manage (read/write) many records (no. 200’000 records) and I…

---

## [Adding habtm through migrations](https://www.ruby-forum.com/t/adding-habtm-through-migrations/62473)

<div class="topic-metadata">

**Author:** [@Srdjan\_M](https://www.ruby-forum.com/u/Srdjan_M)\
**Replies:** 5\
**Last updated:** [June 8, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/adding-habtm-through-migrations/62473 "2006-06-08T17:09:33Z")

</div>

Hello, I’m stuck, I’ve got a model Product and would like to add a new model called Category. Furthermore, I want to set up a many2many relationship between the mentioned models. the problem is that I do not know how…

---

## [Dreamhost having Ruby issues](https://www.ruby-forum.com/t/dreamhost-having-ruby-issues/61058)

<div class="topic-metadata">

**Author:** [@Doug\_Pfeffer](https://www.ruby-forum.com/u/Doug_Pfeffer)\
**Replies:** 5\
**Last updated:** [May 19, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/dreamhost-having-ruby-issues/61058 "2006-05-19T23:18:05Z")

</div>

Just an alert to Dreamhost users. I saw that a few of my Rails sites were down, and after further probing noticed that a plain ol’ Ruby/CGI app was down too. Even irb isn’t working. Can anyone else confirm this? I’m o…

---

## [Millisecond precision over internet](https://www.ruby-forum.com/t/millisecond-precision-over-internet/58803)

<div class="topic-metadata">

**Author:** [@aqaudhere](https://www.ruby-forum.com/u/aqaudhere)\
**Replies:** 5\
**Last updated:** [April 26, 2006, 10:30am UTC](https://www.ruby-forum.com/t/millisecond-precision-over-internet/58803 "2006-04-26T10:30:45Z")

</div>

Hi, I’m new to programming and ruby and ROR, but I’m hoping to learn ruby to create custom scientific software. Mainly it involves measuring people’s reaction time to a series of words. I’m positive that this is pos…

---

## [Strange Problem with ActionController (I think)](https://www.ruby-forum.com/t/strange-problem-with-actioncontroller-i-think/93436)

<div class="topic-metadata">

**Author:** [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Replies:** 5\
**Last updated:** [April 7, 2006, 11:40am UTC](https://www.ruby-forum.com/t/strange-problem-with-actioncontroller-i-think/93436 "2006-04-07T11:40:54Z")

</div>

I’m working through the Agile Depot example I have no idea what I did, but when I try and delete something from the web page I get this error on the log. Processing AdminController#destroy (for 127.0.0.1 at 2006-04-02 …

---

## [Rails 1.1 released](https://www.ruby-forum.com/t/rails-1-1-released/56108)

<div class="topic-metadata">

**Author:** [@joshua\_s](https://www.ruby-forum.com/u/joshua_s)\
**Replies:** 5\
**Last updated:** [March 28, 2006, 11:59pm UTC](https://www.ruby-forum.com/t/rails-1-1-released/56108 "2006-03-28T23:59:03Z")

</div>

I haven’t seen a note here on the list, so in case anyone doesn’t have their RSS reader glued to the relevant blogs… http://weblog.rubyonrails.org/articles/2006/03/28/rails-1-1-rjs- active-record-respond\_to-integratio…

---

## [Q: Where to put a periodic updater?](https://www.ruby-forum.com/t/q-where-to-put-a-periodic-updater/54129)

<div class="topic-metadata">

**Author:** [@thiagoalessio](https://www.ruby-forum.com/u/thiagoalessio)\
**Replies:** 5\
**Last updated:** [February 24, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/q-where-to-put-a-periodic-updater/54129 "2006-02-24T19:17:08Z")

</div>

Hello, I need to put a script in place for updating a local database with a remote resource periodically. It should be started alongside the server (or inside it, whatever) and be run as long as the server running my…

---

## [Just to say hello](https://www.ruby-forum.com/t/just-to-say-hello/101571)

<div class="topic-metadata">

**Author:** [@marek](https://www.ruby-forum.com/u/marek)\
**Replies:** 5\
**Last updated:** [February 7, 2006, 9:41am UTC](https://www.ruby-forum.com/t/just-to-say-hello/101571 "2006-02-07T09:41:50Z")

</div>

I just subscribed to this list and i just wanted to say hello before starting dumb questions about rails. I just started my programming career with a ruby’n’rails application here in italy and i could use some help, a…

---

## [.Net Developer wants to volunteer at RoR project](https://www.ruby-forum.com/t/net-developer-wants-to-volunteer-at-ror-project/50922)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [December 23, 2005, 4:04pm UTC](https://www.ruby-forum.com/t/net-developer-wants-to-volunteer-at-ror-project/50922 "2005-12-23T16:04:41Z")

</div>

Hi, having read “my job went to india” I decided to quit programming within the Microsoft environment and start something different… So, is there any RubyOnRails project that in exchange for “reviving” me needs a loy…

---

## [Site takes a while to load after first visit in a while](https://www.ruby-forum.com/t/site-takes-a-while-to-load-after-first-visit-in-a-while/50380)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 5\
**Last updated:** [December 15, 2005, 9:29pm UTC](https://www.ruby-forum.com/t/site-takes-a-while-to-load-after-first-visit-in-a-while/50380 "2005-12-15T21:29:31Z")

</div>

Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?

---

## [Add a method to the Error class](https://www.ruby-forum.com/t/add-a-method-to-the-error-class/48925)

<div class="topic-metadata">

**Author:** [@Simon.Santoro](https://www.ruby-forum.com/u/Simon.Santoro)\
**Replies:** 5\
**Last updated:** [November 21, 2005, 3:01am UTC](https://www.ruby-forum.com/t/add-a-method-to-the-error-class/48925 "2005-11-21T03:01:36Z")

</div>

Hello all! I am trying to write a plugin, and I would like to add a method to the ActiveRecord::Errors class: module Simon def self.included(base) base.extend(ClassMethods) end module ClassMethods def hello “cia…

---

## [JavaScript is a disease! Ruby is the cure!](https://www.ruby-forum.com/t/javascript-is-a-disease-ruby-is-the-cure/266562)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 8:00pm UTC](https://www.ruby-forum.com/t/javascript-is-a-disease-ruby-is-the-cure/266562 "2024-10-11T20:00:24Z")

</div>

In a recent Ruby meetup, I called JavaScript a disease! It is true! Especially, when comparing JavaScript code to much better, more elegant, and more readable Ruby code! JavaScript looks like ugly smelly mold by comparis…

---

## [Modeling customer/supplier roles](https://www.ruby-forum.com/t/modeling-customer-supplier-roles/234718)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 24, 2015, 3:21pm UTC](https://www.ruby-forum.com/t/modeling-customer-supplier-roles/234718 "2015-03-24T15:21:45Z")

</div>

Hi there, I’m trying to decide the best approach for a person/company/customer/supplier model. I researching about STI and polymorphic associations, but cant decide which way to go. Companies and persons can be, a…

---

## [GNU Radio Live SDR Environment 2014-0419 snapshot released](https://www.ruby-forum.com/t/gnu-radio-live-sdr-environment-2014-0419-snapshot-released/240556)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 22, 2014, 8:23pm UTC](https://www.ruby-forum.com/t/gnu-radio-live-sdr-environment-2014-0419-snapshot-released/240556 "2014-04-22T20:23:47Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [\[ruby-trunk - Feature #5514\]\[Open\] Numeric への quotient と quotrem の追加](https://www.ruby-forum.com/t/ruby-trunk-feature-5514-open-numeric-quotient-quotrem/213321)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 26, 2013, 1:50am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-5514-open-numeric-quotient-quotrem/213321 "2013-02-26T01:50:07Z")

</div>

Issue #5514 has been reported by tadayoshi funaba. Feature #5514: Numeric への quotient と quotrem の追加 Author: tadayoshi funaba Status: Open Priority: Low Assignee: Category: Target version: 2.0 Ruby では余りを求めるために m…

---

## [Upstream fast\_cgi no port error](https://www.ruby-forum.com/t/upstream-fast-cgi-no-port-error/199753)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [January 9, 2013, 7:12am UTC](https://www.ruby-forum.com/t/upstream-fast-cgi-no-port-error/199753 "2013-01-09T07:12:31Z")

</div>

Hi, I’m trying out nginx and some of its features. I’m using stable version: nginx/0.8.53 on ubuntu server. If I try to configure fast\_cgi to use an upstream backend as in the wiki: upstream backend { server lo…

---

## [Irelan NEEDS Ruby on Rails Developers](https://www.ruby-forum.com/t/irelan-needs-ruby-on-rails-developers/229244)

<div class="topic-metadata">

**Author:** [@kenor](https://www.ruby-forum.com/u/kenor)\
**Replies:** 0\
**Last updated:** [December 13, 2012, 4:57pm UTC](https://www.ruby-forum.com/t/irelan-needs-ruby-on-rails-developers/229244 "2012-12-13T16:57:34Z")

</div>

There is now a HUGE demand for Ruby on Rails Developers in Ireland. More and more companies have Permanent Jobs opening and there are not enough qualified developers to fill them. As a result, Ruby on Rails developers…

---

## [Dynamic flow graph control](https://www.ruby-forum.com/t/dynamic-flow-graph-control/221934)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 6, 2012, 7:50pm UTC](https://www.ruby-forum.com/t/dynamic-flow-graph-control/221934 "2012-08-06T19:50:56Z")

</div>

Hello, I have an application where I need to collect the data for 5 seconds from the USRP source and do offline processing for 5 seconds in a repeated manner. I am planning to use the lock & unlock features of the gn…

---

## [Rspec: How to mock class method](https://www.ruby-forum.com/t/rspec-how-to-mock-class-method/221714)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 7:31am UTC](https://www.ruby-forum.com/t/rspec-how-to-mock-class-method/221714 "2012-07-27T07:31:03Z")

</div>

Hi, I have two model: Message, User message.rb class Message \< ActiveRecord::Base class \<\< self def method\_a(args) \[1,2\] end end end user.rb class User \< ActiveRecord::Base def method\_user if …

---

## [Ubuntu 9.10:: Error: uninitialized constant MysqlCompat::MysqlRes](https://www.ruby-forum.com/t/ubuntu-9-10-error-uninitialized-constant-mysqlcompat-mysqlres/181968)

<div class="topic-metadata">

**Author:** [@steve.gooberman-hil](https://www.ruby-forum.com/u/steve.gooberman-hil)\
**Replies:** 3\
**Last updated:** [December 12, 2011, 10:47pm UTC](https://www.ruby-forum.com/t/ubuntu-9-10-error-uninitialized-constant-mysqlcompat-mysqlres/181968 "2011-12-12T22:47:08Z")

</div>

Hi, I’ve seen configuration issues involving this error message when running rake under Mac OS 10, where it seems to be associated with a bad link. I’ve just got the same error, running Ubuntu 9.10. I have the follo…

---

## [Nginx parse var in if file exist statement error?](https://www.ruby-forum.com/t/nginx-parse-var-in-if-file-exist-statement-error/213444)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 2, 2011, 2:51pm UTC](https://www.ruby-forum.com/t/nginx-parse-var-in-if-file-exist-statement-error/213444 "2011-11-02T14:51:31Z")

</div>

Hi guys, I found a stange bug in nginx 0.7.65, 0.8.54, and 1.0.6 Here is my setup of three machines $ nginx -V nginx version: nginx/0.7.65 TLS SNI support enabled configure arguments: --conf-path=/etc/nginx/nginx.c…

---

## [Is active record 3.1.1 supposed to be threadsafe?](https://www.ruby-forum.com/t/is-active-record-3-1-1-supposed-to-be-threadsafe/213272)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 28, 2011, 4:38pm UTC](https://www.ruby-forum.com/t/is-active-record-3-1-1-supposed-to-be-threadsafe/213272 "2011-10-28T16:38:29Z")

</div>

Hi There Is active record 3.1.1 supposed to be threadsafe? In other words, should the following (concurrent access to a model) work? Thread.new do MyModel.where(some\_condition).first end Thread.new do MyModel.where(…

---

## [Email Anonymization](https://www.ruby-forum.com/t/email-anonymization/212960)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [October 19, 2011, 9:25am UTC](https://www.ruby-forum.com/t/email-anonymization/212960 "2011-10-19T09:25:56Z")

</div>

I’m working on an email anonymization feature for my rails app (kind of like craigslist). I’ve configured postfix to pipe all emails addressed to user-\*@example.com (i.e. removed\_email\_address@domain.invalid, where 12…

---

## [Nginx variables\_hash error](https://www.ruby-forum.com/t/nginx-variables-hash-error/205953)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 19, 2011, 10:57pm UTC](https://www.ruby-forum.com/t/nginx-variables-hash-error/205953 "2011-04-19T22:57:38Z")

</div>

Hi Guys, I have started getting this error on some of my servers today. I have an automated system which generates configuration files based upon how many customers we have. Our nginx servers currently run MANY sites …

---

## [Geo-location using the GeoIp plugin](https://www.ruby-forum.com/t/geo-location-using-the-geoip-plugin/203703)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 25, 2011, 4:45pm UTC](https://www.ruby-forum.com/t/geo-location-using-the-geoip-plugin/203703 "2011-02-25T16:45:15Z")

</div>

Hi, For my upcoming application I need to find the location of the user. I am doing this by using the “GeoIp” plugin. For geoIp I have to find the IP address of the incoming request. I have written the code to get th…

---

## [Is it Mailing list on github for oauth on twitter](https://www.ruby-forum.com/t/is-it-mailing-list-on-github-for-oauth-on-twitter/195178)

<div class="topic-metadata">

**Author:** [@babar\_shahzad](https://www.ruby-forum.com/u/babar_shahzad)\
**Replies:** 3\
**Last updated:** [September 19, 2010, 7:01pm UTC](https://www.ruby-forum.com/t/is-it-mailing-list-on-github-for-oauth-on-twitter/195178 "2010-09-19T19:01:39Z")

</div>

Helo dear list members, Can you kindly confirm me that its the correct list I subscribed to. I want help in twitter oauth. I am using abraham williams’ library. If something wrong, I will be very thankful if you cou…

---

## [\[FYI| Pure Java Nokogiri 1.5.0.beta.2](https://www.ruby-forum.com/t/fyi-pure-java-nokogiri-1-5-0-beta-2/192540)

<div class="topic-metadata">

**Author:** [@Yoko\_H](https://www.ruby-forum.com/u/Yoko_H)\
**Replies:** 3\
**Last updated:** [August 4, 2010, 3:14pm UTC](https://www.ruby-forum.com/t/fyi-pure-java-nokogiri-1-5-0-beta-2/192540 "2010-08-04T15:14:52Z")

</div>

Hi, Pure Java Nokogiri 1.5.0.beta.2 has been released. If you want to use, install Nokogiri with --pre option: gem install nokogiri --pre Since Nokogiri 1.5.0 doesn’t have ffi support, pure Java version will start r…

---

## [ARel table aliases](https://www.ruby-forum.com/t/arel-table-aliases/190207)

<div class="topic-metadata">

**Author:** [@Pat\_Allan](https://www.ruby-forum.com/u/Pat_Allan)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/arel-table-aliases/190207 "2010-06-17T16:22:20Z")

</div>

Hi all I’m battling a little with Rails 3 - trying to get Thinking Sphinx working with it. What I need is some way to interrogate ARel joins to find out table aliases, given a certain association hierarchy. For examp…

---

## [String#each\_index $B$NDs0F(B](https://www.ruby-forum.com/t/string-each-index-b-nds0f-b/188828)

<div class="topic-metadata">

**Author:** [@KISHIMOTOS\_Makoto](https://www.ruby-forum.com/u/KISHIMOTOS_Makoto)\
**Replies:** 3\
**Last updated:** [May 19, 2010, 6:24am UTC](https://www.ruby-forum.com/t/string-each-index-b-nds0f-b/188828 "2010-05-19T06:24:41Z")

</div>

e$B$-$7$b$H$G$9e(B String#each\_indexe$B!J$He(B String#each\_byteindexe$B!K$H$$$&%a%=%C%I$rDs0F$7$^$9!#e(B Ruby e$B$G\<BAu$9$k$H0J2\<$N$h$&$J%a%=%C%I$G$9!#e(B def each\_index unless block\_given? then Enumerator.new self…

---

## [Pop Quiz: aliasing versus wrapping](https://www.ruby-forum.com/t/pop-quiz-aliasing-versus-wrapping/186067)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 7:37pm UTC](https://www.ruby-forum.com/t/pop-quiz-aliasing-versus-wrapping/186067 "2010-03-31T19:37:05Z")

</div>

Below are two files that differ only in the 2nd line of code in each. Can you guess what difference they will reveal? I must admit I was surprised when I ran into this. $ cat alias.rb class Object alias\_method :to\_j…

---

## [Nginx gets best performance on Gentoo or Ubuntu does not scale](https://www.ruby-forum.com/t/nginx-gets-best-performance-on-gentoo-or-ubuntu-does-not-scale/181383)

<div class="topic-metadata">

**Author:** [@pcdinh](https://www.ruby-forum.com/u/pcdinh)\
**Replies:** 3\
**Last updated:** [January 14, 2010, 6:45am UTC](https://www.ruby-forum.com/t/nginx-gets-best-performance-on-gentoo-or-ubuntu-does-not-scale/181383 "2010-01-14T06:45:06Z")

</div>

I came across this post on the net http://snaprails.tumblr.com/post/325624962/linux-performance-benchmark-apache-nginx The author did some benchmarks and concluded that Ubuntu and Debian had some problems with web sca…

---

## [Login chooses database](https://www.ruby-forum.com/t/login-chooses-database/164111)

<div class="topic-metadata">

**Author:** [@rike](https://www.ruby-forum.com/u/rike)\
**Replies:** 3\
**Last updated:** [March 29, 2009, 12:30am UTC](https://www.ruby-forum.com/t/login-chooses-database/164111 "2009-03-29T00:30:00Z")

</div>

Hi, I just finishes my first RoR application and I’m happy that nearly every problem I had was solved. But now I need your help. The problem is that an other organisation wants to use my application as well. The serve…

---

## [Howto gem thru a proxy](https://www.ruby-forum.com/t/howto-gem-thru-a-proxy/85551)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 28, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/howto-gem-thru-a-proxy/85551 "2009-03-28T15:02:29Z")

</div>

high my problem was the following: H:\>gem search bla --remote \*\*\* REMOTE GEMS \*\*\* ERROR: While executing gem … (Errno::EBADF) Bad file descriptor - connect(2) a long time i could not figure out, why this happens -…

---

## [Few Questions about form\_for\_remote](https://www.ruby-forum.com/t/few-questions-about-form-for-remote/163871)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 3\
**Last updated:** [March 25, 2009, 7:33pm UTC](https://www.ruby-forum.com/t/few-questions-about-form-for-remote/163871 "2009-03-25T19:33:01Z")

</div>

Still learning some stuff so forgive the newbie type questions. if i use the :update param on form\_for\_remote can I mix javascript and ruby? i want to use the selector offered by prototype but pass in the parameters …

---

## [USRP2 for my Radio Astronomy stuff](https://www.ruby-forum.com/t/usrp2-for-my-radio-astronomy-stuff/160099)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 3\
**Last updated:** [February 11, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/usrp2-for-my-radio-astronomy-stuff/160099 "2009-02-11T20:46:19Z")

</div>

Well, I now have my first user with a USRP2. So, what are the gotchas that are going to bite me when supporting USRP2 in code that’s used to USRP1? Setup seems a little different–only 1 TX and 1 RX channel, etc. Here…

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

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