# Ruby

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

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

---

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

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 7\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/module-duplicate/74906 "2006-11-07T11:08:42Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!$$$D$N$^$K$+e(B 1.9 e$B$G$Oe(B Module e$B$re(B include e$B$7$?$H$-!"e(Bancestors e$B$KF1$8%be(B e$B%8%e!\<%k$,=E$J$k$h$&$K$J$C$F$$$^$7$?!#e(B ######################## module M end class C1 …

---

## [New Ruby Video & Ruby Search Engine](https://www.ruby-forum.com/t/new-ruby-video-ruby-search-engine/75015)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/new-ruby-video-ruby-search-engine/75015 "2006-11-07T11:08:37Z")

</div>

We’ve put together a fast paced entertaining video on Ruby on Rails which can be seen at: We’ve also created a clustered vertical search engine for both ruby & ruby on rails at http://www.railsaware.com …

---

## [Re: Bytecode Compiler (#100)](https://www.ruby-forum.com/t/re-bytecode-compiler-100/75043)

<div class="topic-metadata">

**Author:** [@Ken\_Allen](https://www.ruby-forum.com/u/Ken_Allen)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/re-bytecode-compiler-100/75043 "2006-11-07T11:08:26Z")

</div>

This is my first post to ruby-talk and my first stab at a ruby quiz! Hooray! I used rparsec because I was too lazy to write a simple parser. And I used some cute monkey patching that I shouldn’t have. But it works! r…

---

## [Migrating my ruby gems](https://www.ruby-forum.com/t/migrating-my-ruby-gems/74419)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/migrating-my-ruby-gems/74419 "2006-11-07T11:08:25Z")

</div>

…i would like to upgrade to 1.8.5.1…but my large gem collection are preventing…i have so many gems stored into my 1.8.2. Windows directory structure …is there a quick way to do this???

---

## [Need ruby run like php in apache](https://www.ruby-forum.com/t/need-ruby-run-like-php-in-apache/74392)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/need-ruby-run-like-php-in-apache/74392 "2006-11-07T11:08:19Z")

</div>

I hope that run index.rb in apache like php index.php without rails I think rails is great,but i do not like rails php’s page next page is normal,such as html in web but rails’s url rule is not good … ok,how to run …

---

## [Mechanize: 400 Bad Request](https://www.ruby-forum.com/t/mechanize-400-bad-request/74952)

<div class="topic-metadata">

**Author:** [@axel](https://www.ruby-forum.com/u/axel)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/mechanize-400-bad-request/74952 "2006-11-07T11:08:17Z")

</div>

Hello, when trying to access a certain HTML-frame, I get: “in \`request’: Unhandled response (WWW::Mechanize::ResponseCodeError)” and the page returns: “400 Bad Request” Why? How to solve this? With browser, it wor…

---

## [How to know if i am in a module or in the main script?](https://www.ruby-forum.com/t/how-to-know-if-i-am-in-a-module-or-in-the-main-script/74931)

<div class="topic-metadata">

**Author:** [@matrixise](https://www.ruby-forum.com/u/matrixise)\
**Replies:** 8\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/how-to-know-if-i-am-in-a-module-or-in-the-main-script/74931 "2006-11-07T11:08:12Z")

</div>

Hi all, with ruby, it’s possible to check if I am in the main script or in a module with if name == ‘main’ Is there the same thing with ruby ? Thanks

---

## [South East Michigan Ruby Conf](https://www.ruby-forum.com/t/south-east-michigan-ruby-conf/75050)

<div class="topic-metadata">

**Author:** [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/south-east-michigan-ruby-conf/75050 "2006-11-07T11:08:08Z")

</div>

See http://www.rubymi.org/ for detailed directions. I’m buying pizza and drinks come join us. Date: Tuesday, 7 Nov 2006, 7-8:30PM Location: 1690 CSE UofM North Campus, Ann Arbor Note: We have a new Location. Agenda: …

---

## [RSpec 0.7.0 Released](https://www.ruby-forum.com/t/rspec-0-7-0-released/75006)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/rspec-0-7-0-released/75006 "2006-11-07T11:08:05Z")

</div>

The RSpec Development Team is pleased to announce the release of RSpec 0.7.0. You can get it from http://rubyforge.org/frs/?group\_id=797, or “gem install rspec” Note that this release is NOT completely backwards comp…

---

## [Re: Win32ole & Adobe Acrobat Reader](https://www.ruby-forum.com/t/re-win32ole-adobe-acrobat-reader/75045)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/re-win32ole-adobe-acrobat-reader/75045 "2006-11-07T11:08:02Z")

</div>

M. Edward (Ed) Borasky wrote: require ‘win32ole’ pdf = PDF::Writer.new pdf.select\_font “Times-Roman” pdf.text “Hello, Ruby.”, :font\_size =\> 72, :justification =\> :center pdf.save\_as(“hello.pdf”) acrobat = WIN32OL…

---

## [Ruby ODBC SQL Server Errors](https://www.ruby-forum.com/t/ruby-odbc-sql-server-errors/74423)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/ruby-odbc-sql-server-errors/74423 "2006-11-07T11:07:55Z")

</div>

I have a ruby script that inserts data into a SQL Server Express database. The inserts work but I keep getting errors like the following “WARNING: STMT 0x2954f50 was not dropped before garbage collection.” Here’s the …

---

## [Problem with Thread's memory (possible bug)](https://www.ruby-forum.com/t/problem-with-threads-memory-possible-bug/74959)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 7\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/problem-with-threads-memory-possible-bug/74959 "2006-11-07T11:07:43Z")

</div>

Hi all. Some time ago I’ve started thread named “Memory crush somewhere in Socket” with no results. No I can describe the problem more correctly and in details. First of all: Windows XP with ruby1.9, RUBY\_PLATFORM =…

---

## [Re: Kinda quiet](https://www.ruby-forum.com/t/re-kinda-quiet/75032)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 1\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/re-kinda-quiet/75032 "2006-11-07T11:07:37Z")

</div>

Quoting P. removed\_email\_address@domain.invalid: were on-topic. The problem is that posts made from ruby-forum (like the one you just responded to) do not see responses from ruby-talk. So, Patrick does not know that …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/75039)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/no-subject/75039 "2006-11-07T11:07:22Z")

</div>

\#unsubscribe

---

## [Missoula Ruby Users Group Gathering](https://www.ruby-forum.com/t/missoula-ruby-users-group-gathering/102580)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/missoula-ruby-users-group-gathering/102580 "2006-11-07T11:07:12Z")

</div>

The Missoula Ruby & Ruby on Rails Users Group is gathering once again on Ruby Tuesday (first Tuesday of the month), Nov 7th, in the back half of Sean Kelly’s (downtown), 6:00pm. Nothing formal, just a gathering to c…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/75035)

<div class="topic-metadata">

**Author:** [@nalhawash](https://www.ruby-forum.com/u/nalhawash)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/unsubscribe/75035 "2006-11-07T11:07:12Z")

</div>

unsubscribe

---

## [cgi.rb$B$N(BDoS$B@H\<e@-$K$D$$$F(B](https://www.ruby-forum.com/t/cgi-rb-b-n-bdos-b-h-e-k-d-f-b/74602)

<div class="topic-metadata">

**Author:** [@MoonWolf](https://www.ruby-forum.com/u/MoonWolf)\
**Replies:** 73\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/cgi-rb-b-n-bdos-b-h-e-k-d-f-b/74602 "2006-11-07T11:07:07Z")

</div>

MoonWolfe$B$G$9!#e(B cgi.rbe$B$K%^%k%A%Q!\<%H=hM};~$Ne(BDoSe$B@H\<e@-$,$"$k$H$$$&Js9pe(B(CVE-2006-5467)e$B$re(B e$BFI$\_$^$7$?!#e(B http://rubyforge.org/pipermail/mongrel-users/2006-October/001946.html http://en.securit…

---

## [New Haven Rubyists to Meet in New Haven for November meeting](https://www.ruby-forum.com/t/new-haven-rubyists-to-meet-in-new-haven-for-november-meeting/75028)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/new-haven-rubyists-to-meet-in-new-haven-for-november-meeting/75028 "2006-11-07T11:06:53Z")

</div>

Amazingly, the New Haven Rubyists will actually meet inside the city limits of New Haven, CT (our fair city) this month! We will meet this Wednesday, November 8 at 7:00pm at RECOL at Long Wharf Maritime Center in New…

---

## [DateTime.strptime NoMethodError](https://www.ruby-forum.com/t/datetime-strptime-nomethoderror/74388)

<div class="topic-metadata">

**Author:** [@moisifr](https://www.ruby-forum.com/u/moisifr)\
**Replies:** 1\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/datetime-strptime-nomethoderror/74388 "2006-11-07T11:06:53Z")

</div>

Hello, I’ve just upgraded my ruby version from 1.8.2 to 1.8.5 and I got a NoMethodError using the DateTime.strptime method. It worked fine with 1.8.2. Is there anything changed with this method in 1.8.5? Thanks Sydn…

---

## [Virus alert when compiling ruby stable 2006-11-05 with mingw](https://www.ruby-forum.com/t/virus-alert-when-compiling-ruby-stable-2006-11-05-with-mingw/74985)

<div class="topic-metadata">

**Author:** [@Jose\_Augusto](https://www.ruby-forum.com/u/Jose_Augusto)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/virus-alert-when-compiling-ruby-stable-2006-11-05-with-mingw/74985 "2006-11-07T11:06:50Z")

</div>

Hi all, This is my ‘first time’ in this mailing list, although I use Ruby since quite a few years… When compiling last stable (2006-11-05 version), with MinGw on windows, my avira anti-virus complains that conftest…

---

## [Include and Extend Again](https://www.ruby-forum.com/t/include-and-extend-again/75024)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/include-and-extend-again/75024 "2006-11-07T11:06:47Z")

</div>

Hi all, I must be really thick with this because I cannot get my class to behave. What I want to do is class AClass include AModule end and have that module mixin both instance and class methods. I’ve seen this …

---

## [Case/when splat](https://www.ruby-forum.com/t/case-when-splat/74997)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/case-when-splat/74997 "2006-11-07T11:06:39Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!\<!$N%W%m%0%i%\`$Oe(B :ok e$B$H=PNO$9$k$Y$-$@$H;W$&$N$G$9$,!"e(Bruby 1.9.0 (2006-11-03) \[x86\_64-linux\] e$B$G$Oe(B :ng2 e$B$H=PNO$5$l$^$9!#e(B ary = \[1, 2\] p case 1 when :x, \*ary :ok …

---

## [Win32ole & Adobe Acrobat Reader](https://www.ruby-forum.com/t/win32ole-adobe-acrobat-reader/75011)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 1\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/win32ole-adobe-acrobat-reader/75011 "2006-11-07T11:06:31Z")

</div>

Hi, I’m trying to launch the opening of a PDF document from within ruby, under Windows XP. Adobe Acrobat shows up, but no document appears. Does anyone see the error, or maybe has another better (cross-platform) meth…

---

## [Net::LDAP connection semantics problem and nested blocks](https://www.ruby-forum.com/t/net-ldap-connection-semantics-problem-and-nested-blocks/74628)

<div class="topic-metadata">

**Author:** [@lukeda](https://www.ruby-forum.com/u/lukeda)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/net-ldap-connection-semantics-problem-and-nested-blocks/74628 "2006-11-07T11:06:22Z")

</div>

Hi, I am working with the Net::LDAP library to communicate with active directory. The connection semantics of that library are causing me problems which I am trying to solve. The library was designed to connect and t…

---

## [Comercial web application with Ruby on Rails](https://www.ruby-forum.com/t/comercial-web-application-with-ruby-on-rails/102572)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/comercial-web-application-with-ruby-on-rails/102572 "2006-11-07T11:06:19Z")

</div>

Hello, I have to develop a new application with Php and Mysql, before that i saw RoR and i interested develop in it, but i wanna know if there are any comercial web application with RoR and if i can hosted it on blue…

---

## [Chats](https://www.ruby-forum.com/t/chats/74996)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 1\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/chats/74996 "2006-11-07T11:06:18Z")

</div>

I’m looking for an extension/plugin/whatever you call it (I’m new to rails) to implement into rails. i want a chat that probly will be reinventing the wheel- though of course I’d love to grab code similar to lingr or…

---

## [How to reset and how to undefine a class](https://www.ruby-forum.com/t/how-to-reset-and-how-to-undefine-a-class/74100)

<div class="topic-metadata">

**Author:** [@amitre](https://www.ruby-forum.com/u/amitre)\
**Replies:** 7\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/how-to-reset-and-how-to-undefine-a-class/74100 "2006-11-07T11:06:16Z")

</div>

Does any one know how to reset a class in Ruby? Subsequent class definitions don’t replace the original, but are tipically appended to it. The following example is typical. ######################### class Song def …

---

## [Multi-line variable](https://www.ruby-forum.com/t/multi-line-variable/75001)

<div class="topic-metadata">

**Author:** [@Googled](https://www.ruby-forum.com/u/Googled)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:06am UTC](https://www.ruby-forum.com/t/multi-line-variable/75001 "2006-11-07T11:06:05Z")

</div>

Hi, is there any Ruby equivalent to: php: $var = \<\<\<END sometext sometext sometext END; so I can write multiline in a single variable ? Regards.

---

## [Script to run Focused Specs/Tests](https://www.ruby-forum.com/t/script-to-run-focused-specs-tests/75003)

<div class="topic-metadata">

**Author:** [@bct](https://www.ruby-forum.com/u/bct)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:05am UTC](https://www.ruby-forum.com/t/script-to-run-focused-specs-tests/75003 "2006-11-07T11:05:57Z")

</div>

For all of you non-Textmate users, I made a script that will run focused specs and tests. I bound this as an external Tool in my IntelliJ Idea environment. http://weblog.freeopinion.org/articles/2006/11/04/focused-uni…

---

## [Mechanize - 0.6.3 (Big Man)](https://www.ruby-forum.com/t/mechanize-0-6-3-big-man/75002)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:05am UTC](https://www.ruby-forum.com/t/mechanize-0-6-3-big-man/75002 "2006-11-07T11:05:46Z")

</div>

Mechanize version 0.6.3 (Big Man) is now available. = Description The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follo…

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

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