# Ruby

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

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

---

## [Accessing Outlook Express .dbx mail files from ruby](https://www.ruby-forum.com/t/accessing-outlook-express-dbx-mail-files-from-ruby/79912)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 1\
**Last updated:** [December 20, 2006, 6:37pm UTC](https://www.ruby-forum.com/t/accessing-outlook-express-dbx-mail-files-from-ruby/79912 "2006-12-20T18:37:55Z")

</div>

Hi, All I’m really trying to do is export emails from Outlook Express to a plain text file. I wondered if there might be some Windows API that I could call from ruby to accomplish this? Thanks for any tips, Regards…

---

## [Autoloading static linked extension](https://www.ruby-forum.com/t/autoloading-static-linked-extension/79726)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 3\
**Last updated:** [December 20, 2006, 6:35pm UTC](https://www.ruby-forum.com/t/autoloading-static-linked-extension/79726 "2006-12-20T18:35:50Z")

</div>

e$B$J$+$@$G$9!#e(B http://moonrock.jp/~don/d/200612.html#d08\_t2 e$B$N7o$G$9$,!"e(B Init\_ext()e$B$G$Oe(Bloading\_tble$B$KF~$i$J$$$N$,860x$G$9!#e(B e$B$H$j$"$($:e(B\[ruby-dev:29523\]e$B$N:\]$K:n$C$?%Q%C%A$G$9!#e(Bext/extmk.…

---

## [Questions on DBI::ADO stored procedures and inserts mssql se](https://www.ruby-forum.com/t/questions-on-dbi-ado-stored-procedures-and-inserts-mssql-se/79770)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 20, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/questions-on-dbi-ado-stored-procedures-and-inserts-mssql-se/79770 "2006-12-20T18:33:48Z")

</div>

I am writing a class to deal with a mssql server database. I have a couple of questions on using DBI::ADO How does one run a stored procedure with input parameters using DBI::ADO? I’ve searched for documentation but…

---

## [Config,RbConfig](https://www.ruby-forum.com/t/config-rbconfig/79685)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 2\
**Last updated:** [December 20, 2006, 6:31pm UTC](https://www.ruby-forum.com/t/config-rbconfig/79685 "2006-12-20T18:31:47Z")

</div>

e$B@\>;3OB9-$G$9!#e(B rbconfig.rbe$B$Ge(B1.8.5e$B$Oe(B RbConfig = Config # compatibility for ruby-1.9 e$B$H$J$C$F$$$F!"e(BConfige$B$NJ}$,K\\Mh$NL\>A0$K$J$C$F$$$F!"e(B 1.9e$B$NJ}$G$Oe(B Config = RbConfig # compatibility…

---

## [Routine sometimes not returning what i expect](https://www.ruby-forum.com/t/routine-sometimes-not-returning-what-i-expect/79925)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 1\
**Last updated:** [December 20, 2006, 6:29pm UTC](https://www.ruby-forum.com/t/routine-sometimes-not-returning-what-i-expect/79925 "2006-12-20T18:29:46Z")

</div>

As part of my first-ever submission to the ruby quiz, I wrote (translated from Python, really) a recursive routine to return all n-combinations of an array. So that: combinations(\[1, 2, 3\], 2) would return \[\[1, 2\], …

---

## [Re: where have all the experienced users gone?](https://www.ruby-forum.com/t/re-where-have-all-the-experienced-users-gone/79926)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 20, 2006, 6:29pm UTC](https://www.ruby-forum.com/t/re-where-have-all-the-experienced-users-gone/79926 "2006-12-20T18:29:45Z")

</div>

is it me, or are others also thinking that a thread complaining about experienced users evaporating that also aims to reduce newbie posts might just succeed in reducing the volume on ruby-talk to zero? :wink: …

---

## [Ruby puzzle: Group candies by unique record fields](https://www.ruby-forum.com/t/ruby-puzzle-group-candies-by-unique-record-fields/79835)

<div class="topic-metadata">

**Author:** [@wogaswoga](https://www.ruby-forum.com/u/wogaswoga)\
**Replies:** 1\
**Last updated:** [December 20, 2006, 2:51pm UTC](https://www.ruby-forum.com/t/ruby-puzzle-group-candies-by-unique-record-fields/79835 "2006-12-20T14:51:53Z")

</div>

I have an list of objects (Candy) and each object has two fields (Candy.color, Candy.taste). I would like to display the candies but group them based on the fields (display a header for each group). The problem is I…

---

## [New to ruby](https://www.ruby-forum.com/t/new-to-ruby/79778)

<div class="topic-metadata">

**Author:** [@TellaS\_Ravichandra](https://www.ruby-forum.com/u/TellaS_Ravichandra)\
**Replies:** 4\
**Last updated:** [December 19, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/new-to-ruby/79778 "2006-12-19T15:52:16Z")

</div>

Hello all, I have a years experience developing web applications in java. I also thought myself Perl scripting. I am completely new to Ruby and would like to learn and play with Ruby. I started reading Programming Ru…

---

## [Any CoFE-like(COllaborative Filtering Engine) in ruby?](https://www.ruby-forum.com/t/any-cofe-like-collaborative-filtering-engine-in-ruby/79822)

<div class="topic-metadata">

**Author:** [@yuesefa](https://www.ruby-forum.com/u/yuesefa)\
**Replies:** 0\
**Last updated:** [December 19, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/any-cofe-like-collaborative-filtering-engine-in-ruby/79822 "2006-12-19T14:18:37Z")

</div>

i am searching for such kind of things. Thank you :slight\_smile:

---

## [\[ANN\] Ruby-VPI 12.0.1](https://www.ruby-forum.com/t/ann-ruby-vpi-12-0-1/79765)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 1\
**Last updated:** [December 19, 2006, 12:33am UTC](https://www.ruby-forum.com/t/ann-ruby-vpi-12-0-1/79765 "2006-12-19T00:33:43Z")

</div>

Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby. Website: http://ruby-vpi.rubyforge.org Install: gem install ruby-vpi Version 12.0.1 (2006-12…

---

## [Re: sorting an array w multiple values](https://www.ruby-forum.com/t/re-sorting-an-array-w-multiple-values/79741)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [December 18, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/re-sorting-an-array-w-multiple-values/79741 "2006-12-18T23:06:41Z")

</div>

From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] On On Tue, 19 Dec 2006, Josselin wrote: I understand how to sort an array with a single value but how can I sort an array w m…

---

## [Sorting an array w multiple values](https://www.ruby-forum.com/t/sorting-an-array-w-multiple-values/79738)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 2\
**Last updated:** [December 18, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/sorting-an-array-w-multiple-values/79738 "2006-12-18T23:06:40Z")

</div>

I understand how to sort an array with a single value but how can I sort an array w multiple values : \[ integer\_value1, float\_value2\] an\_array = \[ \[123, 42.50\], \[ 245, 25.45\], \[389, 32.69\] \] wich should give (sorting…

---

## [Advice on handling malformed CSV with FasterCSV](https://www.ruby-forum.com/t/advice-on-handling-malformed-csv-with-fastercsv/79768)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [December 18, 2006, 10:43pm UTC](https://www.ruby-forum.com/t/advice-on-handling-malformed-csv-with-fastercsv/79768 "2006-12-18T22:43:31Z")

</div>

All, FasterCSV 1.0.0 Ruby 1.8.4 I am writing functionality to replace an an older system. Part of this system accepts uploaded CSV files, parses, and displays their contents. When confronted with a file including o…

---

## [Re: Advice on handling malformed CSV with FasterCSV](https://www.ruby-forum.com/t/re-advice-on-handling-malformed-csv-with-fastercsv/79769)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [December 18, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/re-advice-on-handling-malformed-csv-with-fastercsv/79769 "2006-12-18T22:00:32Z")

</div>

From: Wes G. Is there a way to get FasterCSV to accept input like the above? How can I set up a custom parsing scheme? I don’t know the answer to this question. Should I modify the FasterCSV parser directly to …

---

## [Pthread\_mutex\_lock is causing Kernel#at\_exit](https://www.ruby-forum.com/t/pthread-mutex-lock-is-causing-kernel-at-exit/79692)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 1\
**Last updated:** [December 18, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/pthread-mutex-lock-is-causing-kernel-at-exit/79692 "2006-12-18T20:07:17Z")

</div>

Hello, I have a C program which embeds Ruby inside a pthread. The C program and Ruby take turns executing and transfer control to each other when necessary. During the first time Ruby transfers control to the C progr…

---

## [Ruby Cookbook, opinions?](https://www.ruby-forum.com/t/ruby-cookbook-opinions/79698)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 9\
**Last updated:** [December 18, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-cookbook-opinions/79698 "2006-12-18T19:56:12Z")

</div>

Taking a break from Holiday shopping I found that my local bookstore had this in stock. http://www.amazon.com/Cookbook-Cookbooks-OReilly-Lucas-Carlson/dp/0596523696/sr=8-1/qid=1166436153/ref=pd\_bbs\_sr\_1/102-7539125-403…

---

## [ObjectiveView 'Community' SD Magazine](https://www.ruby-forum.com/t/objectiveview-community-sd-magazine/79744)

<div class="topic-metadata">

**Author:** [@Adam\_Weremczuk](https://www.ruby-forum.com/u/Adam_Weremczuk)\
**Replies:** 0\
**Last updated:** [December 18, 2006, 6:35pm UTC](https://www.ruby-forum.com/t/objectiveview-community-sd-magazine/79744 "2006-12-18T18:35:53Z")

</div>

ObjectiveView is a free ‘not for profit’ software development magazine. It is a collobaration between the editor, writers and web distribution partners. No money changes hands between anyone involved in the magazine. …

---

## [Re: item order in Object#methods](https://www.ruby-forum.com/t/re-item-order-in-object-methods/79742)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [December 18, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/re-item-order-in-object-methods/79742 "2006-12-18T18:27:52Z")

</div>

From: Andrea F. \[mailto:removed\_email\_address@domain.invalid\] Rob B. wrote: If it’s important, why not sort them first: self.methods.sort.collect { … } Because I’m interested to the methods’ definition order insi…

---

## [What kind of scoping does Ruby use?Static or Dynamic](https://www.ruby-forum.com/t/what-kind-of-scoping-does-ruby-use-static-or-dynamic/79734)

<div class="topic-metadata">

**Author:** [@zerocoder](https://www.ruby-forum.com/u/zerocoder)\
**Replies:** 2\
**Last updated:** [December 18, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/what-kind-of-scoping-does-ruby-use-static-or-dynamic/79734 "2006-12-18T18:11:46Z")

</div>

What kind of scoping ruby use, even if it has lots of scoping rules which was supported by adding different parameters infront of variable names and using different character size. We do not decide what kind of scopin…

---

## [FXIrb 0.3.0 - the "it lives!" release](https://www.ruby-forum.com/t/fxirb-0-3-0-the-it-lives-release/79673)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 8\
**Last updated:** [December 18, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/fxirb-0-3-0-the-it-lives-release/79673 "2006-12-18T17:37:42Z")

</div>

Thanks to Markus P. for filing a bug report and getting me to take another look at the sadly neglected FXIrb. This is mostly a code cleanup and bugfix release, though there are a couple of minor features added. From …

---

## [Re: Chess960 (#106)](https://www.ruby-forum.com/t/re-chess960-106/79737)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [December 18, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/re-chess960-106/79737 "2006-12-18T17:27:39Z")

</div>

From: Dave B. \[mailto:removed\_email\_address@domain.invalid\] 1 | #{ bottom\_row } | 1 ±----------------+ a b c d e f g h END Just gotta say, that’s pretty brain-dead tricky. To produce the same output, I’m sure I w…

---

## [Item order in Object#methods](https://www.ruby-forum.com/t/item-order-in-object-methods/79728)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 3\
**Last updated:** [December 18, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/item-order-in-object-methods/79728 "2006-12-18T17:17:36Z")

</div>

Hi all, please consider two files: init.rb and init\_2.rb. In init.rb put this bunch of code: module Foo def init self.methods.collect { |meth| meth if meth =~ /init\_/ }.compact.each do |init\_meth| self.send(init\_m…

---

## [Comments on ObjectiveView issue 9 (no, I'm not a spambot)](https://www.ruby-forum.com/t/comments-on-objectiveview-issue-9-no-im-not-a-spambot/79144)

<div class="topic-metadata">

**Author:** [@Mark\_Collins-Cope](https://www.ruby-forum.com/u/Mark_Collins-Cope)\
**Replies:** 3\
**Last updated:** [December 18, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/comments-on-objectiveview-issue-9-no-im-not-a-spambot/79144 "2006-12-18T16:35:32Z")

</div>

Hi there, My name is Mark Collins-Cope, I’m editor of ObjectiveView. I’m writing this message as I’m concerned at some of the comments I’ve read in the “New! ObjectiveView #9” message thread in September. Personal int…

---

## [Request\_get VS request VS get](https://www.ruby-forum.com/t/request-get-vs-request-vs-get/79093)

<div class="topic-metadata">

**Author:** [@mento\_ruby](https://www.ruby-forum.com/u/mento_ruby)\
**Replies:** 2\
**Last updated:** [December 18, 2006, 2:51pm UTC](https://www.ruby-forum.com/t/request-get-vs-request-vs-get/79093 "2006-12-18T14:51:10Z")

</div>

wt’s the different of using “request\_get”, “request” and “get” provided in net/http library? Both of them can get the reponse.body

---

## [Hpricot problem](https://www.ruby-forum.com/t/hpricot-problem/79633)

<div class="topic-metadata">

**Author:** [@nock12](https://www.ruby-forum.com/u/nock12)\
**Replies:** 10\
**Last updated:** [December 18, 2006, 2:03pm UTC](https://www.ruby-forum.com/t/hpricot-problem/79633 "2006-12-18T14:03:03Z")

</div>

Sorry, try again… Not sure where to send this, sorry if it’s not the right place… The html in the attached file renders ‘correctly’ in the 3 browsers I have tried but it tricks hpricot because of the second malformed …

---

## [Hpricot html parsing](https://www.ruby-forum.com/t/hpricot-html-parsing/79229)

<div class="topic-metadata">

**Author:** [@dhanasekara](https://www.ruby-forum.com/u/dhanasekara)\
**Replies:** 12\
**Last updated:** [December 18, 2006, 12:30pm UTC](https://www.ruby-forum.com/t/hpricot-html-parsing/79229 "2006-12-18T12:30:55Z")

</div>

hi all, I have the following html fragment I want to get the inner html content inside the tag , not the between the tag. for example in the following example i want to get the result as "this is fun". I dont wa…

---

## [Hpricot problem](https://www.ruby-forum.com/t/hpricot-problem/79632)

<div class="topic-metadata">

**Author:** [@nock12](https://www.ruby-forum.com/u/nock12)\
**Replies:** 4\
**Last updated:** [December 18, 2006, 10:22am UTC](https://www.ruby-forum.com/t/hpricot-problem/79632 "2006-12-18T10:22:41Z")

</div>

Not sure where to send this, sorry if it’s not the right place… The html in the attached file renders ‘correctly’ in the 3 browsers I have tried but it tricks hpricot because of the second malformed comment. When I sa…

---

## [1.8, 1.9, svn$B2=(B, $B$J$I$J$I$N$^$H$a(B](https://www.ruby-forum.com/t/1-8-1-9-svn-b2-b-b-j-i-j-i-n-h-a-b/77478)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 12\
**Last updated:** [December 18, 2006, 8:00am UTC](https://www.ruby-forum.com/t/1-8-1-9-svn-b2-b-b-j-i-j-i-n-h-a-b/77478 "2006-12-18T08:00:25Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B%5%$C$F$k4V$K$D$$$F$$$1$J$/$J$C$?$N$G!“8=\>u$r$^$H$a$F$\_$^$7e(B e$B$?!#e(B e$B4V0c$C$F$k$H$3$m$H$+!”$o$+$s$J$$$H$3$m$H$+!";XE&$7$F$/$@$5$$!#e(B : ruby\_1\_8\_5e$B%V%i%s…

---

## [Load/require into module/class, revisted](https://www.ruby-forum.com/t/load-require-into-module-class-revisted/79688)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [December 18, 2006, 7:32am UTC](https://www.ruby-forum.com/t/load-require-into-module-class-revisted/79688 "2006-12-18T07:32:24Z")

</div>

revisting a topic brought up a few times before. a good reference being: http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/74f323436b2bc85f/0c7780b698866cc5?lnk=gst&q=load+import&rnum=4&hl=en#0c7780b69…

---

## [DateTime](https://www.ruby-forum.com/t/datetime/79658)

<div class="topic-metadata">

**Author:** [@chell](https://www.ruby-forum.com/u/chell)\
**Replies:** 6\
**Last updated:** [December 18, 2006, 7:02am UTC](https://www.ruby-forum.com/t/datetime/79658 "2006-12-18T07:02:18Z")

</div>

Hi, I’ve just checked out this: http://ruby.cenophobie.com/RubyCheat.pdf Ruby cheat sheet. On the second page, DateTime is mentioned but when I try the following: DateTime::now or DateTime.now it says that the con…

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

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