# Top

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

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

---

## [Pathname](https://www.ruby-forum.com/t/pathname/95317)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [May 31, 2006, 5:08am UTC](https://www.ruby-forum.com/t/pathname/95317 "2006-05-31T05:08:05Z")

</div>

About 6 months ago or so, I rewrote the Pathname library to internally store a path as an Array instead of a String. It appears to be about 20% faster than the original and the code is a good bit less complex. I no lo…

---

## [\[VOLK\] 16i\_max\_star\_horizontal\_16i non-saturating subtraction](https://www.ruby-forum.com/t/volk-16i-max-star-horizontal-16i-non-saturating-subtraction/238955)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 7, 2014, 11:02am UTC](https://www.ruby-forum.com/t/volk-16i-max-star-horizontal-16i-non-saturating-subtraction/238955 "2014-02-07T11:02:11Z")

</div>

I was doing some work with this kernel and came across an odd result that I think is caused by a non-saturating add in the generic proto-kernel, that should also be relevant to the 16i\_max\_star\_16i. I haven’t looked t…

---

## [Talking about DSP and SDR \[Was: On tunnel.py\]](https://www.ruby-forum.com/t/talking-about-dsp-and-sdr-was-on-tunnel-py/227838)

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 4\
**Last updated:** [April 2, 2013, 4:48pm UTC](https://www.ruby-forum.com/t/talking-about-dsp-and-sdr-was-on-tunnel-py/227838 "2013-04-02T16:48:52Z")

</div>

To move on in this topic, Alex brings up an interesting point. One of the reasons for this mailing list is to discuss signal processing, SDR, algorithms, etc. Hopefully in a way that helps us improve either GNU Radio …

---

## [Help me improve Hash#rekey](https://www.ruby-forum.com/t/help-me-improve-hash-rekey/229232)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [December 12, 2012, 3:34am UTC](https://www.ruby-forum.com/t/help-me-improve-hash-rekey/229232 "2012-12-12T03:34:55Z")

</div>

The note TODO: Improve Hash#rekey code!!! has been in my docs for too long. I could use other’s insights and thought others might enjoy the challenge. So here’s the code: require ‘facets/na’ class Hash # Rekey a has…

---

## [Nginx-1.1.8](https://www.ruby-forum.com/t/nginx-1-1-8/213856)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 25, 2011, 11:51am UTC](https://www.ruby-forum.com/t/nginx-1-1-8/213856 "2011-11-25T11:51:39Z")

</div>

Changes with nginx 1.1.8 14 Nov 2011 \*) Change: the ngx\_http\_limit\_zone\_module was renamed to the ngx\_http\_limit\_conn\_module. \*) Change: the "limit\_zone" directive was supers…

---

## [Documentation about ruby-openssl](https://www.ruby-forum.com/t/documentation-about-ruby-openssl/206543)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 9, 2011, 1:21am UTC](https://www.ruby-forum.com/t/documentation-about-ruby-openssl/206543 "2011-05-09T01:21:45Z")

</div>

Hi, is there somewhere good documentation about ruby-openssl API? or any good tutorial? The RDOC is hard to read: http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html Thanks a lot. PD: Is there any other alt…

---

## [Block robots for some urls](https://www.ruby-forum.com/t/block-robots-for-some-urls/191596)

<div class="topic-metadata">

