# Top

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

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

---

## [Eclipse 3rdrail db migration wizard fails](https://www.ruby-forum.com/t/eclipse-3rdrail-db-migration-wizard-fails/235906)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 24, 2013, 1:58pm UTC](https://www.ruby-forum.com/t/eclipse-3rdrail-db-migration-wizard-fails/235906 "2013-07-24T13:58:10Z")

</div>

Hello, I am attempting to do a new db migration on an existing project however when I try to run the migration wizard it fails with the following error in my console window. script/generate migration --force tests …

---

## [Autolog: shortcut for set\_trace\_func to debug ruby via console output, etc](https://www.ruby-forum.com/t/autolog-shortcut-for-set-trace-func-to-debug-ruby-via-console-output-etc/223791)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 18, 2012, 4:18pm UTC](https://www.ruby-forum.com/t/autolog-shortcut-for-set-trace-func-to-debug-ruby-via-console-output-etc/223791 "2012-10-18T16:18:36Z")

</div>

If it helps anyone, I wrote a shortcut for set\_trace\_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily output every line, method, etc. …

---

## [Data lost whe using big file sources](https://www.ruby-forum.com/t/data-lost-whe-using-big-file-sources/218731)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [April 13, 2012, 9:39am UTC](https://www.ruby-forum.com/t/data-lost-whe-using-big-file-sources/218731 "2012-04-13T09:39:43Z")

</div>

Hello gnuradio fellows, I have an issue that appears in all gnuradio versions I used lately (I started with 3.3 and last week I updated to latest from git) and I thought I should post here before allocating the time t…

---

## [Need advice - one large application or many small ones?](https://www.ruby-forum.com/t/need-advice-one-large-application-or-many-small-ones/215795)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 17, 2012, 2:49pm UTC](https://www.ruby-forum.com/t/need-advice-one-large-application-or-many-small-ones/215795 "2012-01-17T14:49:06Z")

</div>

I have about 20 relatively small applications running on the server. They mostly access the same database tables. Is it more efficient to combine them into a single application with lots of controllers or to keep the…

---

## [Open Source Project](https://www.ruby-forum.com/t/open-source-project/208263)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [June 14, 2011, 6:13pm UTC](https://www.ruby-forum.com/t/open-source-project/208263 "2011-06-14T18:13:00Z")

</div>

Hi; Any one interested to Start a Open Source Project in Ruby Thanks, Pankaj Sisodiya

---

## [Controller from plugin not working](https://www.ruby-forum.com/t/controller-from-plugin-not-working/207466)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 26, 2011, 3:18pm UTC](https://www.ruby-forum.com/t/controller-from-plugin-not-working/207466 "2011-05-26T15:18:12Z")

</div>

I have a controller: vendor/plugins/buoy\_report/lib/app/controllers/ buoy\_station\_controller.rb class BuoyStationController \< ActionController::Base def index render :text =\> ‘buoy test’ end end when I try the ur…

---

## [Unexpected problem: hash\[key\] \<\< value](https://www.ruby-forum.com/t/unexpected-problem-hash-key-value/204280)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [March 9, 2011, 9:37am UTC](https://www.ruby-forum.com/t/unexpected-problem-hash-key-value/204280 "2011-03-09T09:37:21Z")

</div>

ruby 1.9.2p180 (2011-02-18) \[i386-mingw32\] get\_page\_hash = {} get\_page\_hash.default = \[\] File.foreach(“page.txt”) do |line| word, page = line.chomp.split(’:’) get\_page\_hash\[word\] \<\< page # the problem is here end p…

---

