# Ruby

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

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

---

## [Project idea: Ruby Press](https://www.ruby-forum.com/t/project-idea-ruby-press/106302)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 6\
**Last updated:** [June 9, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/project-idea-ruby-press/106302 "2007-06-09T23:30:57Z")

</div>

It seems to be cool idea if somebody with strong experience of printing and press would code his experience in Ruby, to have pretty DSL for making “book-like” and “newspaper-like” printing. I have in mind something l…

---

## [Newbie question about MySQL on Windows XP Pro](https://www.ruby-forum.com/t/newbie-question-about-mysql-on-windows-xp-pro/106383)

<div class="topic-metadata">

**Author:** [@grehom](https://www.ruby-forum.com/u/grehom)\
**Replies:** 2\
**Last updated:** [June 9, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/newbie-question-about-mysql-on-windows-xp-pro/106383 "2007-06-09T17:26:17Z")

</div>

I have a brand new installation of latest Ruby: C:\\rubysrcs\\ruby\_tut\>ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-mswin32\] and I installed mysql: C:\\perlsrcs\\ebay\>gem install mysql Select which gem to install …

---

## [Help with emailing attachments with Ruby](https://www.ruby-forum.com/t/help-with-emailing-attachments-with-ruby/105727)

<div class="topic-metadata">