**Author:** [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Replies:** 4\
**Last updated:** [July 19, 2010, 1:51pm UTC](https://www.ruby-forum.com/t/block-robots-for-some-urls/191596 "2010-07-19T13:51:07Z")

</div>

Hi, I want to block some robots such as google, to access some urls. here is my config: # robotlarin gezdigi luzumsuz adresleri blokla... zirt pirt giriyorlar sanki bisey varmis gibi set $test “”; if ($request\_…

---

## [Rails 2.3.4 - can't find method \`cache\_template\_extensions'](https://www.ruby-forum.com/t/rails-2-3-4-cant-find-method-cache-template-extensions/177876)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 4\
**Last updated:** [October 26, 2009, 9:16am UTC](https://www.ruby-forum.com/t/rails-2-3-4-cant-find-method-cache-template-extensions/177876 "2009-10-26T09:16:15Z")

</div>

I’ve come up with an unusual problem right after installing Ruby+RoR. When I start server or console, I get these two errors: C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:602:in send': undefined metho…

---

## [Java\_servlet\_store breaks with jruby-rack-0.9.5](https://www.ruby-forum.com/t/java-servlet-store-breaks-with-jruby-rack-0-9-5/177222)

<div class="topic-metadata">

**Author:** [@ajosephmi](https://www.ruby-forum.com/u/ajosephmi)\
**Replies:** 4\
**Last updated:** [October 15, 2009, 9:43pm UTC](https://www.ruby-forum.com/t/java-servlet-store-breaks-with-jruby-rack-0-9-5/177222 "2009-10-15T21:43:13Z")

</div>

jruby-rack-0.9.5 release notes indicate that ‘java\_servlet\_store’ support has been added. When I deploy the application on tomcat as a war file it errors out. I have ActionController::Base.session\_store = :java\_se…

---

## [Rerouting between controller's actions \*WITHOUT REDIRECT\_TO\*](https://www.ruby-forum.com/t/rerouting-between-controllers-actions-without-redirect-to/171749)

<div class="topic-metadata">

**Author:** [@olistik](https://www.ruby-forum.com/u/olistik)\
**Replies:** 4\
**Last updated:** [July 9, 2009, 4:58am UTC](https://www.ruby-forum.com/t/rerouting-between-controllers-actions-without-redirect-to/171749 "2009-07-09T04:58:28Z")

</div>

Hello everyone, I need to implement first level permalink style url routing inside my rails application, ie: /first\_link.html /another\_one.html … /last\_one.html For each permalink there’s an associated record (mode…

---

## [How can i get attribute values from xml using libxml](https://www.ruby-forum.com/t/how-can-i-get-attribute-values-from-xml-using-libxml/169777)

<div class="topic-metadata">

**Author:** [@lecielbleu](https://www.ruby-forum.com/u/lecielbleu)\
**Replies:** 4\
**Last updated:** [June 9, 2009, 12:23am UTC](https://www.ruby-forum.com/t/how-can-i-get-attribute-values-from-xml-using-libxml/169777 "2009-06-09T00:23:39Z")

</div>

Hi , i have xml document like this \<?xml version="1.0" encoding="ISO-8859-9"?\> … then i have to use Category attribute but reader class couldnt recognize attributes when i use these codes below for testing; while r…

---

## [Migration failure\> mysql gem issues \> xCode install -HELP!](https://www.ruby-forum.com/t/migration-failure-mysql-gem-issues-xcode-install-help/168376)

<div class="topic-metadata">

**Author:** [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Replies:** 4\
**Last updated:** [May 20, 2009, 3:16pm UTC](https://www.ruby-forum.com/t/migration-failure-mysql-gem-issues-xcode-install-help/168376 "2009-05-20T15:16:54Z")

</div>

please help i am running Mac os x 10.5.7 - have mysql 64 bit installed - ruby 1.8.6 - rails 2.2.2. All ruby and rails functions seemed to be working fine until I tried to do a simple rake db:migrate last night and g…

---

## [Redirect\_to results in "syntax error" for \<!DOCTYPE HTML...\>](https://www.ruby-forum.com/t/redirect-to-results-in-syntax-error-for-doctype-html/165917)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 4\
**Last updated:** [April 20, 2009, 9:23pm UTC](https://www.ruby-forum.com/t/redirect-to-results-in-syntax-error-for-doctype-html/165917 "2009-04-20T21:23:51Z")

</div>

Hi there, I have a strange error: In a controller, I have a… redirect\_to :action =\> ‘show’ …at the end. But upon code execution, Firebug tells me: syntax error (It says that for Line 0) Does anyone have a clue …

---

## [Problem with disable\_with](https://www.ruby-forum.com/t/problem-with-disable-with/157239)

<div class="topic-metadata">

**Author:** [@Walter\_Lockhart](https://www.ruby-forum.com/u/Walter_Lockhart)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/problem-with-disable-with/157239 "2009-01-08T21:39:54Z")

</div>

Hi Group, I have a registration.html.erb page with the following JavaScript at the top which I use to validate form fields: further down the page I have the form: \<% form\_tag({:action =\> ‘sendregistration’}, {:name …

---

## [FasterCSV.foreach lineno?](https://www.ruby-forum.com/t/fastercsv-foreach-lineno/135722)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/fastercsv-foreach-lineno/135722 "2008-04-24T17:26:48Z")

</div>

OK, so I can’t think my way out of a paper this morning. Can I access FasterCVS#lineno while inside a foreach? For example, $ cat \<\< EOF \> csv\_file one two three EOF $ ruby -rubygems -e’require “fastercsv”;Fast…

---

## [Wher i can get the acts\_as\_solr plugin.?](https://www.ruby-forum.com/t/wher-i-can-get-the-acts-as-solr-plugin/126306)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 5:24am UTC](https://www.ruby-forum.com/t/wher-i-can-get-the-acts-as-solr-plugin/126306 "2008-01-22T05:24:23Z")

</div>

hi Can some one help me to download the acts\_as\_solr plugin. i tried to get from the following repositories. but i could not get it they gave connection time out errors. script/plugin install svn://svn.railsfreaks.c…

---

## [Fusb::\_reap: Interrupted System Call](https://www.ruby-forum.com/t/fusb-interrupted-system-call/116988)

<div class="topic-metadata">

**Author:** [@jaredjackson](https://www.ruby-forum.com/u/jaredjackson)\
**Replies:** 4\
**Last updated:** [October 16, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/fusb-interrupted-system-call/116988 "2007-10-16T19:38:04Z")

</div>

Does anyone know why I get “fusb::\_reap: Interrupted System Call” fairly frequently? There are no overruns, and my data seems good, but I keep getting this error. If it’s meaningless, is there a way to suppress it? J…

---

## [Calling JRuby from Ruby](https://www.ruby-forum.com/t/calling-jruby-from-ruby/112204)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 4\
**Last updated:** [August 23, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/calling-jruby-from-ruby/112204 "2007-08-23T18:33:21Z")

</div>

Whats the best way of running a JRuby script from Ruby? I know you can do this : jruby script.rb, but that won’t allow passing of parameters from ruby to jruby. You could pass parameters by passing the Object.inspect …

---

## [Help with passing a callback method](https://www.ruby-forum.com/t/help-with-passing-a-callback-method/109311)

<div class="topic-metadata">

**Author:** [@micke](https://www.ruby-forum.com/u/micke)\
**Replies:** 4\
**Last updated:** [July 13, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/help-with-passing-a-callback-method/109311 "2007-07-13T16:38:46Z")

</div>

Hi! I am trying to do the following. I can’t get it to work, don’t know if it even is possible but it would be nice. If it is not possible to do it the way I try here is there any other good approach? My reason to us…

---

## [Pretty\_print woes](https://www.ruby-forum.com/t/pretty-print-woes/108014)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 4\
**Last updated:** [June 28, 2007, 11:26pm UTC](https://www.ruby-forum.com/t/pretty-print-woes/108014 "2007-06-28T23:26:54Z")

</div>

I like the formatting one gets by require ‘pp’ pp foo() # etc. In my application however, I don’t want the pp-formatted string to be printed, but to be returned as a string to my application. Searching the Net, I ca…

---

## [Adding variables through modules](https://www.ruby-forum.com/t/adding-variables-through-modules/107656)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 4\
**Last updated:** [June 25, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/adding-variables-through-modules/107656 "2007-06-25T22:05:29Z")

</div>

Hi! I’m trying to enhance a set of controllers which can set the level of security. Class MenuControllder \< ApplicationController include BasicTest end module BasicTest # in lib/basic\_test.rb @test = nil def se…

---

## [Login Engine replacement or upgrade](https://www.ruby-forum.com/t/login-engine-replacement-or-upgrade/102702)

<div class="topic-metadata">

**Author:** [@Tiago\_F](https://www.ruby-forum.com/u/Tiago_F)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/login-engine-replacement-or-upgrade/102702 "2007-03-08T22:52:07Z")

</div>

Hi, I have an app that uses login\_engine and the hosting company upgraded to Rails 1.2. Does anyone knows a good alternative, if possible to reuse the existing data in the database from the login\_engine? Thanks, Ti…

---

## [Plusieurs insert into](https://www.ruby-forum.com/t/plusieurs-insert-into/96382)

<div class="topic-metadata">

**Author:** [@arnaud](https://www.ruby-forum.com/u/arnaud)\
**Replies:** 4\
**Last updated:** [June 29, 2006, 9:35am UTC](https://www.ruby-forum.com/t/plusieurs-insert-into/96382 "2006-06-29T09:35:09Z")

</div>

Bonjour! Voila mon problÃ¨me: j’ai besoin de rÃ©cupÃ©rer pleins d’enregsitrements d’une base pour les trier et les mettre dans une autre… Tout va bien sauf que quand j’insÃ©re mes Ã©lÃ©ments dans ma seconde base, j’u…

---

## [Wish list: webrick server with cgi test file](https://www.ruby-forum.com/t/wish-list-webrick-server-with-cgi-test-file/63910)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 4\
**Last updated:** [June 20, 2006, 5:03pm UTC](https://www.ruby-forum.com/t/wish-list-webrick-server-with-cgi-test-file/63910 "2006-06-20T17:03:56Z")

</div>

Anyone has a webrick server which works with a cgi test file, to share with me? Hopefully, not all webrick users are at the rails conference! I have tried various combinations with various errors. Here is the latest …

---

## [How to: update a select from another select](https://www.ruby-forum.com/t/how-to-update-a-select-from-another-select/62194)

<div class="topic-metadata">

**Author:** [@alain](https://www.ruby-forum.com/u/alain)\
**Replies:** 4\
**Last updated:** [June 2, 2006, 2:07pm UTC](https://www.ruby-forum.com/t/how-to-update-a-select-from-another-select/62194 "2006-06-02T14:07:09Z")

</div>

Hi all, I woke up at 4AM this morning to find a solution for this and it is still not working… grrr! lost sleep for nothing! Anyways, I have 2 select list and I want the content of the second list to be updated accor…

---

## [Layout Question w/ code from vendor library](https://www.ruby-forum.com/t/layout-question-w-code-from-vendor-library/56701)

<div class="topic-metadata">

**Author:** [@aginghipster](https://www.ruby-forum.com/u/aginghipster)\
**Replies:** 4\
**Last updated:** [April 3, 2006, 5:09am UTC](https://www.ruby-forum.com/t/layout-question-w-code-from-vendor-library/56701 "2006-04-03T05:09:16Z")

</div>

I am new to Ruby on Rails in general and apologize if this question is trivial and/or has been asked before ( my searches did not turn up any threads ). I am using the cookies function from actionpack which I have loc…

---

## [\[ANN\] FreeMIS 1.0 Released](https://www.ruby-forum.com/t/ann-freemis-1-0-released/53675)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 4\
**Last updated:** [February 15, 2006, 3:13am UTC](https://www.ruby-forum.com/t/ann-freemis-1-0-released/53675 "2006-02-15T03:13:39Z")

</div>

FreeMIS is an open source management information system for schools, built with Ruby on Rails. I haven’t come across any other big open source projects using Rails so far - if nothing else, the availability of the s…

---

## [PostgreSQL Array field type](https://www.ruby-forum.com/t/postgresql-array-field-type/51166)

<div class="topic-metadata">

**Author:** [@samer](https://www.ruby-forum.com/u/samer)\
**Replies:** 4\
**Last updated:** [December 29, 2005, 2:22am UTC](https://www.ruby-forum.com/t/postgresql-array-field-type/51166 "2005-12-29T02:22:40Z")

</div>

It seemed to me that rails extract the special database field type (Array … In PostgreSQL) as a string… {‘One’,‘Two’} wouldn’t it be great if it got converted to a Ruby array directly?

---

## [Object Database Access v 1.0 released](https://www.ruby-forum.com/t/object-database-access-v-1-0-released/50713)

<div class="topic-metadata">

**Author:** [@spreadsheet](https://www.ruby-forum.com/u/spreadsheet)\
**Replies:** 4\
**Last updated:** [December 20, 2005, 5:00pm UTC](https://www.ruby-forum.com/t/object-database-access-v-1-0-released/50713 "2005-12-20T17:00:49Z")

</div>

Hi all! Here comes yet another way to map Ruby-Objects to a Relational Database: ODBA is an unintrusive Object Cache system. It adresses the crosscutting concern of object storage by disconnecting and serializing obje…

---

## [Apache SCGI on Windows XP successful](https://www.ruby-forum.com/t/apache-scgi-on-windows-xp-successful/100833)

<div class="topic-metadata">

**Author:** [@peter.fitzgibbons](https://www.ruby-forum.com/u/peter.fitzgibbons)\
**Replies:** 4\
**Last updated:** [November 25, 2005, 7:28pm UTC](https://www.ruby-forum.com/t/apache-scgi-on-windows-xp-successful/100833 "2005-11-25T19:28:49Z")

</div>

Hello All, Thanks to Curt, Zed, and Jin

---

## [Re: Editing medium-to-large flow-graphs in GRC now \*agonizing\* slow](https://www.ruby-forum.com/t/re-editing-medium-to-large-flow-graphs-in-grc-now-agonizing-slow/231962)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 10, 2014, 8:22pm UTC](https://www.ruby-forum.com/t/re-editing-medium-to-large-flow-graphs-in-grc-now-agonizing-slow/231962 "2014-09-10T20:22:16Z")

</div>

Yes, I have the same issue with v3.7.5 Thanks Tiankun Mike J. removed\_email\_address@domain.invalid编写：

---

## [Search an array element if it exist in a file](https://www.ruby-forum.com/t/search-an-array-element-if-it-exist-in-a-file/241264)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [May 24, 2014, 12:35am UTC](https://www.ruby-forum.com/t/search-an-array-element-if-it-exist-in-a-file/241264 "2014-05-24T00:35:58Z")

</div>

Hi All, I’m a new to ruby. Can someone please explain how to search an array list element exist in a file. scenario: i read a file.txt to get country names and them to an array list, from this array list i use each e…

---

## [Limit issue, i think it's a bug](https://www.ruby-forum.com/t/limit-issue-i-think-its-a-bug/179493)

<div class="topic-metadata">

**Author:** [@websun](https://www.ruby-forum.com/u/websun)\
**Replies:** 5\
**Last updated:** [November 26, 2011, 1:23pm UTC](https://www.ruby-forum.com/t/limit-issue-i-think-its-a-bug/179493 "2011-11-26T13:23:16Z")

</div>

I have: limit\_req\_zone $binary\_remote\_addr zone=one:10m rate=5r/s; limit\_req zone=one burst=5; in http zone. whatever changes I make ot that directive even if I set 100/s won’t serve more than 2 reques…

---

## [UCLA\_Zigbee\_phy examples on E100](https://www.ruby-forum.com/t/ucla-zigbee-phy-examples-on-e100/211842)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 14, 2011, 8:44pm UTC](https://www.ruby-forum.com/t/ucla-zigbee-phy-examples-on-e100/211842 "2011-09-14T20:44:52Z")

</div>

Hello everyone, I’m new to gnuradio & usrp devices. I tried to update the ucla\_zigbee\_phy examples “cc2420\_txtest.py” and “cc2420\_rxtest.py” to work with UHD (see attachments), then I ran the codes separately on two …

---

## [Puzzled with form on multiple table rows](https://www.ruby-forum.com/t/puzzled-with-form-on-multiple-table-rows/210690)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 15, 2011, 11:55pm UTC](https://www.ruby-forum.com/t/puzzled-with-form-on-multiple-table-rows/210690 "2011-08-15T23:55:00Z")

</div>

I’ve got a table of events, and each event has a boolean attribute is\_ten\_event. On each row of the table is a chekbox to edit the value of is\_ten\_event, so that multiple rows can be edited with one submit. In order …

---

## [Best Mongo Framework to work with Rails](https://www.ruby-forum.com/t/best-mongo-framework-to-work-with-rails/210365)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 5, 2011, 9:54pm UTC](https://www.ruby-forum.com/t/best-mongo-framework-to-work-with-rails/210365 "2011-08-05T21:54:04Z")

</div>

Hi all, Wanted to hear your opinions about the currently best option for mongo with Rails. Thank you all in advance, Vasco Andrade e Silva

---

## [\[Ruby 1.9 - Feature #4468\]\[Open\] String() should call to\_str before to\_s](https://www.ruby-forum.com/t/ruby-1-9-feature-4468-open-string-should-call-to-str-before-to-s/204119)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 8, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/ruby-1-9-feature-4468-open-string-should-call-to-str-before-to-s/204119 "2011-03-08T15:00:50Z")

</div>

Issue #4468 has been reported by Tomoyuki C… Feature #4468: String() should call to\_str before to\_s Author: Tomoyuki C. Status: Open Priority: Normal Assignee: Category: core Target version: 1.9.3 Integer() と A…

---

## [True! or false!](https://www.ruby-forum.com/t/true-or-false/198620)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 4, 2010, 2:40pm UTC](https://www.ruby-forum.com/t/true-or-false/198620 "2010-11-04T14:40:03Z")

</div>

Making good use of polymorphism I had this idea for assertion methods: class TrueClass # Assert true. # # (x == y).true! # def true! true end # Assert false. # # (x == y).false! # def false! raise “not …

---

## [Ruby compile failing at make ("LIBRUBY\_EXTS: command not found")](https://www.ruby-forum.com/t/ruby-compile-failing-at-make-libruby-exts-command-not-found/197891)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 26, 2010, 5:53am UTC](https://www.ruby-forum.com/t/ruby-compile-failing-at-make-libruby-exts-command-not-found/197891 "2010-10-26T05:53:10Z")

</div>

Anyone have any ideas why ruby compile (1.9.1-p430) is failing for me near what appears to be the end: making ruby mkmain.sh: line 2: LIBRUBY\_EXTS: command not found make: invalid option -- '.' make: invalid option --…

---

## [How do I determine the "source" action for conditionally rendering error actions and validation mes](https://www.ruby-forum.com/t/how-do-i-determine-the-source-action-for-conditionally-rendering-error-actions-and-validation-mes/185295)

<div class="topic-metadata">

**Author:** [@Clay\_H](https://www.ruby-forum.com/u/Clay_H)\
**Replies:** 5\
**Last updated:** [March 17, 2010, 6:29pm UTC](https://www.ruby-forum.com/t/how-do-i-determine-the-source-action-for-conditionally-rendering-error-actions-and-validation-mes/185295 "2010-03-17T18:29:44Z")

</div>

I have a model called Stock.rb. I created an additional action, called dispense, in the controller so that I could render two different views based on the type of data entry being done. The “new” action is used for “a…

---

## [Problem in rendering :partial with auto\_complete\_field](https://www.ruby-forum.com/t/problem-in-rendering-partial-with-auto-complete-field/182147)

<div class="topic-metadata">

**Author:** [@mcieong](https://www.ruby-forum.com/u/mcieong)\
**Replies:** 5\
**Last updated:** [February 7, 2010, 10:41pm UTC](https://www.ruby-forum.com/t/problem-in-rendering-partial-with-auto-complete-field/182147 "2010-02-07T22:41:01Z")

</div>

I wrote some codes to generate a input field with auto complete functionality, these codes work well in a regular form, the codes are: ========================================================= \<%= auto\_complete\_fi…

---

## [What should e relationship etween these models](https://www.ruby-forum.com/t/what-should-e-relationship-etween-these-models/182064)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 5\
**Last updated:** [January 25, 2010, 4:28am UTC](https://www.ruby-forum.com/t/what-should-e-relationship-etween-these-models/182064 "2010-01-25T04:28:42Z")

</div>

Hi I have a organizations table and employess table. From the employee one employee will e administering the whole organizations That means creating other staff and what ever the activities etc. My question is how ca…

---

## [\[rspec\] be\_something accepts nils](https://www.ruby-forum.com/t/rspec-be-something-accepts-nils/162759)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 5\
**Last updated:** [April 28, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/rspec-be-something-accepts-nils/162759 "2009-04-28T15:34:00Z")

</div>

Hi Just noticed that the behaviour of @cow.should\_not be\_hungry is not the same as @cow.hungry?.should == false # nil also passes Don’t know how this has escaped me for so long =) What’s the thinking behind this? …

---

## [Subdomains with subdomain\_fu](https://www.ruby-forum.com/t/subdomains-with-subdomain-fu/164686)

<div class="topic-metadata">

**Author:** [@golf](https://www.ruby-forum.com/u/golf)\
**Replies:** 5\
**Last updated:** [April 4, 2009, 6:04pm UTC](https://www.ruby-forum.com/t/subdomains-with-subdomain-fu/164686 "2009-04-04T18:04:39Z")

</div>

Hi all, I am bit stuck with subdomain\_fu plugin. I want to create a new subdomain for newcomers. e.g. newband.mysite.net I set the tld\_sizes: SubdomainFu.tld\_sizes = {:development =\> 0, :test =\> 0, :production =\> 2…

---

## [Installaredue versioni di ruby](https://www.ruby-forum.com/t/installaredue-versioni-di-ruby/164246)

<div class="topic-metadata">

**Author:** [@mariarosaria](https://www.ruby-forum.com/u/mariarosaria)\
**Replies:** 5\
**Last updated:** [April 3, 2009, 10:54am UTC](https://www.ruby-forum.com/t/installaredue-versioni-di-ruby/164246 "2009-04-03T10:54:34Z")

</div>

Come ho detto nel topic precedente, purtroppo senza risposta, ho installato ruby 1.9.1. e rails 2.3.2 Siccome vedo nella cartella ruby C:\\ruby191232\\lib\\ruby\\1.9.1 e C:\\ruby191232\\lib\\ruby\\gems\\1.9.1 mi viene da ch…

---

## [Regular expression](https://www.ruby-forum.com/t/regular-expression/140818)

<div class="topic-metadata">

**Author:** [@Petr\_D](https://www.ruby-forum.com/u/Petr_D)\
**Replies:** 5\
**Last updated:** [June 18, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/regular-expression/140818 "2008-06-18T22:27:48Z")

</div>

Hello Suppose I have a string with some repeating patterns: string = “some miscellaneous text \[sdfsdf.wer\], some more miscellaneous text \[vbnfg.thy\], and yet more text \[jkhjkhjk.345\]” I want catch all instances of “…

---

## [Ida de olla del replace\_html e insert\_html](https://www.ruby-forum.com/t/ida-de-olla-del-replace-html-e-insert-html/118028)

<div class="topic-metadata">

**Author:** [@Pablo\_Formoso\_E](https://www.ruby-forum.com/u/Pablo_Formoso_E)\
**Replies:** 5\
**Last updated:** [October 23, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/ida-de-olla-del-replace-html-e-insert-html/118028 "2007-10-23T13:45:21Z")

</div>

Hola a todos!! Hoy estaba haciendo un RJS y nose porque narices no me modifica el elemento, sino que me inserta el cÃ³digo en JS :P. En un principio pense que podrÃ­a ser del parcial que intentaba hacer pero nada… alg…

---

## [Learning the fine points of Ruby](https://www.ruby-forum.com/t/learning-the-fine-points-of-ruby/109962)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 5\
**Last updated:** [July 20, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/learning-the-fine-points-of-ruby/109962 "2007-07-20T19:57:07Z")

</div>

Hey all, I adore Ruby. I love everything about it. The debugging, the community, the syntax… But my code sorta looks like VBScript - simple and generic. I have seen some really great Ruby code - some I can understand…

---

## [How to get Linux home path using ruby](https://www.ruby-forum.com/t/how-to-get-linux-home-path-using-ruby/92424)

<div class="topic-metadata">

**Author:** [@kedar](https://www.ruby-forum.com/u/kedar)\
**Replies:** 5\
**Last updated:** [April 20, 2007, 8:05am UTC](https://www.ruby-forum.com/t/how-to-get-linux-home-path-using-ruby/92424 "2007-04-20T08:05:42Z")

</div>

hai guys can any body guide me how to get the linux home path using ruby langauage. thanks in advance bye Keadr

---

## [Array comparison.. why does this work](https://www.ruby-forum.com/t/array-comparison-why-does-this-work/87244)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 5\
**Last updated:** [March 1, 2007, 7:30am UTC](https://www.ruby-forum.com/t/array-comparison-why-does-this-work/87244 "2007-03-01T07:30:32Z")

</div>

How does Ruby do Array comparision? old\_inventory = \[ 'a', 'b', 'd' \] new\_inventory = \[ 'a','e', 'c' \] puts "The following files have been added: " puts new\_inventory - old\_inventory puts "" puts "The following files h…

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

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