# Top

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

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

---

## [How to output unescaped string to console?](https://www.ruby-forum.com/t/how-to-output-unescaped-string-to-console/160785)

<div class="topic-metadata">

**Author:** [@bobm](https://www.ruby-forum.com/u/bobm)\
**Replies:** 1\
**Last updated:** [February 19, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/how-to-output-unescaped-string-to-console/160785 "2009-02-19T17:24:20Z")

</div>

Hi, whenever I display a string to the console (for debugging purpose) I get a bunch of \\\\ ‘’ “”"" It’s not human readable and really annoying when strings are very long Sometime it prevents me to debug anything as I…

---

## [How to change the owner of a method in a block?](https://www.ruby-forum.com/t/how-to-change-the-owner-of-a-method-in-a-block/148201)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 7\
**Last updated:** [September 11, 2008, 4:14am UTC](https://www.ruby-forum.com/t/how-to-change-the-owner-of-a-method-in-a-block/148201 "2008-09-11T04:14:18Z")

</div>

Hi, let me explain with this simple code: class A def initialize(&blk) blk.call end def hello puts “HELLO !!!” end end a=A.new { hello() } =\> block\_1.rb:13: undefined method hello' for main:Object (NoMethodErr…

---

## [Something wrong with case/when syntax](https://www.ruby-forum.com/t/something-wrong-with-case-when-syntax/140018)

<div class="topic-metadata">

**Author:** [@jjc](https://www.ruby-forum.com/u/jjc)\
**Replies:** 7\
**Last updated:** [June 10, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/something-wrong-with-case-when-syntax/140018 "2008-06-10T18:44:29Z")

</div>

hi, Can You tell me please why this instruction doesn’t want to work properly? It only repeats the: puts “Buy drink: press 1” puts “Print money report: press 2” puts “Print drink report: press 3” puts “Exit: press…

---

## [Model equivalent for controllers/application.rb](https://www.ruby-forum.com/t/model-equivalent-for-controllers-application-rb/130728)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 7\
**Last updated:** [March 21, 2008, 2:51pm UTC](https://www.ruby-forum.com/t/model-equivalent-for-controllers-application-rb/130728 "2008-03-21T14:51:02Z")

</div>

Hi All I have a couple of functions in my modules which are identical. I would like to move them into a separate file and have them available in all modules. For example, the controllers already have one, application.…

---

## [System call calls a PHP script](https://www.ruby-forum.com/t/system-call-calls-a-php-script/123153)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 7\
**Last updated:** [December 16, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/system-call-calls-a-php-script/123153 "2007-12-16T16:14:01Z")

</div>

Hello, I want to generate some PDFs from my Rails app. I use a PHP script to generate the PDF, and it works fine. In my Rails controller, I just have an action that calls : #{full\_command} where full\_command is some…

---

## [Restful Nested Resource without ugly id](https://www.ruby-forum.com/t/restful-nested-resource-without-ugly-id/122422)

<div class="topic-metadata">

**Author:** [@Kei\_Simone](https://www.ruby-forum.com/u/Kei_Simone)\
**Replies:** 7\
**Last updated:** [December 7, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/restful-nested-resource-without-ugly-id/122422 "2007-12-07T16:30:22Z")

</div>

To all: hi i am pretty noob. Basically I am learning via copy and paste, so please forgive me. I am using rails 1.2.6. I built 2 scaffold\_resource called traders and orders. I want a localhost:3000/v1/traders/{trade…

---

## [Emergency help is needed](https://www.ruby-forum.com/t/emergency-help-is-needed/104619)

<div class="topic-metadata">

**Author:** [@anoosh](https://www.ruby-forum.com/u/anoosh)\
**Replies:** 7\
**Last updated:** [May 21, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/emergency-help-is-needed/104619 "2007-05-21T22:21:06Z")

</div>

Hi all I have 2 questions? 1)What are the meaning of symbols(:var) and Instance variables(@x) Ruby?(I know Java and C.If it is possible for you tell me the synonyms in these languages,please) 2)How can I define my…

---

## [Problems with String#hash](https://www.ruby-forum.com/t/problems-with-string-hash/77111)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 7\
**Last updated:** [November 25, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/problems-with-string-hash/77111 "2006-11-25T19:15:30Z")

</div>

Dear devs, I am facing a very NASTY problem with String#hash Here is the same code that I run on 3 different computers: root@kosh:~ # irb irb(main):001:0\> “User”.hash =\> 690465448 irb(main):002:0\> VERSION =\> “1.8.…

---

## [Los programadores de PHP estÃ¡n interesados en migrar a Rail](https://www.ruby-forum.com/t/los-programadores-de-php-esta-n-interesados-en-migrar-a-rail/71875)

<div class="topic-metadata">

**Author:** [@tirano](https://www.ruby-forum.com/u/tirano)\
**Replies:** 7\
**Last updated:** [October 18, 2006, 10:40am UTC](https://www.ruby-forum.com/t/los-programadores-de-php-esta-n-interesados-en-migrar-a-rail/71875 "2006-10-18T10:40:44Z")

</div>

Esta noticia aparece en la web de mis amigos de Maestros del web conozco a Cvander y primero pense qtal vez se dejase llevar un poco por su pasion, pero la noticia esta bien documentada.

---

## [Comp.lang.ruby.rails?](https://www.ruby-forum.com/t/comp-lang-ruby-rails/72203)

<div class="topic-metadata">

**Author:** [@naPOLeon](https://www.ruby-forum.com/u/naPOLeon)\
**Replies:** 7\
**Last updated:** [October 15, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/comp-lang-ruby-rails/72203 "2006-10-15T18:32:43Z")

</div>

I’m a ruby-only developer (so no Rails) and I wondered why there is no special Rails-Group. One main reason for rubys growing popularity is in fact Rails. But if I want to get an answer for a ruby-only-questions, I do…

---

## [Function before\_save](https://www.ruby-forum.com/t/function-before-save/102016)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/function-before-save/102016 "2006-08-15T14:19:20Z")

</div>

Hi everybody I would like a function as the “before\_save” method in the model. But it must be the opposite. When I take out data from the database through the model, I want to call a function before the data are avail…

---

## [Catch "find" exception](https://www.ruby-forum.com/t/catch-find-exception/59158)

<div class="topic-metadata">

**Author:** [@lgao](https://www.ruby-forum.com/u/lgao)\
**Replies:** 7\
**Last updated:** [April 30, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/catch-find-exception/59158 "2006-04-30T20:22:13Z")

</div>

obviously, follow code is not working \<% if !@group.users.find(session\[:user\].id) %\> \<%= link\_to "Join This Group", :action =\> "join", :id =\> @group %\> \<% end %\> “find” always throw an exception. I want to display th…

---

## [\[TIPS\] File\_column plugin and multiple file uploads](https://www.ruby-forum.com/t/tips-file-column-plugin-and-multiple-file-uploads/58740)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 7\
**Last updated:** [April 25, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/tips-file-column-plugin-and-multiple-file-uploads/58740 "2006-04-25T16:23:52Z")

</div>

No…i am not a full time rails developer…i code in pl/sql for paying my bills…and i am just working on a pet project…so i had some trouble in doing…what i specify in the subject…now somehow i solved this problem…so …

---

## [Starting with RJS - not working](https://www.ruby-forum.com/t/starting-with-rjs-not-working/54795)

<div class="topic-metadata">

**Author:** [@Ovidiu\_EFTIMIE](https://www.ruby-forum.com/u/Ovidiu_EFTIMIE)\
**Replies:** 7\
**Last updated:** [March 14, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/starting-with-rjs-not-working/54795 "2006-03-14T14:17:51Z")

</div>

Hi, I’m trying to work with RJS and folowed Cody F.'s tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) I’ve started by creating a new rails applications and executing rake freeze\_edge rak…

---

## [E310 Network Mode](https://www.ruby-forum.com/t/e310-network-mode/241376)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 1, 2015, 9:43pm UTC](https://www.ruby-forum.com/t/e310-network-mode/241376 "2015-04-01T21:43:28Z")

</div>

I am trying to enable the network emulation mode on my E310. It is my understanding that the UHD version must be 3.08 or higher to support this, but is that the UHD version on the laptop or E310? My Lubuntu 14.04 lapt…

---

## [Why does signing in with Mechanize](https://www.ruby-forum.com/t/why-does-signing-in-with-mechanize/232612)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 20, 2014, 4:43pm UTC](https://www.ruby-forum.com/t/why-does-signing-in-with-mechanize/232612 "2014-10-20T16:43:23Z")

</div>

I’m trying to connect automaticaly to a website using Mechanize. I read searched the internet but I can’t find any solution to my problem, which is why when i write nothing in, value = “”, I get \*Incorrect Login or …

---

## [How Can I create a backend admin panel for people to view their bookings?](https://www.ruby-forum.com/t/how-can-i-create-a-backend-admin-panel-for-people-to-view-their-bookings/241037)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 31, 2014, 8:29am UTC](https://www.ruby-forum.com/t/how-can-i-create-a-backend-admin-panel-for-people-to-view-their-bookings/241037 "2014-05-31T08:29:01Z")

</div>

I want to build a website with rails similar to vayable.com , triplelights.com , odesk.com etc. There will be freelancers and people hiring. Once the freelancer is hired, he would need to view a list of bookings. What…

---

## [Redirecting without Plugins](https://www.ruby-forum.com/t/redirecting-without-plugins/226647)

<div class="topic-metadata">

**Author:** [@sirjay](https://www.ruby-forum.com/u/sirjay)\
**Replies:** 2\
**Last updated:** [February 18, 2013, 1:03pm UTC](https://www.ruby-forum.com/t/redirecting-without-plugins/226647 "2013-02-18T13:03:24Z")

</div>

I want to be redirected to the current page, after having logged in. I searched google and only saw ways to do this using certain plugins like devise. Isn’t there a simple Way to implement this path? I start out with …

---

## [TreeView returning a COPY of my renderer?](https://www.ruby-forum.com/t/treeview-returning-a-copy-of-my-renderer/217116)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 22, 2012, 12:51am UTC](https://www.ruby-forum.com/t/treeview-returning-a-copy-of-my-renderer/217116 "2012-02-22T00:51:48Z")

</div>

Hi: I’m writing an API to handle treeviews, and listviews. I’m having a problem with subclassing renderers. I subclassed Gtk::CellRendererToggle, and I’m trying to give it “radio” button functionality: class VR\_Ce…

---

## [Problem with mysql2 gem and Debian](https://www.ruby-forum.com/t/problem-with-mysql2-gem-and-debian/203453)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 20, 2011, 10:59pm UTC](https://www.ruby-forum.com/t/problem-with-mysql2-gem-and-debian/203453 "2011-02-20T22:59:25Z")

</div>

Hi Guys, I’m having an issue with deploying my application and the mysql2 gem. I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3. On my local machine in development environment the application runs just fi…

---

## [Fix for Inability to \`gem update --system\`](https://www.ruby-forum.com/t/fix-for-inability-to-gem-update-system/188807)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 2\
**Last updated:** [May 18, 2010, 8:37pm UTC](https://www.ruby-forum.com/t/fix-for-inability-to-gem-update-system/188807 "2010-05-18T20:37:26Z")

</div>

I’ve got a fix that will allow IronRuby to update RubyGems. It’s a refinement of the technique here: http://marcinobel.com/index.php/bug-invalid-exec\_format-ir/comment-page-1/#comment-428 Judging by the source of Ruby…

---

## [Connect mysql:show tables](https://www.ruby-forum.com/t/connect-mysql-show-tables/187570)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 2\
**Last updated:** [April 26, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/connect-mysql-show-tables/187570 "2010-04-26T22:55:44Z")

</div>

require “mysql” dbh = Mysql.real\_connect(“localhost”, “root”, “\*\*\*\*\*\*”, “valuation”) res = dbh.query(“show tables”) puts res res.free the output is: #Mysql::Result:0x997c014 in mysql console: mysql\> show tables; …

---

## [My Load Balancing configure is fail](https://www.ruby-forum.com/t/my-load-balancing-configure-is-fail/185384)

<div class="topic-metadata">

**Author:** [@ultrawind](https://www.ruby-forum.com/u/ultrawind)\
**Replies:** 2\
**Last updated:** [March 22, 2010, 4:40am UTC](https://www.ruby-forum.com/t/my-load-balancing-configure-is-fail/185384 "2010-03-22T04:40:26Z")

</div>

I config load balancing in my main server. But after I config it,it alway visit server 192.168.1.140, and display “140”. Why it do not go to http://192.168.1.124 in 50%? My main server 192.168.1.124 nginx.conf file: …

---

## [Ruby/GIO style](https://www.ruby-forum.com/t/ruby-gio-style/175947)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 2\
**Last updated:** [September 24, 2009, 12:02am UTC](https://www.ruby-forum.com/t/ruby-gio-style/175947 "2009-09-24T00:02:17Z")

</div>

Hi, I looked Ruby/GIO source and noticed that it doesn’t follow the Ruby-GNOME2 style guideline: http://ruby-gnome2.sourceforge.jp/hiki.cgi?How+to+Implement+Ruby-GNOME2 And please don’t use DECLARE\*, DEF\_, SCAN\_ fami…

---

## [Troubles after installing a extension](https://www.ruby-forum.com/t/troubles-after-installing-a-extension/174695)

<div class="topic-metadata">

**Author:** [@maria](https://www.ruby-forum.com/u/maria)\
**Replies:** 2\
**Last updated:** [August 31, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/troubles-after-installing-a-extension/174695 "2009-08-31T20:46:46Z")

</div>

Hello! I’m having troubles after Mailer Extension installation. I wonder if any extension or gem that I don’t have is required. Attached is a file with the error I get when trying to boot mongrel. In this instance I’…

---

## [A vueltas con passenger](https://www.ruby-forum.com/t/a-vueltas-con-passenger/169048)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 2\
**Last updated:** [May 29, 2009, 11:53pm UTC](https://www.ruby-forum.com/t/a-vueltas-con-passenger/169048 "2009-05-29T23:53:25Z")

</div>

Estaba probando una app con passenger sin dependencias de gemas ni plugins ni cosas raras solo comprobar que funciona, algo tal que así: rails foo && cd foo && scrip/generate controller welcome index && rm public/ind…

---

## [Include path gems hostgator](https://www.ruby-forum.com/t/include-path-gems-hostgator/155867)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 2\
**Last updated:** [May 25, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/include-path-gems-hostgator/155867 "2009-05-25T18:58:12Z")

</div>

i buyed a web hosting. i installed some gems. in the hostgator’s instructions there is write: Using Your Ruby Gem(s) You will need to add /home/nerto/ruby/gems to the include path. You can do this by adding the follo…

---

## [Post action after client closes connection](https://www.ruby-forum.com/t/post-action-after-client-closes-connection/166792)

<div class="topic-metadata">

**Author:** [@romez777](https://www.ruby-forum.com/u/romez777)\
**Replies:** 2\
**Last updated:** [May 4, 2009, 11:21am UTC](https://www.ruby-forum.com/t/post-action-after-client-closes-connection/166792 "2009-05-04T11:21:36Z")

</div>

Hello, This is my scenario: client connects to nginx (proxy\_ignore\_client\_abort is on at this location) nginx sends data from upstream (received by subrequests) back to client when request finishes I want to send co…

---

## [Simple timeout module](https://www.ruby-forum.com/t/simple-timeout-module/242020)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 21, 2015, 10:41am UTC](https://www.ruby-forum.com/t/simple-timeout-module/242020 "2015-05-21T10:41:46Z")

</div>

I’m trying to build a simple timeout module using nginx timers. At the beginning of a request I’m firing up a timer and after time interval elapses I want to check if request has already completed, and if not, finaliz…

---

## [Questions about get\_tags\_in\_range](https://www.ruby-forum.com/t/questions-about-get-tags-in-range/231425)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 7, 2014, 10:24am UTC](https://www.ruby-forum.com/t/questions-about-get-tags-in-range/231425 "2014-08-07T10:24:33Z")

</div>

Hi all: I’m reading the source code ofdm\_chanest\_vcvc\_impl.cc.And I don’t know this command: // Propagate tags std::vectorgr::tag\_t tags; get\_tags\_in\_range(tags, 0,nitems\_read(0), nitems\_read(0)+framesize); I w…

---

## [Where is tcpserver.c Included By socket.c?](https://www.ruby-forum.com/t/where-is-tcpserver-c-included-by-socket-c/220095)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 28, 2012, 11:59pm UTC](https://www.ruby-forum.com/t/where-is-tcpserver-c-included-by-socket-c/220095 "2012-05-28T23:59:55Z")

</div>

Hey folks, I was reading the source to GServer recently and saw that the start method creates a new TCPServer: @tcpServer = TCPServer.new(@host,@port) I checked the includes and can see that there’s socket and thr…

---

## [Dynamically block ips?](https://www.ruby-forum.com/t/dynamically-block-ips/209961)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 27, 2011, 6:39pm UTC](https://www.ruby-forum.com/t/dynamically-block-ips/209961 "2011-07-27T18:39:07Z")

</div>

Hi list, I have a problem; all my website code has been “copied”; those that took it has launched it pretty much the same; just changed the texts and the color scheme. That in itself is annoying, but the main problem…

---

## [Scaffold\_controller generator](https://www.ruby-forum.com/t/scaffold-controller-generator/208286)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 14, 2011, 8:58pm UTC](https://www.ruby-forum.com/t/scaffold-controller-generator/208286 "2011-06-14T20:58:38Z")

</div>

Hi: I’m new to RoR and I apologize if this is a dumb question but I’ve read the guides, searched the archives and found nothing. If I generate a model object and then the scaffold\_controller the result is different t…

---

## [Question about Perl CGI](https://www.ruby-forum.com/t/question-about-perl-cgi/205125)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 30, 2011, 6:06pm UTC](https://www.ruby-forum.com/t/question-about-perl-cgi/205125 "2011-03-30T18:06:08Z")

</div>

Hello, I am trying to integrate Nginx with Perl CGI script. I am following the How-TO http://blog.oddeven.info/nginx-perl-fastcgi-how-to/ My conf file is conf/nginx.conf worker\_processes 1; error\_log logs/error.l…

---

## [Migration numbers](https://www.ruby-forum.com/t/migration-numbers/192439)

<div class="topic-metadata">

**Author:** [@disruptivetechnolog](https://www.ruby-forum.com/u/disruptivetechnolog)\
**Replies:** 8\
**Last updated:** [July 30, 2010, 3:43pm UTC](https://www.ruby-forum.com/t/migration-numbers/192439 "2010-07-30T15:43:29Z")

</div>

Why do the migration numbers not appear. I am following the famous depot example, but I am finding that when I migrate the database using rake db:migrate I get a createproducts file with a long integer string before t…

---

## [Install fcgi 0.8.8 on Ruby-1.8](https://www.ruby-forum.com/t/install-fcgi-0-8-8-on-ruby-1-8/185936)

<div class="topic-metadata">

**Author:** [@gorkimaximum](https://www.ruby-forum.com/u/gorkimaximum)\
**Replies:** 3\
**Last updated:** [March 30, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/install-fcgi-0-8-8-on-ruby-1-8/185936 "2010-03-30T16:39:25Z")

</div>

Hello, I have tried to install the gem fcgi-0.8.8 for Ruby on Windows-Xp. I have installed Fastcgi Development Kit on C:\\fcgi directory and i have compiled the source. The source for fcgi is in “C:\\fcgi\\include” dire…

---

## [JSR 223-Embedded question](https://www.ruby-forum.com/t/jsr-223-embedded-question/179940)

<div class="topic-metadata">

**Author:** [@Heiko\_W.Rupp](https://www.ruby-forum.com/u/Heiko_W.Rupp)\
**Replies:** 3\
**Last updated:** [December 9, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/jsr-223-embedded-question/179940 "2009-12-09T22:06:26Z")

</div>

Hi, I have a ruby script — myScript.rb def avail return 1 end That I can engine.eval () just fine. Also when I do Invocable inv = (Incovable)engine; inv.invokeFuntion(“avail”); this works for a few times and the…

---

## [New to Ruby, New to Programming](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057)

<div class="topic-metadata">

**Author:** [@jonk](https://www.ruby-forum.com/u/jonk)\
**Replies:** 8\
**Last updated:** [September 24, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057 "2009-09-24T18:01:11Z")

</div>

I just started programming about a month ago. I’ve started learning Ruby, C++, and Java just to get a feel for languages. I’m really liking ruby but I’m getting bored of doing super basic programs.(No more Hello World…

---

## [Windows ENV object being corrupted](https://www.ruby-forum.com/t/windows-env-object-being-corrupted/173605)

<div class="topic-metadata">

**Author:** [@hermans](https://www.ruby-forum.com/u/hermans)\
**Replies:** 8\
**Last updated:** [August 21, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/windows-env-object-being-corrupted/173605 "2009-08-21T17:13:20Z")

</div>

I am running in rake ( I have reproduced the problem with a straight ruby script ) and I read in a batch file that has a few hundred environment variables in it. At some magic point when 323 entries are made to the E…

---

## [Paperclip genera problemas re rutas](https://www.ruby-forum.com/t/paperclip-genera-problemas-re-rutas/170642)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/paperclip-genera-problemas-re-rutas/170642 "2009-06-22T19:01:50Z")

</div>

buenas. por favor mirar archivo adjunto. saludos

---

## [The error occurred while evaluating nil.chop](https://www.ruby-forum.com/t/the-error-occurred-while-evaluating-nil-chop/169395)

<div class="topic-metadata">

**Author:** [@yasir](https://www.ruby-forum.com/u/yasir)\
**Replies:** 3\
**Last updated:** [June 3, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/the-error-occurred-while-evaluating-nil-chop/169395 "2009-06-03T17:45:54Z")

</div>

Hi, I am new to Ruby, while running a project I get the following errors: C:\\cairns\\cairns\\cairns\\script\>ruby server =\> Booting WEBrick… server: No such file or directory - uname C:/cairns/cairns/cairns/app/models/n…

---

## [Urgent help please!](https://www.ruby-forum.com/t/urgent-help-please/168923)

<div class="topic-metadata">

**Author:** [@dharshannew](https://www.ruby-forum.com/u/dharshannew)\
**Replies:** 8\
**Last updated:** [May 27, 2009, 12:51pm UTC](https://www.ruby-forum.com/t/urgent-help-please/168923 "2009-05-27T12:51:36Z")

</div>

have this function with whe work cuts the word inbetween which i don’t want want please help. words = “Kid games need to be both fun and educational. Aimed at ages pre-K through middle school, safe environment to disc…

---

## [Can I run the same specs with different gems? Ideas?](https://www.ruby-forum.com/t/can-i-run-the-same-specs-with-different-gems-ideas/168095)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 3\
**Last updated:** [May 17, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/can-i-run-the-same-specs-with-different-gems-ideas/168095 "2009-05-17T18:02:26Z")

</div>

I have a new icalendar Ruby library/gem which is implemented so as require an implementation of the TZInfo::Timezone class, but not to care whether that implementation comes from the tzinfo gem, or the activesupport g…

---

## [Wow: jruby vs. MRE performance](https://www.ruby-forum.com/t/wow-jruby-vs-mre-performance/166385)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 3\
**Last updated:** [April 24, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/wow-jruby-vs-mre-performance/166385 "2009-04-24T18:31:58Z")

</div>

Hi Folks, I’ve been working on an application for a while now using MRE, and for a variety of reasons, I need to get things working with JRuby. I was pretty astounded by a couple of things: First, JRuby takes up a l…

---

## [Getting started, sort of](https://www.ruby-forum.com/t/getting-started-sort-of/161369)

<div class="topic-metadata">

**Author:** [@bachcole](https://www.ruby-forum.com/u/bachcole)\
**Replies:** 8\
**Last updated:** [March 11, 2009, 4:11am UTC](https://www.ruby-forum.com/t/getting-started-sort-of/161369 "2009-03-11T04:11:39Z")

</div>

I was working with: The Rails Cookbook A Ruby on Rails Crash Course Brian H. http://www.napcs.com/resources/rails/cookbook/rails\_cookbook.pdf page 5 And I did this: C:\\ruby\>gem install sqlite3-ruby And I got this…

---

## [Hard coded drop down menu help](https://www.ruby-forum.com/t/hard-coded-drop-down-menu-help/162016)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 3\
**Last updated:** [March 5, 2009, 1:14am UTC](https://www.ruby-forum.com/t/hard-coded-drop-down-menu-help/162016 "2009-03-05T01:14:15Z")

</div>

I currently have a drop down menu selection in an input form with hardcoded values, the problem I’m having is I want to use multiple word entries that users can select from, is there anyway of doing that? here is my c…

---

## [Proper jruby.home setting for an embedded app? (NPE in 1.1.6)](https://www.ruby-forum.com/t/proper-jruby-home-setting-for-an-embedded-app-npe-in-1-1-6/155905)

<div class="topic-metadata">

**Author:** [@Peter\_K\_Chan](https://www.ruby-forum.com/u/Peter_K_Chan)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 5:05am UTC](https://www.ruby-forum.com/t/proper-jruby-home-setting-for-an-embedded-app-npe-in-1-1-6/155905 "2008-12-18T05:05:19Z")

</div>

What is the proper value for jruby.home in an embedded runtime? It seems that in 1.1.5, the value defaults at being HOME/.jruby. In 1.1.6, the value ends up being null and causing a NPE. I tried to provide a default …

---

## [Find conditions](https://www.ruby-forum.com/t/find-conditions/137054)

<div class="topic-metadata">

**Author:** [@remco123](https://www.ruby-forum.com/u/remco123)\
**Replies:** 8\
**Last updated:** [May 8, 2008, 5:47pm UTC](https://www.ruby-forum.com/t/find-conditions/137054 "2008-05-08T17:47:39Z")

</div>

This are my models: class Werelddeel \< ActiveRecord::Base has\_many :land, :foreign\_key =\> “werelddeel\_id” set\_table\_name “werelddelen” set\_primary\_key “werelddeel\_id” has\_permalink :zoeknaam def to\_param zoeknaam …

---

## [Problem with extentsions](https://www.ruby-forum.com/t/problem-with-extentsions/134562)

<div class="topic-metadata">

**Author:** [@boblmartens](https://www.ruby-forum.com/u/boblmartens)\
**Replies:** 3\
**Last updated:** [April 15, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/problem-with-extentsions/134562 "2008-04-15T16:36:43Z")

</div>

Looking for some words of wisdom… I have installed the following extensions: shards - shows active in extensions virtual domain - working fine… copy move - shows active but copy link doesn’t show up… got some help f…

---

## [Obtener sÃ³lo algunos elementos de un Arra y](https://www.ruby-forum.com/t/obtener-sa-lo-algunos-elementos-de-un-arra-y/131873)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [March 14, 2008, 1:56am UTC](https://www.ruby-forum.com/t/obtener-sa-lo-algunos-elementos-de-un-arra-y/131873 "2008-03-14T01:56:28Z")

</div>

Hola, Â¿me podÃ©is dar una pista de quÃ© mÃ©todo XXXXXX necesito para lo siguiente? Tengo un array de arrays: array = \[ \[1,1\], \[1,2\], \[2,0\], \[2,5\], \[3,1\] \] Quiero obtener esto: \[ \[1,1\], \[2,0\], \[3,1\] \] Es decir,…

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

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