# Top

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

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

---

## [Default rendered error file and hash to nice string how to](https://www.ruby-forum.com/t/default-rendered-error-file-and-hash-to-nice-string-how-to/192250)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 5\
**Last updated:** [August 16, 2010, 6:01pm UTC](https://www.ruby-forum.com/t/default-rendered-error-file-and-hash-to-nice-string-how-to/192250 "2010-08-16T18:01:02Z")

</div>

Hi, When rails raises an exception which file (view?) gets rendered and outputs in the browser the backtrace, request, parameters, etc. I’m asking that because I’d like to know if Rails provides an easy way to conver…

---

## [Gr-howto-write-a-block configure error in cygwin](https://www.ruby-forum.com/t/gr-howto-write-a-block-configure-error-in-cygwin/188474)

<div class="topic-metadata">

**Author:** [@Kyle\_Z](https://www.ruby-forum.com/u/Kyle_Z)\
**Replies:** 5\
**Last updated:** [May 16, 2010, 10:12am UTC](https://www.ruby-forum.com/t/gr-howto-write-a-block-configure-error-in-cygwin/188474 "2010-05-16T10:12:56Z")

</div>

I am playing howto-write-a-block in cygwin. Git trunk. ./bootstrap no problem ./configure brings the following error: checking for GNURADIO\_CORE… configure: error: Package requirements (gnuradio-core \>= 3) were not …

---

## [Warning come eccezione (Era: rescue warning)](https://www.ruby-forum.com/t/warning-come-eccezione-era-rescue-warning/181127)

<div class="topic-metadata">

**Author:** [@gabriele\_renzi](https://www.ruby-forum.com/u/gabriele_renzi)\
**Replies:** 5\
**Last updated:** [January 8, 2010, 1:11pm UTC](https://www.ruby-forum.com/t/warning-come-eccezione-era-rescue-warning/181127 "2010-01-08T13:11:21Z")

</div>

2010/1/4 Paolo M. removed\_email\_address@domain.invalid: la stessa cosa, creando una classe Warning che derivi da Exception e che faccia la puts del messaggio nell’initialize, ma è possibile che ci siano dettagli dei …

---

## [Default to --server?](https://www.ruby-forum.com/t/default-to-server/178324)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [November 3, 2009, 10:18pm UTC](https://www.ruby-forum.com/t/default-to-server/178324 "2009-11-03T22:18:04Z")

</div>

It would be nice if jruby defaulted to --server (at least for me, I can’t think of when I would want it to default to client). Thanks! -r

---

## [Mysql date out of range](https://www.ruby-forum.com/t/mysql-date-out-of-range/168340)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 5\
**Last updated:** [May 22, 2009, 10:25am UTC](https://www.ruby-forum.com/t/mysql-date-out-of-range/168340 "2009-05-22T10:25:57Z")

</div>

Hi ruby community, I use ruby 1.8.6, rails 2.2.2 and mysql 5.045. In my scaffold I use “t.date :birthday”. When I want to save a birthday like 12.05.1970 I can save it. But when I try to save older birthdays like 12…

---

## [Sys-filesystem interface advice](https://www.ruby-forum.com/t/sys-filesystem-interface-advice/161141)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 5\
**Last updated:** [February 27, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/sys-filesystem-interface-advice/161141 "2009-02-27T18:01:44Z")

</div>

Hi, I’m going to add the Filesystem.mount\_point method. It will simply return the mount point associated with the given file. Example: Filesystem.mount\_point(’/home/djberge/foo.txt’) # =\> ‘/home’ (RHEL Linux) My di…

---

## [How to make a string upcase?](https://www.ruby-forum.com/t/how-to-make-a-string-upcase/147380)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 5\
**Last updated:** [September 1, 2008, 10:54am UTC](https://www.ruby-forum.com/t/how-to-make-a-string-upcase/147380 "2008-09-01T10:54:30Z")

</div>

I want to change a string to upcase like below: name=@value.upcase But got this error: dynamic constant assignment

---

## [Flipping problem](https://www.ruby-forum.com/t/flipping-problem/143901)

<div class="topic-metadata">

**Author:** [@isaacgerg](https://www.ruby-forum.com/u/isaacgerg)\
**Replies:** 5\
**Last updated:** [July 29, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/flipping-problem/143901 "2008-07-29T18:19:24Z")

</div>

I am sending a known sequence of samples from one USRP to another using the Basix RX/TX d’boards setting the frequency to 24e6. When I rx the sequence, the correlation of it keeps flipping, but not in a way that sug…

---

## [Win32-service-0.6.1 using a Rails Model](https://www.ruby-forum.com/t/win32-service-0-6-1-using-a-rails-model/135243)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 5\
**Last updated:** [April 23, 2008, 10:21pm UTC](https://www.ruby-forum.com/t/win32-service-0-6-1-using-a-rails-model/135243 "2008-04-23T22:21:29Z")

</div>

Windows 2000 SP4 Ruby 1.8.6 Rail 1.2.6 I’m trying to create a Rail application for our internal use to provide a one stop access to services. I’m currently trying to get the Server.status, Service.stop and Service.s…

---

## [Unusual challenges speccing external software](https://www.ruby-forum.com/t/unusual-challenges-speccing-external-software/126305)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 5\
**Last updated:** [January 17, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/unusual-challenges-speccing-external-software/126305 "2008-01-17T18:38:34Z")

</div>

This is something I’ve come up against twice. First, I have an interactive editor which calls vi, emacs, or TextMate (etc.) via Unix, and then loads the file handed to the editor back into IRB after it’s edited and sa…

---

## [Problem with open-uri](https://www.ruby-forum.com/t/problem-with-open-uri/82609)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/problem-with-open-uri/82609 "2007-09-25T22:47:20Z")

</div>

Hi ! I’m unable to open certain URIs with open-uri. Here is the code : require ‘rexml/document’ require ‘open-uri’ xml = REXML::Document.new(open(“http://myoms.net/soap/oms2.wsdl”)) The error I get is : /usr/lib/ru…

---

## [Dubbi di un principiante](https://www.ruby-forum.com/t/dubbi-di-un-principiante/112712)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 5\
**Last updated:** [August 24, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/dubbi-di-un-principiante/112712 "2007-08-24T15:07:15Z")

</div>

Ciao a tutti, ho iniziato da poco a studiare ruby grazie alla guida su HTML.it e ne sono subito rimasto affascinato. Ho comprato anche il libro della apogeo scritto da Marco C. e piano piano mi sto portando avanti ma …

---

## [Severe newbie question (class, fixnum, array)](https://www.ruby-forum.com/t/severe-newbie-question-class-fixnum-array/106881)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 5\
**Last updated:** [June 15, 2007, 12:30am UTC](https://www.ruby-forum.com/t/severe-newbie-question-class-fixnum-array/106881 "2007-06-15T00:30:30Z")

</div>

I worked a lot in tcl, and this is my first day of trying something in Ruby. Second, maybe. class Thread def initialize number @number = number ; # @replies = 0 ; end ; # initialize def filename dirname = “./data…

---

## [Why does Array#first not use rb\_ary\_subseq?](https://www.ruby-forum.com/t/why-does-array-first-not-use-rb-ary-subseq/104476)

<div class="topic-metadata">

**Author:** [@apeiros](https://www.ruby-forum.com/u/apeiros)\
**Replies:** 5\
**Last updated:** [May 18, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/why-does-array-first-not-use-rb-ary-subseq/104476 "2007-05-18T16:22:09Z")

</div>

Hi there When I run a small bench I noticed that Array#first(n) with an argument is vastly slower than Array#\[0,n\]. Poking a bit in the source revealed that Array#\[\] uses rb\_ary\_subseq, which seems to create a COW Ar…

---

## [Problem with RC2 (and rails 1.6? ...)](https://www.ruby-forum.com/t/problem-with-rc2-and-rails-1-6/88355)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 5\
**Last updated:** [March 10, 2007, 1:02am UTC](https://www.ruby-forum.com/t/problem-with-rc2-and-rails-1-6/88355 "2007-03-10T01:02:34Z")

</div>

Hello. I installed the 0.6 RC2 version. I don’t get any filter (thus I don’t get the styled blog text right) and also get an error when I click on “extensions” in the admin UI. In the web server log (litespeed) I get…

---

## [Incomplete log messages](https://www.ruby-forum.com/t/incomplete-log-messages/85250)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 5\
**Last updated:** [February 20, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/incomplete-log-messages/85250 "2007-02-20T21:07:56Z")

</div>

I’m not sure if this belongs here. It is in reference to an app “deployed” on my local machine. The general Rails group had no advice on the topic, though. I’m in the process of switching from Windows XP to OS X, an…

---

## [How to have default date for date\_select](https://www.ruby-forum.com/t/how-to-have-default-date-for-date-select/81718)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 5\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/how-to-have-default-date-for-date-select/81718 "2007-01-19T16:31:25Z")

</div>

lo there all, i want to have a date\_select heper default to the year 2006, but cant seem to find out how to pull it off. any takers ?

---

## [FastRI 0.2.1: faster full-text searching, multiple queries,](https://www.ruby-forum.com/t/fastri-0-2-1-faster-full-text-searching-multiple-queries/77010)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 5\
**Last updated:** [November 23, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/fastri-0-2-1-faster-full-text-searching-multiple-queries/77010 "2006-11-23T18:05:30Z")

</div>

FastRI is an alternative to the ri command-line tool. It is much faster, and also allows you to offer RI lookup services over DRb. FastRI is smarter than ri, and can find classes anywhere in the hierarchy without spe…

---

## [Release 3.0.1 Unofficial Tarballs](https://www.ruby-forum.com/t/release-3-0-1-unofficial-tarballs/75264)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 5\
**Last updated:** [November 9, 2006, 8:09am UTC](https://www.ruby-forum.com/t/release-3-0-1-unofficial-tarballs/75264 "2006-11-09T08:09:42Z")

</div>

Unofficial tarballs for GNU Radio release 3.0.1 are available at: http://gnuradio.org/releases/gnuradio/gnuradio-3.0.1.tar.gz http://gnuradio.org/releases/gnuradio/gr-howto-write-a-block-3.0.1.tar.gz The release histo…

---

## [Re: Expressions rÃ?(c)gu?](https://www.ruby-forum.com/t/re-expressions-ra-c-gu/72997)

<div class="topic-metadata">

**Author:** [@evaisse](https://www.ruby-forum.com/u/evaisse)\
**Replies:** 5\
**Last updated:** [October 20, 2006, 5:46pm UTC](https://www.ruby-forum.com/t/re-expressions-ra-c-gu/72997 "2006-10-20T17:46:20Z")

</div>

FÃ©licitations, l’explication Ã©tait courte, complÃ¨te et limpide, merci beaucoup. Tu pourrais le publier quelque part tel quel ou sous “De l’interÃªt de l’encodage UTF-8 par rapport aux ISO, utf-16 et 32” ? Merci en…

---

## [Best way to use partial rendering in global layout](https://www.ruby-forum.com/t/best-way-to-use-partial-rendering-in-global-layout/81535)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [March 14, 2006, 7:12pm UTC](https://www.ruby-forum.com/t/best-way-to-use-partial-rendering-in-global-layout/81535 "2006-03-14T19:12:56Z")

</div>

I have a global layout in application.rhtml and I’d like to render a partial template within it. Currently, I have this: \<%= render (:partial =\> ‘side\_nav’) %\> but it seems to be looking in the controller specific vi…

---

## [FCGI Scripts: spawner/reaper](https://www.ruby-forum.com/t/fcgi-scripts-spawner-reaper/61669)

<div class="topic-metadata">

**Author:** [@lists](https://www.ruby-forum.com/u/lists)\
**Replies:** 5\
**Last updated:** [December 6, 2005, 2:44am UTC](https://www.ruby-forum.com/t/fcgi-scripts-spawner-reaper/61669 "2005-12-06T02:44:16Z")

</div>

We are doing performance testing for Rails site that will be going live soon and probably see a fair amount of traffic. We are currently using FCGI for deployment (though we may switch to SCGI down the line as it mat…

---

## [Progression as beginner](https://www.ruby-forum.com/t/progression-as-beginner/238077)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [December 16, 2013, 12:56pm UTC](https://www.ruby-forum.com/t/progression-as-beginner/238077 "2013-12-16T12:56:33Z")

</div>

I have been learning ruby for the last couple of days and have found it great so far, I come from a Java background so many concepts and even some of the syntax sticks. What’s troubling me is that there are no highly …

---

## [About using drb to read data](https://www.ruby-forum.com/t/about-using-drb-to-read-data/220402)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 18, 2012, 11:31am UTC](https://www.ruby-forum.com/t/about-using-drb-to-read-data/220402 "2012-06-18T11:31:50Z")

</div>

In my codes , I use drb to read data from a pipe. I want to read the pipe data and let them show in client as well as in server. But it cannot done successfully.The results show the pipe date will be splitted in serve…

---

## [\[Ruby 1.9-Bug#4013\]\[Open\] rake/test\_tasks.rb fails if ENV assined test value](https://www.ruby-forum.com/t/ruby-1-9-bug-4013-open-rake-test-tasks-rb-fails-if-env-assined-test-value/198450)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [November 4, 2010, 5:35am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4013-open-rake-test-tasks-rb-fails-if-env-assined-test-value/198450 "2010-11-04T05:35:42Z")

</div>

Bug #4013: rake/test\_tasks.rb fails if ENV assined test value http://redmine.ruby-lang.org/issues/show/4013 $B5/I\<\<T(B: Akio T. $B%9%F!\<%?%9(B: Open, $BM%@john(B: Normal $B%+%F%4%j(B: test, Target version: 1.9.2 rub…

---

## [Life without Method Overloading?](https://www.ruby-forum.com/t/life-without-method-overloading/187171)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 6\
**Last updated:** [April 19, 2010, 10:47am UTC](https://www.ruby-forum.com/t/life-without-method-overloading/187171 "2010-04-19T10:47:44Z")

</div>

How do Ruby programmers handle method overloading? In Java, I could easily create several methods of the same name that accept a variety of input. I know in Ruby, using \*args you can accept an unlimited number of par…

---

## [Own exception classes](https://www.ruby-forum.com/t/own-exception-classes/187012)

<div class="topic-metadata">

**Author:** [@lykos](https://www.ruby-forum.com/u/lykos)\
**Replies:** 6\
**Last updated:** [April 15, 2010, 7:57pm UTC](https://www.ruby-forum.com/t/own-exception-classes/187012 "2010-04-15T19:57:00Z")

</div>

Hi, I’m working at a bigger private project with my brother now and I wanted to ask, in which cases you recommend own exception classes. One possibility would just be to use no own exceptions and just use raise “mess…

---

## [JRuby startup very slow on Win7](https://www.ruby-forum.com/t/jruby-startup-very-slow-on-win7/178569)

<div class="topic-metadata">

**Author:** [@fmate14](https://www.ruby-forum.com/u/fmate14)\
**Replies:** 6\
**Last updated:** [November 6, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/jruby-startup-very-slow-on-win7/178569 "2009-11-06T20:11:47Z")

</div>

Is it normal that printing “1” requires more than five second? Sorry my english. I am new to ruby, currently I use PHP and Perl in Windows, but I don’t like PHP and Perl is not 100% compatible to Windows (nor Ruby, as…

---

## [Mixing Ruby/JRuby while developing a rails app?](https://www.ruby-forum.com/t/mixing-ruby-jruby-while-developing-a-rails-app/175651)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 6\
**Last updated:** [September 17, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/mixing-ruby-jruby-while-developing-a-rails-app/175651 "2009-09-17T13:13:15Z")

</div>

I’ve been trying to find a good answer to this, but have been coming up empty handed… I love JRuby and have one production rails app out there using it now, with a second on the way. My question, however, is about u…

---

## [Grab Image From Web Server](https://www.ruby-forum.com/t/grab-image-from-web-server/51026)

<div class="topic-metadata">

**Author:** [@lists](https://www.ruby-forum.com/u/lists)\
**Replies:** 6\
**Last updated:** [April 20, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/grab-image-from-web-server/51026 "2009-04-20T15:48:47Z")

</div>

Hi, I am still fairly new to Ruby. Given the URL of an image, I would like to craft some code that grabs the image from the remote Web server and puts it in a file on the local machine. Can anyone give me some tips…

---

## [Bluecloth-2.0.0 released](https://www.ruby-forum.com/t/bluecloth-2-0-0-released/165085)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 6\
**Last updated:** [April 10, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/bluecloth-2-0-0-released/165085 "2009-04-10T19:37:10Z")

</div>

I tried to post this announcement twice yesterday, but both seem to have gotten lost. Anyway, I’d like to announce a brand new version of BlueCloth. You can read the announcement here: http://deveiate.org/bluecloth2-a…

---

## [Self introduction - rails newbie here saying hello](https://www.ruby-forum.com/t/self-introduction-rails-newbie-here-saying-hello/124238)

<div class="topic-metadata">

**Author:** [@mel\_ram](https://www.ruby-forum.com/u/mel_ram)\
**Replies:** 6\
**Last updated:** [December 27, 2007, 1:58am UTC](https://www.ruby-forum.com/t/self-introduction-rails-newbie-here-saying-hello/124238 "2007-12-27T01:58:16Z")

</div>

hey folks, I am a marketer adventuring into the realms of rails… so I figured I should drop in with a hello to everyone and introduce myself. I run a design & marketing company called Volcanic Marketing. My main exper…

---

## [REST y campos ocultos](https://www.ruby-forum.com/t/rest-y-campos-ocultos/121117)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 6\
**Last updated:** [November 26, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/rest-y-campos-ocultos/121117 "2007-11-26T23:01:56Z")

</div>

\[Este es un followup a un comentario que hice esta tarde durante la ponencia de Juan Quemada y Joaquin Salvachua.\] Cuando comente lo de los hidden fields quedo la cosa ahi como medio descolgada porque me di cuenta de …

---

## [How to pass 2 variables to controller from \<a href="#" onCli](https://www.ruby-forum.com/t/how-to-pass-2-variables-to-controller-from-a-href-oncli/116685)

<div class="topic-metadata">

**Author:** [@narozk](https://www.ruby-forum.com/u/narozk)\
**Replies:** 6\
**Last updated:** [October 10, 2007, 7:15pm UTC](https://www.ruby-forum.com/t/how-to-pass-2-variables-to-controller-from-a-href-oncli/116685 "2007-10-10T19:15:52Z")

</div>

I want to pass 2 variables (@variableA, @variableB) to my controller “search” when the following href is clicked: myView.rhtml: HOTEL I need the 2 variables for my condition string, which should work something l…

---

## [How does google do the "did you mean...."?](https://www.ruby-forum.com/t/how-does-google-do-the-did-you-mean/107101)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 6\
**Last updated:** [June 18, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/how-does-google-do-the-did-you-mean/107101 "2007-06-18T15:17:06Z")

</div>

I have a search on my website that search names, so I know all of the values they could enter. How do I do something like google where if I type jonson it would say “did you mean johnson”? Any ideas? Thanks.

---

## [Writing A Ruby Shell](https://www.ruby-forum.com/t/writing-a-ruby-shell/103997)

<div class="topic-metadata">

**Author:** [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Replies:** 6\
**Last updated:** [May 18, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/writing-a-ruby-shell/103997 "2007-05-18T20:06:00Z")

</div>

Hello all, I'm writing a Ruby shell for Ubuntu Linux 7.04. I would like my shell to take commands from the user, run the command, output the result to the command line, and log the result in a file. But I am having t…

---

## [Run test scripts concurrently](https://www.ruby-forum.com/t/run-test-scripts-concurrently/73512)

<div class="topic-metadata">

**Author:** [@Chris\_McMahon](https://www.ruby-forum.com/u/Chris_McMahon)\
**Replies:** 6\
**Last updated:** [October 25, 2006, 9:06am UTC](https://www.ruby-forum.com/t/run-test-scripts-concurrently/73512 "2006-10-25T09:06:22Z")

</div>

I’ve been futzing with this for some time and I am out of ideas. I have a number of files named “test\_something.rb” that each contain one test like so: class TC\_foo \< Test::Unit::TestCase def test\_foo #do some stuff …

---

## [\[QUIZ\] Pen and Paper (#90)](https://www.ruby-forum.com/t/quiz-pen-and-paper-90/65054)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 6\
**Last updated:** [August 17, 2006, 10:52am UTC](https://www.ruby-forum.com/t/quiz-pen-and-paper-90/65054 "2006-08-17T10:52:53Z")

</div>

This quiz reminds me about Knight Tour problem. So, I solve this quiz using brute-forcing combine with JC Warnsdorff (1823) rule. Move to the next case where has the minimum number of exits, if it fail then backtrackin…

---

## [rmagick-\>X11 on MacTel Howto?](https://www.ruby-forum.com/t/rmagick-x11-on-mactel-howto/61042)

<div class="topic-metadata">

**Author:** [@bakki](https://www.ruby-forum.com/u/bakki)\
**Replies:** 6\
**Last updated:** [May 19, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/rmagick-x11-on-mactel-howto/61042 "2006-05-19T20:34:06Z")

</div>

I needed to install rmagick/GraphicsMagick on an IntelMac and did so from Darwinports. Some things work and others don’t work, like rendering fonts which needs X11 fonts and X server. The rmagick page at rubyforge po…

---

## [Upgrade to rails 3.1.3](https://www.ruby-forum.com/t/upgrade-to-rails-3-1-3/214218)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [November 25, 2011, 8:51pm UTC](https://www.ruby-forum.com/t/upgrade-to-rails-3-1-3/214218 "2011-11-25T20:51:48Z")

</div>

Hi! The app that I’m developing is based on Rails 3.1.1. Now 3.1.3 has been released. I’m a bit new to rails so I’m not sure how to safely do the upgrade. How do I upgrade my app from Rails 3.1.1 to 3.1.3? Regards …

---

## [Infinite Loop in Code -- Logic Error](https://www.ruby-forum.com/t/infinite-loop-in-code-logic-error/191746)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 8\
**Last updated:** [July 18, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/infinite-loop-in-code-logic-error/191746 "2010-07-18T15:51:08Z")

</div>

Hi all, I’ve just started my journey as a ruby developer, and I’m going through a couple of exercises that one of my professors sent me, to allow me figure out the syntax. It’s not for an assignment, merely for practi…

---

## [\[Bug:trunk\] readpartial after ungetc fails with text mode](https://www.ruby-forum.com/t/bug-trunk-readpartial-after-ungetc-fails-with-text-mode/184189)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 8\
**Last updated:** [April 20, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/bug-trunk-readpartial-after-ungetc-fails-with-text-mode/184189 "2010-04-20T15:15:20Z")

</div>

e$B1sF#$G$9!#e(B e$B0J2\<$N$h$&$K$9$k$H!“e(B"a” e$B$,=PNO$5$l$k$3$H$r4|BT$9$k$N$G$9$,!"e(B EOFError e$B$K$J$j$^$9!#e(B $ echo -n a \> foo.txt && ./ruby -e ’ open(“foo.txt”, “r+t”) do |f| f.ungetc(f.getc) p f.readpart…

---

## [Hpricot search condition](https://www.ruby-forum.com/t/hpricot-search-condition/175127)

<div class="topic-metadata">

**Author:** [@prashanth\_hiremath](https://www.ruby-forum.com/u/prashanth_hiremath)\
**Replies:** 8\
**Last updated:** [September 10, 2009, 11:26am UTC](https://www.ruby-forum.com/t/hpricot-search-condition/175127 "2009-09-10T11:26:14Z")

</div>

I have an html Central Kolkata Eden Gardens (one of the most famous cricket stadiums in the world), Akashwani Bhavan, All India Radio building Indoor Stadium Fort William, the massive and impregnable British Cita…

---

## [Configuring Textmate for Ruby 1.9.1](https://www.ruby-forum.com/t/configuring-textmate-for-ruby-1-9-1/173643)

<div class="topic-metadata">

**Author:** [@exile](https://www.ruby-forum.com/u/exile)\
**Replies:** 8\
**Last updated:** [August 13, 2009, 4:05am UTC](https://www.ruby-forum.com/t/configuring-textmate-for-ruby-1-9-1/173643 "2009-08-13T04:05:45Z")

</div>

I had just installed Ruby 1.9.1 using MacPorts, but TextMate still interprets Ruby 1.8.6. I had gone into my Shell Variables under preferences and set the following: Variable: TM\_RUBY Path: ./opt/local/bin/ruby1.9 (…

---

## [Module methods](https://www.ruby-forum.com/t/module-methods/169418)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 8\
**Last updated:** [June 9, 2009, 4:57pm UTC](https://www.ruby-forum.com/t/module-methods/169418 "2009-06-09T16:57:43Z")

</div>

I am trying to do this: ==== File: good.rb ==== module Good def init\_module @var = “good” end def life\_is\_good puts “life is #{@var}” end \[… more methods …\] end include X init\_module ======== and in a differ…

---

## [Using variable class names, how?](https://www.ruby-forum.com/t/using-variable-class-names-how/161682)

<div class="topic-metadata">

**Author:** [@msmsms](https://www.ruby-forum.com/u/msmsms)\
**Replies:** 8\
**Last updated:** [March 1, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/using-variable-class-names-how/161682 "2009-03-01T20:33:29Z")

</div>

Hello, I’ve got some code, which I would like to reuse. The only difference between the usages are the class names and therefore the different objects. How would you manage this? Is there a way to take the class name…

---

## [Custom method in model](https://www.ruby-forum.com/t/custom-method-in-model/142658)

<div class="topic-metadata">

**Author:** [@amrita](https://www.ruby-forum.com/u/amrita)\
**Replies:** 8\
**Last updated:** [July 11, 2008, 2:04am UTC](https://www.ruby-forum.com/t/custom-method-in-model/142658 "2008-07-11T02:04:52Z")

</div>

Hello, I am a RAILS beginner and have been building an application that has quite a few models in it. The problem I encounter is the following: There are three models: Contig, Intergenic, Longshortgene A contig has m…

---

## [How much to charge for a freelance project in ruby in the st](https://www.ruby-forum.com/t/how-much-to-charge-for-a-freelance-project-in-ruby-in-the-st/107808)

<div class="topic-metadata">

**Author:** [@urielka](https://www.ruby-forum.com/u/urielka)\
**Replies:** 8\
**Last updated:** [June 26, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/how-much-to-charge-for-a-freelance-project-in-ruby-in-the-st/107808 "2007-06-26T22:11:31Z")

</div>

i work in Israel and i wanted to know how much should i charge per hour for a freelance project in ruby in USA. here in Israel a freelance charge for hour is about 30$ but i think that is too low for USA. also i am g…

---

## [Hash#open! / Hash#close!](https://www.ruby-forum.com/t/hash-open-hash-close/82244)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 8\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/hash-open-hash-close/82244 "2007-01-19T16:31:56Z")

</div>

hi– have a look: class Hash def open! class \<\< self @\_were\_public = public\_instance\_methods - \['close!'\] @\_were\_public.each { |m| private m } def method\_missing(s,\*a) if s.to\_s\[-1,1\] == '=' …

---

## [Switching from development to production?](https://www.ruby-forum.com/t/switching-from-development-to-production/60322)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 8\
**Last updated:** [May 17, 2006, 12:16am UTC](https://www.ruby-forum.com/t/switching-from-development-to-production/60322 "2006-05-17T00:16:18Z")

</div>

I think I’m missing a step here, but they don’t seem to cover this in the AWDWR book… does anybody know the various steps required to switch from development to production mode in Rails? I’ve scoured the application a…

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

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