## [JRuby 1.2.0RC2 Released](https://www.ruby-forum.com/t/jruby-1-2-0rc2-released/162223)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 6\
**Last updated:** [March 16, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/jruby-1-2-0rc2-released/162223 "2009-03-16T17:05:58Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.2.0RC2 Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.2.0RC2 has fixed many many compatibility issues and continued …

---

## [Instantiate a class dynamically](https://www.ruby-forum.com/t/instantiate-a-class-dynamically/158510)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 24, 2009, 3:23am UTC](https://www.ruby-forum.com/t/instantiate-a-class-dynamically/158510 "2009-01-24T03:23:02Z")

</div>

Hey All, If I have the name of a class in a string var, is it possible to get a new instance of that class (and if so, how)? The following do not work: my\_string = “Hash” my\_object = Class(my\_string) my\_object = C…

---

## [New to Rails... Help!](https://www.ruby-forum.com/t/new-to-rails-help/154576)

<div class="topic-metadata">

**Author:** [@den1jay](https://www.ruby-forum.com/u/den1jay)\
**Replies:** 6\
**Last updated:** [December 2, 2008, 3:56pm UTC](https://www.ruby-forum.com/t/new-to-rails-help/154576 "2008-12-02T15:56:04Z")

</div>

I am new to Ruby/InstantRails. I am using InstantRails 2.0.2 with mysql database My application is named Area, it has two tables: people and country Table people has two columns: name and tribe Table country has two …

---

## [Need exceptions in JRuby available in Java code that called it](https://www.ruby-forum.com/t/need-exceptions-in-jruby-available-in-java-code-that-called-it/148779)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 6\
**Last updated:** [September 20, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/need-exceptions-in-jruby-available-in-java-code-that-called-it/148779 "2008-09-20T17:03:42Z")

</div>

I’ve implemented a DSL in JRuby that I’m making available from a Java method. My Java code has to run in Java 5 (cannot run in Java 6), so I started out using BSF. However, my JRuby exceptions were not making it up …

---

## [Can't get it going on mac](https://www.ruby-forum.com/t/cant-get-it-going-on-mac/141102)

<div class="topic-metadata">

**Author:** [@philswenson](https://www.ruby-forum.com/u/philswenson)\
**Replies:** 6\
**Last updated:** [June 22, 2008, 11:15pm UTC](https://www.ruby-forum.com/t/cant-get-it-going-on-mac/141102 "2008-06-22T23:15:12Z")

</div>

I’m on OS X 10.5.3. I just downloaded 1.1.3 and unzipped it. Went to the jruby/bin dir. made everything executable. When I run jruby I get: zeppelin:bin pswenson$ jruby Exception in thread “main” java.lang.NoClas…

---

## [Checked in a Rakefile that should work correctly with Linux filesystem](https://www.ruby-forum.com/t/checked-in-a-rakefile-that-should-work-correctly-with-linux-filesystem/118203)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 6\
**Last updated:** [October 26, 2007, 3:16am UTC](https://www.ruby-forum.com/t/checked-in-a-rakefile-that-should-work-correctly-with-linux-filesystem/118203 "2007-10-26T03:16:06Z")

</div>

Can someone with a Linux box please verify that this works correctly? Thanks, -John

---

## [Limitar resultados](https://www.ruby-forum.com/t/limitar-resultados/110549)

<div class="topic-metadata">

**Author:** [@fernandosilva](https://www.ruby-forum.com/u/fernandosilva)\
**Replies:** 6\
**Last updated:** [July 27, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/limitar-resultados/110549 "2007-07-27T23:12:59Z")

</div>

Buenas Tengo esta instrucciÃ³n que crea un loop y pinta tantos checkbox (u opciones) como tengo en la base de datos. Es decir si tengo 20 pinta 20 checkbox, si 5, pinta 5. El caso es que yo quiero limitar a 5 los ch…

---

## [Script/runner inside BackgrounDRb worker](https://www.ruby-forum.com/t/script-runner-inside-backgroundrb-worker/108929)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 6\
**Last updated:** [July 9, 2007, 11:39pm UTC](https://www.ruby-forum.com/t/script-runner-inside-backgroundrb-worker/108929 "2007-07-09T23:39:58Z")

</div>

How can I do this? When I try “rake backgroundrb:start” now, I get this error: /usr/lib/ruby/1.8/rubygems/custom\_require.rb:27:in \`gem\_original\_require’: /home/joe/projects/edu/config/…/script/backgroundrb/…/…/config…

---

## [Programming Ruby: Improvements, copyright issues](https://www.ruby-forum.com/t/programming-ruby-improvements-copyright-issues/92985)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [April 27, 2007, 10:42am UTC](https://www.ruby-forum.com/t/programming-ruby-improvements-copyright-issues/92985 "2007-04-27T10:42:29Z")

</div>

I’ve been learning Ruby with the help of version 1 of the introductory book Programming Ruby, which has been released by the publisher under the Open Publication License. Of course, there are newer books available, bu…

---

## [Basic Ruby question](https://www.ruby-forum.com/t/basic-ruby-question/83076)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 6\
**Last updated:** [January 23, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/basic-ruby-question/83076 "2007-01-23T16:35:52Z")

</div>

hi all, Understanding function has product = Product.find(params\[:id\]) and @cart = find\_cart . Correct me if I’m wrong but I think you always need a @ before a variable? product hasn’t got this. Does this mean product …

---

## [Can't convert Hash into String](https://www.ruby-forum.com/t/cant-convert-hash-into-string/82208)

<div class="topic-metadata">

**Author:** [@athind](https://www.ruby-forum.com/u/athind)\
**Replies:** 6\
**Last updated:** [January 20, 2007, 3:38am UTC](https://www.ruby-forum.com/t/cant-convert-hash-into-string/82208 "2007-01-20T03:38:15Z")

</div>

Hello, I have a DB table CREATE TABLE dbo.bookdetails ( id numeric(38,0) NOT NULL, name varchar(2048) NOT NULL, system varchar(2048) NOT NULL, desk varchar(2048) NOT NULL, strategy varchar(2048) N…

---

## [\[ANN\] FasterHTMLEscape, an h replacement](https://www.ruby-forum.com/t/ann-fasterhtmlescape-an-h-replacement/79061)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 6\
**Last updated:** [December 13, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/ann-fasterhtmlescape-an-h-replacement/79061 "2006-12-13T21:01:30Z")

</div>

h is a function commonly used in .rhtml templates to escape HTML data (e.g. “\<%=h html %\>”). It is defined in ERB::Util#html\_escape (h is an alias). It’s implementation is relatively unoptimized, requiring a separat…

---

## [Restricting access to files uploaded by file\_column](https://www.ruby-forum.com/t/restricting-access-to-files-uploaded-by-file-column/62078)

<div class="topic-metadata">

**Author:** [@donsdgr81](https://www.ruby-forum.com/u/donsdgr81)\
**Replies:** 6\
**Last updated:** [May 31, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/restricting-access-to-files-uploaded-by-file-column/62078 "2006-05-31T22:33:35Z")

</div>

Hi Guys, Does anyone know how to restrict access on files that you upload in file column to certain users only? I notice that files being saved by the file\_column by default are being saved under the public folder and…

---

## [Migrations don't really support transactions](https://www.ruby-forum.com/t/migrations-dont-really-support-transactions/60181)

<div class="topic-metadata">

**Author:** [@Eden\_B](https://www.ruby-forum.com/u/Eden_B)\
**Replies:** 6\
**Last updated:** [May 16, 2006, 11:07pm UTC](https://www.ruby-forum.com/t/migrations-dont-really-support-transactions/60181 "2006-05-16T23:07:50Z")

</div>

I read in various places that although migrations aren’t transactional, all you need to do is wrap you migration method in “ActiveRecord:: Base.connection.transaction do” to make the self.up or self.down transactiona…

---

## [Specifying none/single/many conditions at the same time](https://www.ruby-forum.com/t/specifying-none-single-many-conditions-at-the-same-time/54740)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 6\
**Last updated:** [March 22, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/specifying-none-single-many-conditions-at-the-same-time/54740 "2006-03-22T21:21:30Z")

</div>

Hi! It’s rather ruby question than rails… I have a single ‘list’ action where i call paginate method. I can receive none, 1 or 2 variables that specify conditions for paginate method. How to write the code so i can …

---

## [What does this error mean when using scaffold?](https://www.ruby-forum.com/t/what-does-this-error-mean-when-using-scaffold/51426)

<div class="topic-metadata">

**Author:** [@frocco](https://www.ruby-forum.com/u/frocco)\
**Replies:** 6\
**Last updated:** [December 31, 2005, 4:49pm UTC](https://www.ruby-forum.com/t/what-does-this-error-mean-when-using-scaffold/51426 "2005-12-31T16:49:31Z")

</div>

Last login: Fri Dec 30 15:34:43 on ttyp1 source /private/var/tmp/folders.501/TemporaryItems/Locomotive. 1135999534.992790-16807 Welcome to Darwin! frank-roccos-powerbook58:~ farocco$ source /private/var/tmp/folders. …

---

## [Do form helpers work with iteration?](https://www.ruby-forum.com/t/do-form-helpers-work-with-iteration/48747)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 6\
**Last updated:** [November 24, 2005, 1:25pm UTC](https://www.ruby-forum.com/t/do-form-helpers-work-with-iteration/48747 "2005-11-24T13:25:09Z")

</div>

I’m trying to do: \<% for item in @items %\> … \<%= text\_field(‘item\[\]’, ‘title’) %\> \<%= check\_box(‘item\[\]’, ‘active’) %\> … \<% end %\> Possible? I get a nil object error. thanks csn Yahoo! Music Unlimited Access …

---

## [Send response from View/HAML into params/controller](https://www.ruby-forum.com/t/send-response-from-view-haml-into-params-controller/259102)

<div class="topic-metadata">

**Author:** [@uniquw](https://www.ruby-forum.com/u/uniquw)\
**Replies:** 0\
**Last updated:** [April 1, 2020, 6:50am UTC](https://www.ruby-forum.com/t/send-response-from-view-haml-into-params-controller/259102 "2020-04-01T06:50:41Z")

</div>

I want to pass the response from current status and desired status form tab into parmas of “link\_to change status button”. form-group %label.control-label Current status = select\_tag :current\_status, content\_tag(:op…

---

## [Add in embedded python block other embedded python block](https://www.ruby-forum.com/t/add-in-embedded-python-block-other-embedded-python-block/251070)

<div class="topic-metadata">

**Author:** [@user123456789](https://www.ruby-forum.com/u/user123456789)\
**Replies:** 0\
**Last updated:** [November 16, 2018, 9:19am UTC](https://www.ruby-forum.com/t/add-in-embedded-python-block-other-embedded-python-block/251070 "2018-11-16T09:19:10Z")

</div>

Hello, I have developed an embedded python block in which I would like to import some files (other embedded python block) in order to avoid rewriting the existing code. I have already tried “import /path/file\_name”, b…

---

## [Visual Ruby installation problem](https://www.ruby-forum.com/t/visual-ruby-installation-problem/250985)

<div class="topic-metadata">

**Author:** [@ZapBranigan](https://www.ruby-forum.com/u/ZapBranigan)\
**Replies:** 0\
**Last updated:** [November 9, 2018, 11:58pm UTC](https://www.ruby-forum.com/t/visual-ruby-installation-problem/250985 "2018-11-09T23:58:34Z")

</div>

Greets to the Ruby community, I, of course, am a new comer to Ruby, and as part of my “learning” experience I have begun moving towards GUI’s for Ruby. Came across Visual Ruby and wanted to give it a try, followed the i…

---

## [Can't Override Widget class in Gtk3](https://www.ruby-forum.com/t/cant-override-widget-class-in-gtk3/244561)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [May 4, 2016, 1:33am UTC](https://www.ruby-forum.com/t/cant-override-widget-class-in-gtk3/244561 "2016-05-04T01:33:31Z")

</div>

Hi: I’m working on an upgrade to visualruby that uses gtk3! However, I’ve run into a few problems. In my first version of visualruby, I added to the Gtk::Widget class: Module Gtk class Widget … end end Howver, w…

---

## [Issues with nginx-gridfs 3rd party module](https://www.ruby-forum.com/t/issues-with-nginx-gridfs-3rd-party-module/233910)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 25, 2015, 11:01am UTC](https://www.ruby-forum.com/t/issues-with-nginx-gridfs-3rd-party-module/233910 "2015-01-25T11:01:37Z")

</div>

Hi, I’ve compiled and installed nginx with gridfs module as given by the instuctions and it got installed successfully. But then when I configure the nginx.conf with gridfs directive and restart the nginx server it f…

---

## [Ruby Kata FizzBuzz](https://www.ruby-forum.com/t/ruby-kata-fizzbuzz/237679)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 24, 2013, 9:52pm UTC](https://www.ruby-forum.com/t/ruby-kata-fizzbuzz/237679 "2013-11-24T21:52:37Z")

</div>

Ciao a tutti, nel mio tempo libero sto studiando ruby e inoltre, per fare pratica con TDD, ho deciso di addrentrarmi nel mondo dei Kata. Ho implementato una soluzione in Ruby del FizzBuzz Kata. La potete trovare qui…

---

## [Couldn't reload a module when it's changed. Tried :require\_dependency, :watchable\_dirs, :unloadable](https://www.ruby-forum.com/t/couldnt-reload-a-module-when-its-changed-tried-require-dependency-watchable-dirs-unloadable/220377)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 8, 2012, 2:30pm UTC](https://www.ruby-forum.com/t/couldnt-reload-a-module-when-its-changed-tried-require-dependency-watchable-dirs-unloadable/220377 "2012-06-08T14:30:25Z")

</div>

I’m completely messed with module reloading in development mode. I have to restart app server each time I edit lib/z/nginx.rb which is included in app/models/user\_case.rb app/models/user\_case.rb require\_dependency ‘z…

---

## [Error Installing Passenger with nginx](https://www.ruby-forum.com/t/error-installing-passenger-with-nginx/210825)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 18, 2011, 4:10pm UTC](https://www.ruby-forum.com/t/error-installing-passenger-with-nginx/210825 "2011-08-18T16:10:28Z")

</div>

I’ve been trying to set up my ROR app on AIX 5.3 with Passenger. Tried all the different options. Till last night, I was getting below: Commands: cd /path to my app passenger start src/os/unix/ngx\_errno.c: In functi…

---

## [java.lang.ClassFormatError, jruby's bug or JVM's](https://www.ruby-forum.com/t/java-lang-classformaterror-jrubys-bug-or-jvms/204578)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 17, 2011, 1:33am UTC](https://www.ruby-forum.com/t/java-lang-classformaterror-jrubys-bug-or-jvms/204578 "2011-03-17T01:33:50Z")

</div>

Hi all Couple of days ago, I post a message of “java.lang.ClassFormatError under IBM java”. With the new release of the Jruby 1.60, the same thing happens again. Is this a bug of Jruby or it is something related to I…

---

## [How to use unicorn server on Rails 3](https://www.ruby-forum.com/t/how-to-use-unicorn-server-on-rails-3/200307)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [March 10, 2011, 10:58am UTC](https://www.ruby-forum.com/t/how-to-use-unicorn-server-on-rails-3/200307 "2011-03-10T10:58:54Z")

</div>

I am using Rails 3.0.3, Ruby 1.9.2 with rvm on Ubunutu 10.04. I generated a new app by rails new testunicorn. By default the Webrick server runs ok. In order to try Unicorn I uncommented gem ‘unicorn’ in Gemfile an…

---

## [Come si fa a vedere quale versione di una gemma usa ruby?](https://www.ruby-forum.com/t/come-si-fa-a-vedere-quale-versione-di-una-gemma-usa-ruby/176628)

<div class="topic-metadata">

**Author:** [@sdpurtill](https://www.ruby-forum.com/u/sdpurtill)\
**Replies:** 3\
**Last updated:** [October 4, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/come-si-fa-a-vedere-quale-versione-di-una-gemma-usa-ruby/176628 "2009-10-04T17:51:54Z")

</div>

Salve a tutti. Avrei una domanda un po’ banale, ma non sono riuscito a trovare niente da nessuna parte. Ho installato la nuova versione della gemma ibm\_db con gem install ibm\_db adesso gem list --local mi da’: (…) …

---

## [A Noob question about gtk](https://www.ruby-forum.com/t/a-noob-question-about-gtk/172535)

<div class="topic-metadata">

**Author:** [@jjrussell](https://www.ruby-forum.com/u/jjrussell)\
**Replies:** 3\
**Last updated:** [July 23, 2009, 7:17pm UTC](https://www.ruby-forum.com/t/a-noob-question-about-gtk/172535 "2009-07-23T19:17:58Z")

</div>

im putting a few buttons inside of a gtk::alignment, but i can figure how to put them in, i know that im supposed to do something like “add\_child(builder, child, type)” but what do i put for the builder?? sorry if i s…

---

## [Problems installing the rspec and rspec-rails gems](https://www.ruby-forum.com/t/problems-installing-the-rspec-and-rspec-rails-gems/164739)

<div class="topic-metadata">

**Author:** [@vh1](https://www.ruby-forum.com/u/vh1)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 5:12am UTC](https://www.ruby-forum.com/t/problems-installing-the-rspec-and-rspec-rails-gems/164739 "2009-04-05T05:12:02Z")

</div>

Hello, Just purchased my first mac for Ruby on Rails development and I’m in the process of setting up the environment and installing rspec and rspec-rails. I’m getting the following error message when trying to insta…

---

## [How to open an xls file](https://www.ruby-forum.com/t/how-to-open-an-xls-file/128191)

<div class="topic-metadata">

**Author:** [@houdev](https://www.ruby-forum.com/u/houdev)\
**Replies:** 3\
**Last updated:** [February 6, 2008, 10:54am UTC](https://www.ruby-forum.com/t/how-to-open-an-xls-file/128191 "2008-02-06T10:54:00Z")

</div>

Hi, I have a blocking problem and I really need urgent help. i’m very new in ruby and i find it great… I woudl like to open an xls file, but I get the following error : c:/ruby/lib/ruby/site\_ruby/1.8/parseexcel/oles…

---

## [Specing with Subdomains as Account Keys](https://www.ruby-forum.com/t/specing-with-subdomains-as-account-keys/118396)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 3\
**Last updated:** [October 26, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/specing-with-subdomains-as-account-keys/118396 "2007-10-26T21:42:11Z")

</div>

How do you go about implementing and rspecing subdomains as account keys? I’m sure that this must be an issues for others as well. So I have an app using subdomains as account keys. The Application Controller sets up @…

---

## [Attr\_reader, etc for class variables](https://www.ruby-forum.com/t/attr-reader-etc-for-class-variables/78897)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 3\
**Last updated:** [December 10, 2006, 2:07pm UTC](https://www.ruby-forum.com/t/attr-reader-etc-for-class-variables/78897 "2006-12-10T14:07:04Z")

</div>

Is there such a thing? If I have the following code: class Klass @@var = 0 end How can I make an attr\_writer for it besides doing class Klass def var=(other) @@var = other end end I’ve tried all of these to no…

---

## [Backquote and variables](https://www.ruby-forum.com/t/backquote-and-variables/73464)

<div class="topic-metadata">

**Author:** [@rlorimor](https://www.ruby-forum.com/u/rlorimor)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 8:36pm UTC](https://www.ruby-forum.com/t/backquote-and-variables/73464 "2006-10-24T20:36:59Z")

</div>

I am trying to construct a command line to be executed using backquote \`\` notation. i.e. capturing the output to a string e.g. #!/usr/bin/ruby -w file = “/etc/motd” string = "cat " + file puts string % ruby test…

---

## [Submission of RForum modifications](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 3\
**Last updated:** [August 2, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216 "2006-08-02T19:47:57Z")

</div>

I am currently setting up RForum on a site where it is not useful to allow guests to reply to topics or post new topics. Spam will be rife. Consequently, I’ve added a configuration switch to the ‘site.rb’ file and ext…

---

## [User\_Engine bootstrap problem](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200)

<div class="topic-metadata">

**Author:** [@Rake\_Bootstrap\_comm](https://www.ruby-forum.com/u/Rake_Bootstrap_comm)\
**Replies:** 3\
**Last updated:** [May 22, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200 "2006-05-22T17:57:00Z")

</div>

When installing the User\_Engine on the latest version of Rails, and issuing the command rake bootstrap, I get the following error. Creating admin user ‘the login name for your administrator user’ rake aborted! Couldn…

---

## [Port forwarding problem](https://www.ruby-forum.com/t/port-forwarding-problem/209918)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [July 27, 2011, 12:00pm UTC](https://www.ruby-forum.com/t/port-forwarding-problem/209918 "2011-07-27T12:00:03Z")

</div>

Hi I have two machines. One is server with nginx and the other is NAT. On server I’ve got mediawiki on port 2222. I forwared port 55555 on my nat to server:2222. I have one big problem. When I try to open NAT\_IP:5555…

---

## [Is an elsif loop possible?](https://www.ruby-forum.com/t/is-an-elsif-loop-possible/204433)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 12, 2011, 12:02am UTC](https://www.ruby-forum.com/t/is-an-elsif-loop-possible/204433 "2011-03-12T00:02:53Z")

</div>

Hi Everyone, I don’t know if this is possible as I haven’t found anything on google or in here. Is it possible to have an elsif to be looped? $Str = gets.chomp if $Str.to\_i \< 0 puts ‘Sorry you cannot be that weak. P…

---

## [Safe nil in rails views](https://www.ruby-forum.com/t/safe-nil-in-rails-views/194771)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 5\
**Last updated:** [September 10, 2010, 10:47am UTC](https://www.ruby-forum.com/t/safe-nil-in-rails-views/194771 "2010-09-10T10:47:07Z")

</div>

If you know grails, there is a feature like this: \<% user.name? %\> that prevents to chek if the value is null or not. In rails view I have to do \<% if user.name %\> \<%= user.name %\> \<% end %\> to display user.name if…

---

## [How to replace mail\_to in Rails 3?](https://www.ruby-forum.com/t/how-to-replace-mail-to-in-rails-3/186980)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 5\
**Last updated:** [April 16, 2010, 11:08pm UTC](https://www.ruby-forum.com/t/how-to-replace-mail-to-in-rails-3/186980 "2010-04-16T23:08:50Z")

</div>

I have just started up grading to Rails 3. mail\_to no longer works, you just get a lot of garbage. With what do I replace it? Thanks Paul Thompson

---

## [\`split': negative string size (or size too big) (ArgumentError)](https://www.ruby-forum.com/t/split-negative-string-size-or-size-too-big-argumenterror/122068)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [December 10, 2007, 5:27am UTC](https://www.ruby-forum.com/t/split-negative-string-size-or-size-too-big-argumenterror/122068 "2007-12-10T05:27:39Z")

</div>

“e$B$”$$$&$($\*e(B".force\_encoding(“euc-jp”).split(//) e$B$He(B (EUC-JP e$B$Ge(B) e$B9T$&$He(B negative string size e$B$H$J$j$^$9!#e(B % ./ruby -ve ‘p “e$B$”$$$&$($\*e(B".force\_encoding(“euc-jp”).split(//)’ ruby 1.9.0 (…

---

## [What command to run all stories?](https://www.ruby-forum.com/t/what-command-to-run-all-stories/120309)

<div class="topic-metadata">

**Author:** [@Ed\_Howland](https://www.ruby-forum.com/u/Ed_Howland)\
**Replies:** 5\
**Last updated:** [November 15, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/what-command-to-run-all-stories/120309 "2007-11-15T19:30:37Z")

</div>

Hi, I’ve been following this thread and I can get the example stories to run with the ruby command. But I’ve been unable to get the example from http://blog.davidchelimsky.net/articles/2007/10/25/plain-text-stories-pa…

---

## [Question about GUI processing order](https://www.ruby-forum.com/t/question-about-gui-processing-order/117418)

<div class="topic-metadata">

**Author:** [@erubin](https://www.ruby-forum.com/u/erubin)\
**Replies:** 5\
**Last updated:** [October 16, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/question-about-gui-processing-order/117418 "2007-10-16T20:42:30Z")

</div>

I am developing a GUI with WxRuby (wxruby-1.9.1-i386-mswin32, ruby-1.8.6). In one of my button event handlers I do the following in this order: set the value of a TextCtrl, show a button (which was hidden), hide the…

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

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