# Ruby

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

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

---

## [Will\_paginate](https://www.ruby-forum.com/t/will-paginate/183635)

<div class="topic-metadata">

**Author:** [@manish\_belsare](https://www.ruby-forum.com/u/manish_belsare)\
**Replies:** 5\
**Last updated:** [February 18, 2010, 2:10pm UTC](https://www.ruby-forum.com/t/will-paginate/183635 "2010-02-18T14:10:08Z")

</div>

Hello, I m working on a rails proj… i m using Ruby version 1.3.2 can u please help me in implementing the pagination stuff in Ruby… how to install the gem ‘will\_paginate’ which is latest for pagination…

---

## [Money 2.2.0](https://www.ruby-forum.com/t/money-2-2-0/183667)

<div class="topic-metadata">

**Author:** [@semmons99](https://www.ruby-forum.com/u/semmons99)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/money-2-2-0/183667 "2010-02-18T14:09:41Z")

</div>

Money 2.2.0 has been released. Changes: Can now divide two Money objects by one another \[#/\] Can now convert a Money object to a float \[#to\_f\] Users can now specify Seperators and Delimiters \[#format\] Support for Braz…

---

## [Simple addition program, need help](https://www.ruby-forum.com/t/simple-addition-program-need-help/183646)

<div class="topic-metadata">

**Author:** [@sseung](https://www.ruby-forum.com/u/sseung)\
**Replies:** 5\
**Last updated:** [February 18, 2010, 9:21am UTC](https://www.ruby-forum.com/t/simple-addition-program-need-help/183646 "2010-02-18T09:21:07Z")

</div>

class Calculater def dothis(x,y) puts x+y end end object = Calculater.new @@number = gets @@number2 = gets object.doThis(number,number2) i’m getting this error, C:\\Users\\Spencer\_2\\Documents\\NetBeansProjects\\Rub…

---

## [Is there anyway to On/Off mailer funtionality?](https://www.ruby-forum.com/t/is-there-anyway-to-on-off-mailer-funtionality/183651)

<div class="topic-metadata">

**Author:** [@saravanankrishnan](https://www.ruby-forum.com/u/saravanankrishnan)\
**Replies:** 1\
**Last updated:** [February 18, 2010, 6:55am UTC](https://www.ruby-forum.com/t/is-there-anyway-to-on-off-mailer-funtionality/183651 "2010-02-18T06:55:49Z")

</div>

Hi, I’m using actionmailer to send emails from my application(25 - 30 types of emails are generated for various process). Is there anyway to On/Off mailer functionality at single shot? Regards Sarav

---

## [Is it possible to run rb file on safari browser in windowsXP](https://www.ruby-forum.com/t/is-it-possible-to-run-rb-file-on-safari-browser-in-windowsxp/183650)

<div class="topic-metadata">

**Author:** [@sanjeev](https://www.ruby-forum.com/u/sanjeev)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 5:52am UTC](https://www.ruby-forum.com/t/is-it-possible-to-run-rb-file-on-safari-browser-in-windowsxp/183650 "2010-02-18T05:52:56Z")

</div>

Hi, I wanted to run my .rb file in Safari browser in Windows XP OS. Is it supporting the same and if yes then please guide me accordingly. I have Selenium RC 1.0.1 and I have tried simple html files to run on RC on S…

---

## [Unable to run .rb file with SCITE editor](https://www.ruby-forum.com/t/unable-to-run-rb-file-with-scite-editor/183606)

<div class="topic-metadata">

**Author:** [@sanjeev](https://www.ruby-forum.com/u/sanjeev)\
**Replies:** 9\
**Last updated:** [February 18, 2010, 5:40am UTC](https://www.ruby-forum.com/t/unable-to-run-rb-file-with-scite-editor/183606 "2010-02-18T05:40:41Z")

</div>

I have re-installed Ruby on my pc and run some rb files but these files are not giving any output rather gives error ‘The system cannot find the file specified.’ The same files were working before re-installation but …

---

## [Rubyful\_soup.rb - error and warning message](https://www.ruby-forum.com/t/rubyful-soup-rb-error-and-warning-message/183643)

<div class="topic-metadata">

**Author:** [@ashita](https://www.ruby-forum.com/u/ashita)\
**Replies:** 2\
**Last updated:** [February 18, 2010, 5:17am UTC](https://www.ruby-forum.com/t/rubyful-soup-rb-error-and-warning-message/183643 "2010-02-18T05:17:07Z")

</div>

Hello Group, version: ruby 1.9.1p378 source: $ cat kitty.rb #!/usr/bin/ruby -w require ‘rubyful\_soup’ When I run the source code, it gave me the following error: $ ./kitty.rb /usr/local/ruby/lib/ruby/gems/1.9.1/g…

---

## [IronRuby 1.0rc2 - crash calling =~ on clr string](https://www.ruby-forum.com/t/ironruby-1-0rc2-crash-calling-on-clr-string/183649)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 4:17am UTC](https://www.ruby-forum.com/t/ironruby-1-0rc2-crash-calling-on-clr-string/183649 "2010-02-18T04:17:58Z")

</div>

Ouch. Here’s a repro PS C:\\dev\\test\> ir IronRuby 0.9.4.0 on .NET 2.0.50727.4927 Copyright © Microsoft Corporation. All rights reserved. “hello”.to\_clr\_string =~ “hello” Process is terminated due to StackOverfl…

---

## [Ruby "Save Game" function](https://www.ruby-forum.com/t/ruby-save-game-function/183525)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 4\
**Last updated:** [February 18, 2010, 1:21am UTC](https://www.ruby-forum.com/t/ruby-save-game-function/183525 "2010-02-18T01:21:23Z")

</div>

Hello! I am currently working on a text-based RPG and I wanted to implement a function that allowed the user to save their game at any point, so that it could be resumed later. Of course, this would need to be complim…

---

## [Code Review: Ruby 1.8.7 and 1.9 compat improvements](https://www.ruby-forum.com/t/code-review-ruby-1-8-7-and-1-9-compat-improvements/183641)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 12:37am UTC](https://www.ruby-forum.com/t/code-review-ruby-1-8-7-and-1-9-compat-improvements/183641 "2010-02-18T00:37:21Z")

</div>

tfpt review “/shelveset:r187;REDMOND\\sborde” Comment : I wanted to get a feel for where were with Rails 3 compat. For V1 RTM, we can have a crisper message like “IronRuby 1.0 supports Rails 2.3.5. Rails 3 tests pass…

---

## ["Code must be Chunkable"](https://www.ruby-forum.com/t/code-must-be-chunkable/183151)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 45\
**Last updated:** [February 18, 2010, 12:08am UTC](https://www.ruby-forum.com/t/code-must-be-chunkable/183151 "2010-02-18T00:08:01Z")

</div>

I watched Part 1 of this great lecture, and I just had to share: http://architects.dzone.com/videos/dci-architecture-trygve You can read my brief post on it here: http://proutils.github.com/2010/02/dci-architecture/in…

---

## [CSV: what is the problem?](https://www.ruby-forum.com/t/csv-what-is-the-problem/183639)

<div class="topic-metadata">

**Author:** [@fbeausoleil](https://www.ruby-forum.com/u/fbeausoleil)\
**Replies:** 4\
**Last updated:** [February 17, 2010, 11:10pm UTC](https://www.ruby-forum.com/t/csv-what-is-the-problem/183639 "2010-02-17T23:10:43Z")

</div>

Do you have any solution? %which ruby /usr/local/bin/ruby %ruby --version ruby 1.9.1p376 (2009-12-07 revision 26041) \[i386-darwin10.2.0\] %irb irb(main):001:0\> require ‘csv’ =\> true irb(main):002:0\> a = ‘1,2,3’ =\>…

---

## [System waiting for launched process AND forked processes](https://www.ruby-forum.com/t/system-waiting-for-launched-process-and-forked-processes/183630)

<div class="topic-metadata">

**Author:** [@pmorel](https://www.ruby-forum.com/u/pmorel)\
**Replies:** 5\
**Last updated:** [February 17, 2010, 10:23pm UTC](https://www.ruby-forum.com/t/system-waiting-for-launched-process-and-forked-processes/183630 "2010-02-17T22:23:57Z")

</div>

Hello, We have written a small client-server program in c/socket. To launch the server, we call the program which internally fork. The original process returns immediately but the forked process stays alive and listen…

---

## [Running both Ruby 1.8 and 1.9 on same windows machine](https://www.ruby-forum.com/t/running-both-ruby-1-8-and-1-9-on-same-windows-machine/183598)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 6\
**Last updated:** [February 17, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/running-both-ruby-1-8-and-1-9-on-same-windows-machine/183598 "2010-02-17T22:12:12Z")

</div>

I want to try out Ruby 1.9, but don’t want to go whole hog since I have a lot of programs that run just fine with 1.8. I also use RMagick, which seems not to work with 1.9 yet. Can I have both versions of Ruby instal…

---

## [Lookup up documentation for inherited methods](https://www.ruby-forum.com/t/lookup-up-documentation-for-inherited-methods/183629)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 6\
**Last updated:** [February 17, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/lookup-up-documentation-for-inherited-methods/183629 "2010-02-17T22:00:24Z")

</div>

I find it frustrating when using “ri” to look up documentation on a class, only to find the method I’m curious about is not listed. As an example: String objects have many more methods than are explained in the docume…

---

## [Can SWIN CommonDialog.openFilename() select multiple files?](https://www.ruby-forum.com/t/can-swin-commondialog-openfilename-select-multiple-files/183313)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 11\
**Last updated:** [February 17, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/can-swin-commondialog-openfilename-select-multiple-files/183313 "2010-02-17T20:43:16Z")

</div>

Can the SWIN CommonDialog.openFilename() method be used to select multiple filenames at one time? Thanks, –Alex DeCaria

---

## [Great Lakes Ruby Bash - Call for Proposals](https://www.ruby-forum.com/t/great-lakes-ruby-bash-call-for-proposals/183634)

<div class="topic-metadata">

**Author:** [@bdimcheff](https://www.ruby-forum.com/u/bdimcheff)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 7:25pm UTC](https://www.ruby-forum.com/t/great-lakes-ruby-bash-call-for-proposals/183634 "2010-02-17T19:25:22Z")

</div>

We are pleased to announce that we are accepting talk proposals for the Great Lakes Ruby Bash to be held on Michigan State University’s campus in East Lansing, Michigan on Saturday, April 17th. http://greatlakesrub…

---

## [Ruby 1.9 and RMagick](https://www.ruby-forum.com/t/ruby-1-9-and-rmagick/183627)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 1\
**Last updated:** [February 17, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/ruby-1-9-and-rmagick/183627 "2010-02-17T18:30:45Z")

</div>

The only application keeping me from going completely to Ruby 1.9 (from 1.8) is RMagick. Can RMagick be used on Windows with Ruby 1.9? If so, what do I need to do to install it? There isn’t an RMagick Gem yet for R…

---

## [Ruby & XML](https://www.ruby-forum.com/t/ruby-xml/183615)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 2\
**Last updated:** [February 17, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/ruby-xml/183615 "2010-02-17T14:44:20Z")

</div>

Hello xml {} produce carriage return Exemple : xml.id { xml.cdata!(1)} =\> ################################# BUT i need: ( without carriage return ) Any idea how to make that ? I am stuck…

---

## [Mwrc 2010](https://www.ruby-forum.com/t/mwrc-2010/181888)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 1\
**Last updated:** [February 17, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/mwrc-2010/181888 "2010-02-17T14:22:49Z")

</div>

Okay, it’s that time of year again. MWRC is back for another round, and it looks like it’s going to be better than ever. You can check out the speaker list here: http://mtnwestrubyconf.org/2010/sessions but if that’…

---

## [Moving from ruby ee 1.8.6 to 1.8.7 (ee)](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571)

<div class="topic-metadata">

**Author:** [@grissom](https://www.ruby-forum.com/u/grissom)\
**Replies:** 3\
**Last updated:** [February 17, 2010, 10:30am UTC](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571 "2010-02-17T10:30:49Z")

</div>

Hello I’ve decide to upgrade my ruby ee from 1.8.6 to 1.8.7 on debian. I’ve copied all gems from /opt/ruby-enterprise/ to new location but unfortunatelly it doesnt work, do I’ve to reinstall all gems?

---

## [Code Review: V4bugs (take 2)](https://www.ruby-forum.com/t/code-review-v4bugs-take-2/183595)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 3:46am UTC](https://www.ruby-forum.com/t/code-review-v4bugs-take-2/183595 "2010-02-17T03:46:24Z")

</div>

tfpt review “/shelveset:V4bugs;REDMOND\\tomat” Comment : DLR: Marks generated assemblies by SecurityRulesAttributes. Ruby: Corrects paths in run\_syntax and MSpec (ruby\_exe.rb). Adds RubyIO subclass to avoid type ge…

---

## [Code Review: InteropFix](https://www.ruby-forum.com/t/code-review-interopfix/183594)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 3:40am UTC](https://www.ruby-forum.com/t/code-review-interopfix/183594 "2010-02-17T03:40:33Z")

</div>

tfpt review “/shelveset:InteropFix;REDMOND\\tomat” Comment : Replaces all remaining calls to Expession.Dynamic by AstUtils.LightDynamic. Removes superfluous restriction in InteropBinder.InvokeMember.FallbackInvoke. …

---

## [Ruby xml & Cdata](https://www.ruby-forum.com/t/ruby-xml-cdata/183585)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 1\
**Last updated:** [February 17, 2010, 12:22am UTC](https://www.ruby-forum.com/t/ruby-xml-cdata/183585 "2010-02-17T00:22:44Z")

</div>

Hello I try to make : I did: xml.id("\<!\[CDATA\[1\]\]") But it results : \<!\[CDATA\[1\] I guess this is newbye question, but i haven’t found any solution to avoid “\<” to be escaped… Any idea ?

---

## [Mutex](https://www.ruby-forum.com/t/mutex/183489)

<div class="topic-metadata">

**Author:** [@coldpeace](https://www.ruby-forum.com/u/coldpeace)\
**Replies:** 8\
**Last updated:** [February 16, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/mutex/183489 "2010-02-16T23:05:29Z")

</div>

Hi, I have a trouble using the ConditionVariable and Mutex Class , Actualy , I’m tryin’ to make a Semaphore to manage Threads a simple semaphore with its 2 famous methods looks like : def acquire() raise "Interrupte…

---

## [Noob: Review code for us of object orientation](https://www.ruby-forum.com/t/noob-review-code-for-us-of-object-orientation/183566)

<div class="topic-metadata">

**Author:** [@lsumnler](https://www.ruby-forum.com/u/lsumnler)\
**Replies:** 1\
**Last updated:** [February 16, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/noob-review-code-for-us-of-object-orientation/183566 "2010-02-16T22:55:32Z")

</div>

Would appreciate is if someone could look over the attached file which contains two modules. I have a large number of old Cobol files to convert into a MySQL database. The programs work upto this point and I have not…

---

## [\[Bug:trunk\] TCPServer#gets gets stuck](https://www.ruby-forum.com/t/bug-trunk-tcpserver-gets-gets-stuck/182905)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 17\
**Last updated:** [February 16, 2010, 10:49pm UTC](https://www.ruby-forum.com/t/bug-trunk-tcpserver-gets-gets-stuck/182905 "2010-02-16T22:49:40Z")

</div>

e$B1sF#$G$9!#e(B e$BC10l%9%l%C%I$N\>uBV$Ge(B TCPServer#gets e$B$r8F$V$He(B Errno::ENOTCONN e$B$,e(B e$BEj$2$i$l$^$9$,!“J#?t$N%9%l%C%I$,$$$k\>uBV$@$H@\\B3$,$”$k$^$G%V%m%C%/e(B e$B$7$^$9!#e(B Thread.new { sleep } TCPSer…

---

## [Why no ++ and --?](https://www.ruby-forum.com/t/why-no-and/183097)

<div class="topic-metadata">

**Author:** [@Sonja\_Elen\_K](https://www.ruby-forum.com/u/Sonja_Elen_K)\
**Replies:** 26\
**Last updated:** [February 16, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/why-no-and/183097 "2010-02-16T21:10:46Z")

</div>

“foo += 1” somehow seems less elegant or pretty as “foo++”. Is there any reason Ruby doesn’t have ++? Is it something that might be added in a future version?

---

## [MRI 1.8.7 compatibility](https://www.ruby-forum.com/t/mri-1-8-7-compatibility/183302)

<div class="topic-metadata">

**Author:** [@Mark\_Rendle](https://www.ruby-forum.com/u/Mark_Rendle)\
**Replies:** 24\
**Last updated:** [February 16, 2010, 8:31pm UTC](https://www.ruby-forum.com/t/mri-1-8-7-compatibility/183302 "2010-02-16T20:31:34Z")

</div>

It seems a shame that the 1.0 release of IronRuby isn’t going to be able to run Rails 3, since they seem to be landing at around the same time. I guess the differences between MRI 1.8.6 and 1.8.7 are pretty major, th…

---

## [Skipping headers in FasterCSV](https://www.ruby-forum.com/t/skipping-headers-in-fastercsv/183389)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 9\
**Last updated:** [February 16, 2010, 8:14pm UTC](https://www.ruby-forum.com/t/skipping-headers-in-fastercsv/183389 "2010-02-16T20:14:55Z")

</div>

Hello all, I’m having one heck of a day. I found out that Oracle has a identifier limit and I have several columns that have a names longer than 30 chars. What does this have to do with FasterCSV you ask? I have a m…

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

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