# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=617

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

---

## [IronRuby on Rails and IIS 6 or IIS 7](https://www.ruby-forum.com/t/ironruby-on-rails-and-iis-6-or-iis-7/186131)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 9\
**Last updated:** [April 17, 2010, 11:06pm UTC](https://www.ruby-forum.com/t/ironruby-on-rails-and-iis-6-or-iis-7/186131 "2010-04-17T23:06:41Z")

</div>

Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I have seen some articles about Ruby on Rails, but not IronRuby. I guess it wouldn’t be too difficult since these are both MS apps. I just cant find …

---

## [How to use AutoIt in Ruby](https://www.ruby-forum.com/t/how-to-use-autoit-in-ruby/186955)

<div class="topic-metadata">

**Author:** [@homer-16](https://www.ruby-forum.com/u/homer-16)\
**Replies:** 7\
**Last updated:** [April 17, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/how-to-use-autoit-in-ruby/186955 "2010-04-17T20:07:11Z")

</div>

I know for a fact that one can use AutoIt in Rubybut I don’t know ho to do it or how to even use it inside Ruby. Has anyone actually done this?

---

## [What is String#ord?](https://www.ruby-forum.com/t/what-is-string-ord/187124)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 3\
**Last updated:** [April 17, 2010, 7:48pm UTC](https://www.ruby-forum.com/t/what-is-string-ord/187124 "2010-04-17T19:48:26Z")

</div>

Ruby 1.9 docs for String#ord say: Return the \<code\>Integer\</code\> ordinal of a one-character string. What does that mean? Check for example "Ã—".ord # =\> 215 "Ã—".bytes.to\_a # =\> \[195, 151\] – fxn

---

## [Trouble with Pushing Arrays to Arrays](https://www.ruby-forum.com/t/trouble-with-pushing-arrays-to-arrays/187125)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 6\
**Last updated:** [April 17, 2010, 4:55pm UTC](https://www.ruby-forum.com/t/trouble-with-pushing-arrays-to-arrays/187125 "2010-04-17T16:55:12Z")

</div>

Hello everyone! I’m having some trouble with pushing an array to another array. Maybe this is an easy fix that I’m just not seeing? Here’s my code: require ‘nokogiri’ require ‘open-uri’ url = ‘C:\\users\\derek\\desktop…

---

## [Dont know where to look :(](https://www.ruby-forum.com/t/dont-know-where-to-look/187119)

<div class="topic-metadata">

**Author:** [@guru\_101](https://www.ruby-forum.com/u/guru_101)\
**Replies:** 4\
**Last updated:** [April 17, 2010, 3:53pm UTC](https://www.ruby-forum.com/t/dont-know-where-to-look/187119 "2010-04-17T15:53:45Z")

</div>

I get this error SQLite3::SQLException: no such column: blogs.user\_id: SELECT \* FROM blogs WHERE (blogs.user\_id = 1) LIMIT 1 well in my project, i will be creating railsspace Info: railsspace.com I realy need s…

---

## [Is this good OOP structuring?](https://www.ruby-forum.com/t/is-this-good-oop-structuring/186968)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 13\
**Last updated:** [April 17, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/is-this-good-oop-structuring/186968 "2010-04-17T15:18:37Z")

</div>

Hello everyone. I’m trying to get a hang of object-oriented programming and I have a question about the best practices for my program. I’m making a program to recommend courses to me for my school. To simplify things,…

---

## [Is it possible, a fully general Enumerable#recursive?](https://www.ruby-forum.com/t/is-it-possible-a-fully-general-enumerable-recursive/186494)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 27\
**Last updated:** [April 17, 2010, 12:57pm UTC](https://www.ruby-forum.com/t/is-it-possible-a-fully-general-enumerable-recursive/186494 "2010-04-17T12:57:01Z")

</div>

For the last couple of days I’ve been trying to write an Enumerable method called #recursive. Rather than create a bunch of methods like #recursive\_each, #recursive\_map, #recursive\_sort, etc. I figured that it should …

---

## [\[Bug #3136\] reuse of singleton method definition causes SEGV](https://www.ruby-forum.com/t/bug-3136-reuse-of-singleton-method-definition-causes-segv/186798)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 2\
**Last updated:** [April 17, 2010, 5:46am UTC](https://www.ruby-forum.com/t/bug-3136-reuse-of-singleton-method-definition-causes-segv/186798 "2010-04-17T05:46:51Z")

</div>

Bug #3136: reuse of singleton method definition causes SEGV http://redmine.ruby-lang.org/issues/show/3136 e$B5/I\<\<Te(B: Yusuke E. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.…

---

## [Ruby-GNOME2 0.19.4](https://www.ruby-forum.com/t/ruby-gnome2-0-19-4/187106)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [April 17, 2010, 5:12am UTC](https://www.ruby-forum.com/t/ruby-gnome2-0-19-4/187106 "2010-04-17T05:12:20Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 0.19.4: Download ruby-gtk2-0.19.4.tar.gz (Ruby-GNOME 2) Download ruby-gnome2-all-0.19.4.tar.gz (Ruby-GNOME 2) This release has many bug fixes and some improvements. Th…

---

## [\[Bug:1.9\] case $BJ8$N\<0$,\>JN,$5$l(B when $B@a$KG\[NsE83+$,$"$k$H$-$N5sF0(B](https://www.ruby-forum.com/t/bug-1-9-case-bj8-n-0-jn-5-l-b-when-b-a-kg-nse83-k-h-n5sf0-b/177459)

<div class="topic-metadata">

**Author:** [@wanabe](https://www.ruby-forum.com/u/wanabe)\
**Replies:** 3\
**Last updated:** [April 17, 2010, 2:27am UTC](https://www.ruby-forum.com/t/bug-1-9-case-bj8-n-0-jn-5-l-b-when-b-a-kg-nse83-k-h-n5sf0-b/177459 "2010-04-17T02:27:52Z")

</div>

e$B%o%J%Y$H?=$7$^$9!#e(B case e$BJ8$N\<0$,\>JN,$5$l!"$+$De(B when e$B@a$KG\[NsE83+$,$"$k$H$-$N5sF0!"e(B e$B$h$j6qBNE\*$K$Oe(B NODE\_ARGSCAT, NODE\_ARGSPUSH e$B$Ne(B e$B%3%s%Q%$%k7k2L$,@5$7$/$J$$$h$&$K;W$$$^$9!#e(B e$BDL\>o…

---

## [Ri\_cal version 0.8.7 has been released!](https://www.ruby-forum.com/t/ri-cal-version-0-8-7-has-been-released/187100)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 0\
**Last updated:** [April 17, 2010, 12:17am UTC](https://www.ruby-forum.com/t/ri-cal-version-0-8-7-has-been-released/187100 "2010-04-17T00:17:21Z")

</div>

ri\_cal version 0.8.7 has been released! A new Ruby implementation of RFC2445 iCalendar. The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide for parsing and generating icalendar files, but do not supp…

---

## [Blocks and local variable creation](https://www.ruby-forum.com/t/blocks-and-local-variable-creation/186993)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 8\
**Last updated:** [April 17, 2010, 12:09am UTC](https://www.ruby-forum.com/t/blocks-and-local-variable-creation/186993 "2010-04-17T00:09:22Z")

</div>

Hello, I have a simple method: def rights\_for\_item (rights\_hash, item) rights\_hash.each { |k,v| (rights ||= \[\]) \<\< k if v.include? item } rights end This does not work because “rights” is created local to the block…

---

## [Who maintains ruby-talk?](https://www.ruby-forum.com/t/who-maintains-ruby-talk/186915)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 69\
**Last updated:** [April 16, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/who-maintains-ruby-talk/186915 "2010-04-16T23:44:34Z")

</div>

Among other things, the ruby-talk MLM is rampant with security vulnerabilities, and in need of moderation. Is there actually a person in charge of ruby-talk?

---

## [EventMachine.defer and ActiveRecord connection pool?](https://www.ruby-forum.com/t/eventmachine-defer-and-activerecord-connection-pool/175222)

<div class="topic-metadata">

**Author:** [@arturaz](https://www.ruby-forum.com/u/arturaz)\
**Replies:** 7\
**Last updated:** [April 16, 2010, 9:59pm UTC](https://www.ruby-forum.com/t/eventmachine-defer-and-activerecord-connection-pool/175222 "2010-04-16T21:59:05Z")

</div>

Hello, I’m writing a server with EM. I’m having some long-running tasks, so I’m deferring those requests using EM.defer. However, after 5 such deferred requests AR suddently stops working… I’m using AR 2.3.4, so conc…

---

## [Attempting To Get IronRuby.Rack Running a non-demo rails site](https://www.ruby-forum.com/t/attempting-to-get-ironruby-rack-running-a-non-demo-rails-site/187027)

<div class="topic-metadata">

**Author:** [@Bobby\_J](https://www.ruby-forum.com/u/Bobby_J)\
**Replies:** 7\
**Last updated:** [April 16, 2010, 7:12pm UTC](https://www.ruby-forum.com/t/attempting-to-get-ironruby-rack-running-a-non-demo-rails-site/187027 "2010-04-16T19:12:19Z")

</div>

I have successfully got the IronRuby.Rails.Example project running on my local machine under IIS 5.1. I am now attempting to get my own demo rails site running in the same way. My web.config is different. I am attemp…

---

## [\[Bug #2374\](Rejected) URI.regexp('http') $B$,(B 'http://' $B$K%^%C%A$9$k(B](https://www.ruby-forum.com/t/bug-2374-rejected-uri-regexp-http-b-b-http-b-k-c-a-9-k-b/187086)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [April 16, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/bug-2374-rejected-uri-regexp-http-b-b-http-b-k-c-a-9-k-b/187086 "2010-04-16T18:23:07Z")

</div>

e$B%A%1%C%He(B #2374 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B%9%F!\<%?%9e(B Assignede$B$+$ie(BRejectede$B$KJQ99e(B Target version 1.9.xe$B$K%;%C%He(B e$B1sF#$G$9!#e(B URI.regexp e$B$Ne(B rdoc e$B$K$Oe(B Returns a …

---

## [DRb: execute method but dont wait for it to finish](https://www.ruby-forum.com/t/drb-execute-method-but-dont-wait-for-it-to-finish/187014)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 4\
**Last updated:** [April 16, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/drb-execute-method-but-dont-wait-for-it-to-finish/187014 "2010-04-16T18:10:19Z")

</div>

Basically I want to execute a method on a drb service but not wait for it to return … The DRb service is undumped … basically just telling it to do something. Is there any easy way to do this?

---

## [Newbie ruby watir exception handling](https://www.ruby-forum.com/t/newbie-ruby-watir-exception-handling/187083)

<div class="topic-metadata">

**Author:** [@viavr](https://www.ruby-forum.com/u/viavr)\
**Replies:** 0\
**Last updated:** [April 16, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/newbie-ruby-watir-exception-handling/187083 "2010-04-16T17:38:20Z")

</div>

We’re testing. This script below will go through the list of url’s, and on each url, write out the results of the script to a file. These results are a) the last 3 digits of the url string b) the 1st href on the page …

---

## [\[ANN\] Money 2.3.0](https://www.ruby-forum.com/t/ann-money-2-3-0/187069)

<div class="topic-metadata">

**Author:** [@semmons99](https://www.ruby-forum.com/u/semmons99)\
**Replies:** 1\
**Last updated:** [April 16, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/ann-money-2-3-0/187069 "2010-04-16T16:01:58Z")

</div>

\[ANN\] Money 2.3.0 has been released. Changes: Currency is now represented by a Currency Object instead of a string. This facilitates easier work with exchange rates, etc. Website: http://github.com/FooBarWidget/mone…

---

## [\[Bug #1969\] irb will be stuck with long variable name with completion.rb](https://www.ruby-forum.com/t/bug-1969-irb-will-be-stuck-with-long-variable-name-with-completion-rb/174098)

<div class="topic-metadata">

**Author:** [@Yoshimasa\_Niwa](https://www.ruby-forum.com/u/Yoshimasa_Niwa)\
**Replies:** 4\
**Last updated:** [April 16, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/bug-1969-irb-will-be-stuck-with-long-variable-name-with-completion-rb/174098 "2010-04-16T15:36:47Z")

</div>

Bug #1969: irb will be stuck with long variable name with completion.rb http://redmine.ruby-lang.org/issues/show/1969 e$B5/I\<\<Te(B: Yoshimasa Niwa e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.8.7 (200…

---

## [\[Bug #1191\] Net::IMAP.encode\_utf7 bug?](https://www.ruby-forum.com/t/bug-1191-net-imap-encode-utf7-bug/160985)

<div class="topic-metadata">

**Author:** [@Kengo\_Matsuyama](https://www.ruby-forum.com/u/Kengo_Matsuyama)\
**Replies:** 3\
**Last updated:** [April 16, 2010, 2:59pm UTC](https://www.ruby-forum.com/t/bug-1191-net-imap-encode-utf7-bug/160985 "2010-04-16T14:59:53Z")

</div>

Bug #1191: Net::IMAP.encode\_utf7 bug? http://redmine.ruby-lang.org/issues/show/1191 e$B5/I\<\<Te(B: Kengo Matsuyama e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-02-22 trunk 22492) \[i686-lin…

---

## [Any Rubyists here doing Mathematica?](https://www.ruby-forum.com/t/any-rubyists-here-doing-mathematica/187042)

<div class="topic-metadata">

**Author:** [@thunk](https://www.ruby-forum.com/u/thunk)\
**Replies:** 1\
**Last updated:** [April 16, 2010, 2:28pm UTC](https://www.ruby-forum.com/t/any-rubyists-here-doing-mathematica/187042 "2010-04-16T14:28:49Z")

</div>

Google provided this link: (There may well be more…) I will be most interested in chatting with persons interested in doing a demonstration for Mathematica using certain Ruby software that I have developed. My s…

---

## [DB to CSV](https://www.ruby-forum.com/t/db-to-csv/187061)

<div class="topic-metadata">

**Author:** [@svashtar](https://www.ruby-forum.com/u/svashtar)\
**Replies:** 6\
**Last updated:** [April 16, 2010, 2:02pm UTC](https://www.ruby-forum.com/t/db-to-csv/187061 "2010-04-16T14:02:29Z")

</div>

Hello, i am very new to ruby and i have a major problem i would like to have some help on… I would like to execute a query on a database and export the values to the CSV file. I have tried many different ways and i c…

---

## [Win32 service error](https://www.ruby-forum.com/t/win32-service-error/187062)

<div class="topic-metadata">

**Author:** [@simbolla](https://www.ruby-forum.com/u/simbolla)\
**Replies:** 1\
**Last updated:** [April 16, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/win32-service-error/187062 "2010-04-16T13:46:56Z")

</div>

Hi all, Below is my code. require ‘rubygems’ require ‘win32/service’ include Win32 puts ‘Currently Running Services:’ Service.services do |svc| if svc.current\_state == ‘running’ puts “#{svc.service\_name}\\t-\\t#{sv…

---

## [Use only SSLv3, getting SSL bad\_record\_mac](https://www.ruby-forum.com/t/use-only-sslv3-getting-ssl-bad-record-mac/187005)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 17\
**Last updated:** [April 16, 2010, 1:34pm UTC](https://www.ruby-forum.com/t/use-only-sslv3-getting-ssl-bad-record-mac/187005 "2010-04-16T13:34:59Z")

</div>

We’re trying to make web service calls against a web service that seems to have upgraded their SSL certificate to use SSLv3. We are now experiencing web service call failures. We’re using the rest-client with jruby-o…

---

## [\[Bug #2074\] json $B$N(B j $B$d(B jj $B$O(B module\_function $B$K$9$k$Y$-!)(B](https://www.ruby-forum.com/t/bug-2074-json-b-n-b-j-b-d-b-jj-b-o-b-module-function-b-k-9-k-y-b/187063)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [April 16, 2010, 1:26pm UTC](https://www.ruby-forum.com/t/bug-2074-json-b-n-b-j-b-d-b-jj-b-o-b-module-function-b-k-9-k-y-b/187063 "2010-04-16T13:26:12Z")

</div>

e$B%A%1%C%He(B #2074 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) Target version 1.9.2e$B$+$ie(B1.9.xe$B$KJQ99e(B e$B1sF#$G$9!#e(B j e$B$be(B y e$B$b;H$C$?$3$H$J$$$G$9$,!"BEEv$JDs0F$N$h$&$K;W$$$^$9!#e(B e$B$1$l$I!"$3$l$Oe…

---

## [Win32 Service: Access Denied when creating service](https://www.ruby-forum.com/t/win32-service-access-denied-when-creating-service/186995)

<div class="topic-metadata">

**Author:** [@vijar82](https://www.ruby-forum.com/u/vijar82)\
**Replies:** 3\
**Last updated:** [April 16, 2010, 12:34pm UTC](https://www.ruby-forum.com/t/win32-service-access-denied-when-creating-service/186995 "2010-04-16T12:34:57Z")

</div>

Hi, I am trying to create and register a windows service with the following code. require “rubygems” require “win32/service” include Win32 svc = Service.new(:service\_name =\> “rajiv\_service\_name”) Error: C:/Ruby/l…

---

## [Netbeans issue](https://www.ruby-forum.com/t/netbeans-issue/178279)

<div class="topic-metadata">

**Author:** [@danielr](https://www.ruby-forum.com/u/danielr)\
**Replies:** 19\
**Last updated:** [April 16, 2010, 12:30pm UTC](https://www.ruby-forum.com/t/netbeans-issue/178279 "2010-04-16T12:30:08Z")

</div>

Hi, Forgive me if this is the wrong place to ask this. I’m a beginner learning Ruby and I’m trying to create a new Ruby on Rails application through Netbeans. I click File → new project → Ruby on Rails Application …

---

## [IronRuby + Mono 2.6.3](https://www.ruby-forum.com/t/ironruby-mono-2-6-3/186518)

<div class="topic-metadata">

**Author:** [@Zachary\_Brown](https://www.ruby-forum.com/u/Zachary_Brown)\
**Replies:** 3\
**Last updated:** [April 16, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/ironruby-mono-2-6-3/186518 "2010-04-16T12:10:40Z")

</div>

Hi again :slight\_smile: Trying to build IR on Mono 2.6.3 on my Macbook (10.6.3). Followed basic instructions and get it to start building but I’m running into the following error on both CasualJim’s Linux branch as we…

---

## [Backtrace hopping between threads?](https://www.ruby-forum.com/t/backtrace-hopping-between-threads/186938)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 2\
**Last updated:** [April 16, 2010, 10:59am UTC](https://www.ruby-forum.com/t/backtrace-hopping-between-threads/186938 "2010-04-16T10:59:15Z")

</div>

Hello, I just got this backtrace and don’t understand something about it: F, \[2010-04-14T14:19:11.039347 #28597\] FATAL – : can’t clone NilClass (SystemExit) /usr/lib/ruby/1.8/rexml/text.rb:311:in recvfrom' /usr/lib/m…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=616)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=618)