**Author:** [@grooveska](https://www.ruby-forum.com/u/grooveska)\
**Replies:** 10\
**Last updated:** [June 9, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/help-with-emailing-attachments-with-ruby/105727 "2007-06-09T16:17:05Z")

</div>

I am working on a script that will send an email with a .csv file attachment. I can get everything set correctly, and the email gets sent properly. The problem is with the attachments. This maybe a MIME thing instea…

---

## [Cannot load installed gems](https://www.ruby-forum.com/t/cannot-load-installed-gems/106066)

<div class="topic-metadata">

**Author:** [@gsofhon](https://www.ruby-forum.com/u/gsofhon)\
**Replies:** 6\
**Last updated:** [June 9, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/cannot-load-installed-gems/106066 "2007-06-09T13:34:11Z")

</div>

Hello there. Well, I’ve installed hpricot using gem, and it works well in windows. But under my fedora 7, although gem told me that hpricot has been successfully installed(I did install gcc and make so that gem can c…

---

## [RoR Problems with special Character in the model](https://www.ruby-forum.com/t/ror-problems-with-special-character-in-the-model/106362)

<div class="topic-metadata">

**Author:** [@Joachim\_Reichel](https://www.ruby-forum.com/u/Joachim_Reichel)\
**Replies:** 4\
**Last updated:** [June 9, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/ror-problems-with-special-character-in-the-model/106362 "2007-06-09T13:32:48Z")

</div>

Hi all, after two hours of googling I’ll ask you :wink: I have an ActiveRecord class which I extended with a method that returns an array of strings as categories. One string has a special character in it. When the …

---

## [Ruby 1.9 trunk core ($global\_var and 250mb over file)](https://www.ruby-forum.com/t/ruby-1-9-trunk-core-global-var-and-250mb-over-file/106073)

<div class="topic-metadata">

**Author:** [@WATANABE\_Tetsuya](https://www.ruby-forum.com/u/WATANABE_Tetsuya)\
**Replies:** 1\
**Last updated:** [June 9, 2007, 7:50am UTC](https://www.ruby-forum.com/t/ruby-1-9-trunk-core-global-var-and-250mb-over-file/106073 "2007-06-09T07:50:11Z")

</div>

e$BEOJUE/Li$G$9!#e(B ruby 1.9 trunk e$B$Ge(B core e$B$7$?$N$G$\*CN$i$;$7$^$9!#e(B ruby 1.9.0 (2007-06-06 patchlevel 0) \[i686-linux\] rev 12449 Vine Linux 3.2 glibc-2.3.3-3vl1.3 e$B:F8=J}K!e(B e$B:F8=%9%/%j%W%H$G$9!#\>r…

---

## [Mms2r 1.1.0 Released](https://www.ruby-forum.com/t/mms2r-1-1-0-released/106368)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 5:34am UTC](https://www.ruby-forum.com/t/mms2r-1-1-0-released/106368 "2007-06-09T05:34:03Z")

</div>

We need additional MMS samples to increase the powers of MMS2R! You can help make MMS2R super awesome and radigical (radical+magical)! Please send an MMS image from your cellphone to: removed\_email\_address@domain.inva…

---

## [Calling Perl Modules from ruby](https://www.ruby-forum.com/t/calling-perl-modules-from-ruby/105967)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 5\
**Last updated:** [June 9, 2007, 4:40am UTC](https://www.ruby-forum.com/t/calling-perl-modules-from-ruby/105967 "2007-06-09T04:40:00Z")

</div>

I saw some conversation about this a few months ago, but wanted to revisit this. I think the main theme of what I saw was that the perl modules should be rewritten into ruby. Any better way to leverage what is alread…

---

## [Ruby 1.8.5-p52 released](https://www.ruby-forum.com/t/ruby-1-8-5-p52-released/106366)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 0\
**Last updated:** [June 9, 2007, 3:40am UTC](https://www.ruby-forum.com/t/ruby-1-8-5-p52-released/106366 "2007-06-09T03:40:54Z")

</div>

Hi all, I am pleased to announce that a new version for Ruby 1.8.5 has been released. This release is the counterpart for 1.8.6-p36, backports from newer releases are included. The source code tarballs are available…

---

## [Trouble running ruby programs](https://www.ruby-forum.com/t/trouble-running-ruby-programs/106351)

<div class="topic-metadata">

**Author:** [@Hydro\_Flame\_XZ18](https://www.ruby-forum.com/u/Hydro_Flame_XZ18)\
**Replies:** 14\
**Last updated:** [June 9, 2007, 12:57am UTC](https://www.ruby-forum.com/t/trouble-running-ruby-programs/106351 "2007-06-09T00:57:44Z")

</div>

I’m a newbie programmer and I just downloaded ruby today. I must say I’m impressed with its ease of use, but I have a problem. When I try to run programs written in ruby, the window for the program to run in pops up f…

---

## [What about a 'series' type?](https://www.ruby-forum.com/t/what-about-a-series-type/106199)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 16\
**Last updated:** [June 8, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/what-about-a-series-type/106199 "2007-06-08T22:08:17Z")

</div>

I’m sure everyone is fimilar with ranges: (1…10).to\_a = \[1,2,3,4,5,6,7,8,9,10\] (from manual) But this isn’t any good if you want a arithmetic \[3,5,7,9\] or geometric \[2,6,18,54\] series. So I suggest this: arithmetic\_s…

---

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

<div class="topic-metadata">

**Author:** [@Ceex](https://www.ruby-forum.com/u/Ceex)\
**Replies:** 1\
**Last updated:** [June 8, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/unsubscribe/106344 "2007-06-08T22:02:17Z")

</div>

unsubscribe

---

## [Integer#prime\_division $B$H(B Prime](https://www.ruby-forum.com/t/integer-prime-division-b-h-b-prime/106194)

<div class="topic-metadata">

**Author:** [@TOYOFUKU\_Chikanobu](https://www.ruby-forum.com/u/TOYOFUKU_Chikanobu)\
**Replies:** 5\
**Last updated:** [June 8, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/integer-prime-division-b-h-b-prime/106194 "2007-06-08T20:42:01Z")

</div>

e$BK-J!$G$9!#e(B ((2\*\*17-1)2).prime\_division e$B$KHf$Y$Fe(B ((219-1)\*\*2).prime\_division e$B$N;~4V$,0\[MM$K$+$+$k$N$GD4$Y$?$H$3$me(B Integer#prime\_division e$B$NCf$Ne(B ps = Prime.new e$B$+$iAG?tNs$r@8@.$9$k$N$K%3%9%…

---

## [(Newbie) Class constants from included modules](https://www.ruby-forum.com/t/newbie-class-constants-from-included-modules/106340)

<div class="topic-metadata">

**Author:** [@dale](https://www.ruby-forum.com/u/dale)\
**Replies:** 1\
**Last updated:** [June 8, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/newbie-class-constants-from-included-modules/106340 "2007-06-08T20:41:01Z")

</div>

I’d like to make a class constant using a module – I cannot use \< because I am extending unit\_test. – Here’s the idea: module One @@constant=“constant” end module Two def work puts(@@constant) end end class Con…

---

## [DRY Documentation between method and OptionParser](https://www.ruby-forum.com/t/dry-documentation-between-method-and-optionparser/106233)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 1\
**Last updated:** [June 8, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/dry-documentation-between-method-and-optionparser/106233 "2007-06-08T20:37:01Z")

</div>

I suspect that lots of folks have run into this very problem: I have a method. It has lots of options. I need a command line program that will give users command line access to run the method. I can use OptionParse…

---

## [Newbie Question](https://www.ruby-forum.com/t/newbie-question/106329)

<div class="topic-metadata">

**Author:** [@rafa](https://www.ruby-forum.com/u/rafa)\
**Replies:** 3\
**Last updated:** [June 8, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/newbie-question/106329 "2007-06-08T19:09:52Z")

</div>

Hi guys, im trying an script that use Mongrel and Erubis, i just installed the gems with gem install mongrel gem install erubis The installation went fine, without any error but everytime i try to run the script i g…

---

## [New Haven Rubyists Meeting 2007.06.10](https://www.ruby-forum.com/t/new-haven-rubyists-meeting-2007-06-10/106332)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/new-haven-rubyists-meeting-2007-06-10/106332 "2007-06-08T17:26:42Z")

</div>

== new\_haven.rb June Meeting — Date / Time Sunday June 10th, 6pm - 8pm — Location University of New Haven Maxcy Hall, Room 218 300 Boston Post Rd, West Haven CT — Talks Paul N. : RSpec Gregory B. : GhostWheel - …

---

## [How to use strings as code](https://www.ruby-forum.com/t/how-to-use-strings-as-code/106275)

<div class="topic-metadata">

**Author:** [@riv](https://www.ruby-forum.com/u/riv)\
**Replies:** 4\
**Last updated:** [June 8, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/how-to-use-strings-as-code/106275 "2007-06-08T16:46:38Z")

</div>

In short, I’m looking for a way to grab a string from a database and use it as code in my rails app. I understand the security implications, but it’s still what I want to do (and I don’t know what other options I hav…

---

## [Need explanation -\> Passing 'id' in a form / link\_to](https://www.ruby-forum.com/t/need-explanation-passing-id-in-a-form-link-to/106296)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 1\
**Last updated:** [June 8, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/need-explanation-passing-id-in-a-form-link-to/106296 "2007-06-08T16:17:43Z")

</div>

Just need some more inside information… Sample Code from the AWDWR book. \<%= link\_to ( image\_tag( product.image\_url ), { :action =\> :add\_to\_cart, :id =\> product }, :method =\> :post, :confirm =\> “Are you sure?” ) %\> …

---

## [Qtruby problem, can't show rescourcefile](https://www.ruby-forum.com/t/qtruby-problem-cant-show-rescourcefile/106321)

<div class="topic-metadata">

**Author:** [@anansi](https://www.ruby-forum.com/u/anansi)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/qtruby-problem-cant-show-rescourcefile/106321 "2007-06-08T15:51:32Z")

</div>

Hi, I created with the qtdesigner a MainWindowForm and saved it as \*.ui then I converted it with rbuic to a ruby recoursefile named win.rb and I’m trying to use it with trunk.rb but I’m always getting this fanzy erro…

---

## [Reading values from xml file](https://www.ruby-forum.com/t/reading-values-from-xml-file/106320)

<div class="topic-metadata">

**Author:** [@vikashkumar051](https://www.ruby-forum.com/u/vikashkumar051)\
**Replies:** 1\
**Last updated:** [June 8, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/reading-values-from-xml-file/106320 "2007-06-08T15:15:28Z")

</div>

I have a xml file \<?xml version="1.0" encoding="UTF-8"?\> I want to display, store values like this require “rexml/document” include REXML doc = Document.new File.new(“yourBill.xml”) billerName="";billingAccountNum…

---

## [MI5 Persecution: Question and Answer 27/9/95 (2076)](https://www.ruby-forum.com/t/mi5-persecution-question-and-answer-27-9-95-2076/106322)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/mi5-persecution-question-and-answer-27-9-95-2076/106322 "2007-06-08T15:01:25Z")

</div>

In article removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid “Mike Corley” writes: ##: There were also a few other things said at the trial ##: relating to this which I won’t repeat here; it…

---

## [MI5 Persecution: Options 21/9/95 (562)](https://www.ruby-forum.com/t/mi5-persecution-options-21-9-95-562/106317)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/mi5-persecution-options-21-9-95-562/106317 "2007-06-08T14:31:22Z")

</div>

From: john heelan removed\_email\_address@domain.invalid Newsgroups: uk.misc,alt.current-events.net-abuse,alt.journalism Subject: Re: CENSORHSIP IS IMMORAL, UNJUST AND WRONG Date: Thu, 21 Sep 95 19:17:30 GMT Organizati…

---

## [Gecode/R - Request for syntax feedback](https://www.ruby-forum.com/t/gecode-r-request-for-syntax-feedback/106044)

<div class="topic-metadata">

**Author:** [@andreas\_l](https://www.ruby-forum.com/u/andreas_l)\
**Replies:** 23\
**Last updated:** [June 8, 2007, 2:24pm UTC](https://www.ruby-forum.com/t/gecode-r-request-for-syntax-feedback/106044 "2007-06-08T14:24:20Z")

</div>

Hello, I’m working on Gecode/R, a Ruby interface to Gecode\[0\], allowing constraint programming in Ruby. I’m currently trying to set some goals/direction for the syntax, and would appreciate feedback from anyone that h…

---

## [Extract .tar.bz2 with ruby](https://www.ruby-forum.com/t/extract-tar-bz2-with-ruby/106306)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 8, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/extract-tar-bz2-with-ruby/106306 "2007-06-08T13:14:11Z")

</div>

Hi, I need to extract the content of a tar.bz2 file with ruby. I use ruby under in WinXP. How do I do that? Thanks Peter

---

## [Net/ftp HELP!](https://www.ruby-forum.com/t/net-ftp-help/106310)

<div class="topic-metadata">

**Author:** [@vineetraja](https://www.ruby-forum.com/u/vineetraja)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 11:46am UTC](https://www.ruby-forum.com/t/net-ftp-help/106310 "2007-06-08T11:46:06Z")

</div>

Hi Can anyone help me find some way using net/ftp for changing the directory listing style from unix to ms-dos kind. Actually I needed to find the file timestamp FYI : MDTM doesn’t works on my ftp server :frowning: …

---

## [How to develop cool GUI with Ruby](https://www.ruby-forum.com/t/how-to-develop-cool-gui-with-ruby/106293)

<div class="topic-metadata">

**Author:** [@jwing](https://www.ruby-forum.com/u/jwing)\
**Replies:** 5\
**Last updated:** [June 8, 2007, 10:57am UTC](https://www.ruby-forum.com/t/how-to-develop-cool-gui-with-ruby/106293 "2007-06-08T10:57:47Z")

</div>

Hi All, Which is the best RAD tool for Ruby to dev cool GUI program? Can use glade to design the GUI, then save the design as glade.xml, use glade-ruby to load the xml, parse it, invoke with TK? Is there any example …

---

## [Display question mark in my gtk+ app](https://www.ruby-forum.com/t/display-question-mark-in-my-gtk-app/106301)

<div class="topic-metadata">

**Author:** [@wet](https://www.ruby-forum.com/u/wet)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 9:16am UTC](https://www.ruby-forum.com/t/display-question-mark-in-my-gtk-app/106301 "2007-06-08T09:16:34Z")

</div>

i follow the steps described in this site(http://ruby- gnome2.sourceforge.jp/hiki.cgi?tips\_rubyscript2exe) to create my standalone ruby app with gtk2 by using rubyscripts2exe. and this exe file does run well except al…

---

## [Facets](https://www.ruby-forum.com/t/facets/106287)

<div class="topic-metadata">

**Author:** [@frew](https://www.ruby-forum.com/u/frew)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 3:48am UTC](https://www.ruby-forum.com/t/facets/106287 "2007-06-08T03:48:11Z")

</div>

Hello friends, I have just found out about Facets from a number of mentions on this list. Is there any way to see good examples of the facets library and how to use it besides reading the rdoc?

---

## [Starting](https://www.ruby-forum.com/t/starting/106167)

<div class="topic-metadata">

**Author:** [@mailer\_mailer](https://www.ruby-forum.com/u/mailer_mailer)\
**Replies:** 11\
**Last updated:** [June 8, 2007, 3:11am UTC](https://www.ruby-forum.com/t/starting/106167 "2007-06-08T03:11:04Z")

</div>

I am just starting to learn ruby, where should I start?

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

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