# Ruby

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

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

---

## [Thanks a lot](https://www.ruby-forum.com/t/thanks-a-lot/84001)

<div class="topic-metadata">

**Author:** [@ChrisKaelin](https://www.ruby-forum.com/u/ChrisKaelin)\
**Replies:** 0\
**Last updated:** [January 31, 2007, 12:18pm UTC](https://www.ruby-forum.com/t/thanks-a-lot/84001 "2007-01-31T12:18:59Z")

</div>

Thanks a lot for all your suggestions, what a nice community! I appreciate that very much, as I’m still learning ruby. I admit YAML really seems very easy in the first example. My assumption, that YAML is complicated …

---

## [\[ANN\]XRuby compiler 0.1.0 released](https://www.ruby-forum.com/t/ann-xruby-compiler-0-1-0-released/83919)

<div class="topic-metadata">

**Author:** [@Xue\_Yong\_Z](https://www.ruby-forum.com/u/Xue_Yong_Z)\
**Replies:** 5\
**Last updated:** [January 31, 2007, 11:58am UTC](https://www.ruby-forum.com/t/ann-xruby-compiler-0-1-0-released/83919 "2007-01-31T11:58:53Z")

</div>

I am glad to announce the release XRuby 0.1.0 , a ruby compiler which compiles ruby script (.rb) to java bytecode (.class). You can download it from here: Google Code Archive - Long-term storage for Google Code Project…

---

## [Conversion of .aspx into .rhtml](https://www.ruby-forum.com/t/conversion-of-aspx-into-rhtml/83997)

<div class="topic-metadata">

**Author:** [@manohar\_amrutkar](https://www.ruby-forum.com/u/manohar_amrutkar)\
**Replies:** 0\
**Last updated:** [January 31, 2007, 11:45am UTC](https://www.ruby-forum.com/t/conversion-of-aspx-into-rhtml/83997 "2007-01-31T11:45:53Z")

</div>

Hi Everybody, I am working on a project which is implemented in .net framework before ( vb and asp ). Its a website about articles, columns etc. I want to implement it in ruby platform. I have problem in designin…

---

## [Rc-rest 2.2.1 Released](https://www.ruby-forum.com/t/rc-rest-2-2-1-released/83992)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [January 31, 2007, 11:28am UTC](https://www.ruby-forum.com/t/rc-rest-2-2-1-released/83992 "2007-01-31T11:28:51Z")

</div>

rc-rest version 2.2.1 has been released! http://seattlerb.rubyforge.org/rc-rest This library makes it easy to implement REST-like web services APIs. Changes: = 2.2.1 Turn IOError into RCRest::CommunicationError fo…

---

## [Require library path](https://www.ruby-forum.com/t/require-library-path/83902)

<div class="topic-metadata">

**Author:** [@Krekna\_M](https://www.ruby-forum.com/u/Krekna_M)\
**Replies:** 2\
**Last updated:** [January 31, 2007, 8:45am UTC](https://www.ruby-forum.com/t/require-library-path/83902 "2007-01-31T08:45:38Z")

</div>

Hi, I want to load the date.rb file, but require ‘date’ results in : ./mk.rb:4:in \`require’: no such file to load – date (LoadError) from ./mk.rb:4 ruby is installed in ~/ruby/rubyinstall/ Apparently Ruby does not l…

---

## [Tricks with method as superclass](https://www.ruby-forum.com/t/tricks-with-method-as-superclass/83981)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 4\
**Last updated:** [January 31, 2007, 7:55am UTC](https://www.ruby-forum.com/t/tricks-with-method-as-superclass/83981 "2007-01-31T07:55:36Z")

</div>

I’m intrigued by the way Camping uses a method invocation to serve as a superclass, and while exploring, possibly found a bug? At any rate, some behaviour I can’t explain… but first a simple example of what Camping do…

---

## [Move ruby\_1\_8\_5 to SVN](https://www.ruby-forum.com/t/move-ruby-1-8-5-to-svn/83827)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 6\
**Last updated:** [January 31, 2007, 6:40am UTC](https://www.ruby-forum.com/t/move-ruby-1-8-5-to-svn/83827 "2007-01-31T06:40:32Z")

</div>

e$BA0ED$G$9!#e(B ruby\_1\_8\_5e$B$O8=\>u$G$Oe(BCVSe$B$G%a%s%F%J%s%9$7$F$$$^$9$,!“e(Blithium.ruby-lang.org e$B$NITD4e(B(1/30 10:00e$B8=:\_$G%V!\<%H$7$J$$\>u67e(B)e$B$b$”$j!"$G$-$l$Pe(BSVNe$B$K0\\9T$7$?$$e(B e$B$H;W$C$F$$$^$9!#…

---

## [Hpricot ri and rdoc documentation](https://www.ruby-forum.com/t/hpricot-ri-and-rdoc-documentation/80362)

<div class="topic-metadata">

**Author:** [@bbiker](https://www.ruby-forum.com/u/bbiker)\
**Replies:** 14\
**Last updated:** [January 31, 2007, 6:18am UTC](https://www.ruby-forum.com/t/hpricot-ri-and-rdoc-documentation/80362 "2007-01-31T06:18:31Z")

</div>

I have gem installed Hpricot-0.4 (mswin32) but no ri documentation or rdoc documentation is installed along the library. I have also tried the following gem command: gem install hpricot --ri –rdoc with the same resul…

---

## [How do you make forms?](https://www.ruby-forum.com/t/how-do-you-make-forms/83782)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 6\
**Last updated:** [January 31, 2007, 4:08am UTC](https://www.ruby-forum.com/t/how-do-you-make-forms/83782 "2007-01-31T04:08:23Z")

</div>

How do you make forms for your program in Ruby? Do you need some particular software?

---

## [Learning tools for a novice](https://www.ruby-forum.com/t/learning-tools-for-a-novice/83799)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 8\
**Last updated:** [January 31, 2007, 4:00am UTC](https://www.ruby-forum.com/t/learning-tools-for-a-novice/83799 "2007-01-31T04:00:22Z")

</div>

Is there a book like programming Ruby for dummies or other such elementary learning tool? Can someone recommend some really basic beginner books for Ruby? One that would include the software and other tools you need t…

---

## [Help! w/ these simple tests!](https://www.ruby-forum.com/t/help-w-these-simple-tests/83942)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 2\
**Last updated:** [January 31, 2007, 12:31am UTC](https://www.ruby-forum.com/t/help-w-these-simple-tests/83942 "2007-01-31T00:31:11Z")

</div>

Ok - yes - I’m a desperate newbie and I am not sure why these test don’t pass. Here’s the rundown: the method def show\_space @space = Space.find(:all, :conditions =\> \[“id=?”, params\[:id\]\]) end the test def test\_s…

---

## [South East Michigan Ruby Brigade Meeting](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting/83943)

<div class="topic-metadata">

**Author:** [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting/83943 "2007-01-30T23:11:03Z")

</div>

\[ANN\] South East Michigan Ruby Brigade Meeting For more information see our web site, http://rubymi.org/ Date: Monday, 5 February 2007, 7-8:30PM Location: 1311 EECS, Ann Arbor Agenda: Talks CRM Product Demo - by…

---

## [Is the Ruby "ruby logo" licenced under creative commons?](https://www.ruby-forum.com/t/is-the-ruby-ruby-logo-licenced-under-creative-commons/83931)

<div class="topic-metadata">

**Author:** [@bch36](https://www.ruby-forum.com/u/bch36)\
**Replies:** 1\
**Last updated:** [January 30, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/is-the-ruby-ruby-logo-licenced-under-creative-commons/83931 "2007-01-30T22:18:58Z")

</div>

Is the Ruby “ruby logo” licenced under creative commons? (The ruby logo found in the header of Ruby Programming Language) I was also wondering if someone had made a good ‘ruby’ t-shirt with the logo on it? I was look…

---

## [Trollop 1.0 released](https://www.ruby-forum.com/t/trollop-1-0-released/83835)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 4\
**Last updated:** [January 30, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/trollop-1-0-released/83835 "2007-01-30T21:50:53Z")

</div>

Trollop version 1.0 has been released! http://trollop.rubyforge.org Trollop is YAFCLAP — yet another fine commandline argument processing library for Ruby. Trollop is designed to provide the maximal amount of GNU-sty…

---

## [Interface coding by contract design and dependency injection](https://www.ruby-forum.com/t/interface-coding-by-contract-design-and-dependency-injection/83795)

<div class="topic-metadata">

**Author:** [@PerfectDayToChaseTo](https://www.ruby-forum.com/u/PerfectDayToChaseTo)\
**Replies:** 6\
**Last updated:** [January 30, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/interface-coding-by-contract-design-and-dependency-injection/83795 "2007-01-30T20:55:48Z")

</div>

Hi All, I am a Java developer of many years & just starting to get into Ruby (& really enjoying it!). However I am used to ‘coding by contract’ using interfaces. This is especially great when using dependency injectio…

---

## [Rc-rest 2.2.0 Released](https://www.ruby-forum.com/t/rc-rest-2-2-0-released/83841)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 7:48pm UTC](https://www.ruby-forum.com/t/rc-rest-2-2-0-released/83841 "2007-01-30T19:48:40Z")

</div>

rc-rest version 2.2.0 has been released! http://seattlerb.rubyforge.org/rc-rest This library makes it easy to implement REST-like web services APIs. Changes: = 2.2.0 Moved to seattlerb rubyforge project Moved t…

---

## [Correct way to process a file in Ruby?](https://www.ruby-forum.com/t/correct-way-to-process-a-file-in-ruby/83899)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 4\
**Last updated:** [January 30, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/correct-way-to-process-a-file-in-ruby/83899 "2007-01-30T18:49:57Z")

</div>

Hi What is the correct way to code the following in Ruby? open file read field from file determine from field the type of file case file type in type 1) do this (lots of stuff) type 2) do that (even more stuff) t…

---

## [Re: Counting Toothpicks (#111)](https://www.ruby-forum.com/t/re-counting-toothpicks-111/83900)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/re-counting-toothpicks-111/83900 "2007-01-30T18:23:23Z")

</div>

I cleaned up my solution somewhat, substituting some verbose java-style code with rubyisms and changing the ineptly named ‘expansions’ to ‘reductions’ or ‘factorizations’ as appropriate. donald #!c:\\ruby\\bin\\ruby.ex…

---

## [Html parameters in ruby](https://www.ruby-forum.com/t/html-parameters-in-ruby/83898)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/html-parameters-in-ruby/83898 "2007-01-30T18:15:22Z")

</div>

I want to allow the user to ‘filter’ his query on a DB. So, I allow them to select checked boxes for the infor they want. I then format a string and pass it to a function. My function looks like this: This is probab…

---

## [RMagick 1.15.0](https://www.ruby-forum.com/t/rmagick-1-15-0/82831)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/rmagick-1-15-0/82831 "2007-01-30T13:24:11Z")

</div>

I’ve just uploaded RMagick 1.15.0 to RubyForge. There have been many changes since the previous release. Here are the highlights: o Added the fx method to the ImageList class. This is an interface to the -fx option …

---

## [How to check whether file is browser before submitting the f](https://www.ruby-forum.com/t/how-to-check-whether-file-is-browser-before-submitting-the-f/83881)

<div class="topic-metadata">

**Author:** [@santoshat20007](https://www.ruby-forum.com/u/santoshat20007)\
**Replies:** 1\
**Last updated:** [January 30, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/how-to-check-whether-file-is-browser-before-submitting-the-f/83881 "2007-01-30T13:21:10Z")

</div>

Hello , I am new to this ruby on rails, Help me I have a view which has two tags, one is file\_field and other submit button. How to check whether file is browser before submitting the form

---

## [0xff000000](https://www.ruby-forum.com/t/0xff000000/83871)

<div class="topic-metadata">

**Author:** [@SonOfLilit](https://www.ruby-forum.com/u/SonOfLilit)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 12:26pm UTC](https://www.ruby-forum.com/t/0xff000000/83871 "2007-01-30T12:26:54Z")

</div>

Hello. I am running on a 32 bit machine. I need to pass SDL the unsigned long 0xff000000 as a mask. s = SDL::Surface.new\_from(image\_data, screen.w, screen.h, 32, screen.w\*4, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff…

---

## [Exists and enable method for frame](https://www.ruby-forum.com/t/exists-and-enable-method-for-frame/83874)

<div class="topic-metadata">

**Author:** [@manish\_goyal](https://www.ruby-forum.com/u/manish_goyal)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 12:21pm UTC](https://www.ruby-forum.com/t/exists-and-enable-method-for-frame/83874 "2007-01-30T12:21:53Z")

</div>

Hi, There is ‘exist?’ and ‘enabled?’ method available for text field,radio button,select list, check box.Is there any similar method for frame also ? Regards, Manish Goyal

---

## [String#sub!{...}](https://www.ruby-forum.com/t/string-sub/83768)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 7\
**Last updated:** [January 30, 2007, 11:43am UTC](https://www.ruby-forum.com/t/string-sub/83768 "2007-01-30T11:43:46Z")

</div>

e$B@\>;3OB9-$G$9!#e(B http://zunda.freeshell.org/d/20070126.html#p04 e$B$H$=$N%j%s%/@h$Ne(B http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/palm-ja-proxy/blazer-ja-proxy/bin/blazer-ja-proxy?rev=1.42.2.10&only\_with\_tag=RU…

---

## [Howto write SAX2Parser stream in to a file](https://www.ruby-forum.com/t/howto-write-sax2parser-stream-in-to-a-file/83459)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 11:30am UTC](https://www.ruby-forum.com/t/howto-write-sax2parser-stream-in-to-a-file/83459 "2007-01-30T11:30:44Z")

</div>

Hello, I’m new to Ruby and trying to write a stream in to a file, but I can just get an empty one. I tryed in different way found heare on the forum ( IO lib, Rio lib, out\_file \<\< “#{doc.parse}” and so on ). Here I …

---

## [Minor Change Proposal for Classes 'Object' and 'Method'](https://www.ruby-forum.com/t/minor-change-proposal-for-classes-object-and-method/82662)

<div class="topic-metadata">

**Author:** [@wonado](https://www.ruby-forum.com/u/wonado)\
**Replies:** 97\
**Last updated:** [January 30, 2007, 11:25am UTC](https://www.ruby-forum.com/t/minor-change-proposal-for-classes-object-and-method/82662 "2007-01-30T11:25:43Z")

</div>

Minor Change Proposal for Classes ‘Object’ and ‘Method’ I would like to make a small change suggestion on the class ‘Method’ by which the method ‘Object#method’ is also affected. Background: When creating a ‘Metho…

---

## [Ruby on PSP (Sony Portable Playstation)](https://www.ruby-forum.com/t/ruby-on-psp-sony-portable-playstation/83869)

<div class="topic-metadata">

**Author:** [@vladare](https://www.ruby-forum.com/u/vladare)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 11:15am UTC](https://www.ruby-forum.com/t/ruby-on-psp-sony-portable-playstation/83869 "2007-01-30T11:15:40Z")

</div>

Hello Folks, There is a patch for Ruby from Vincent Xu which will allow you to run Ruby 1.8.5 on the PSP console. Who are interested in further development go to Ruby on PSP - forums.ps2dev.org https://rubyforge.org/ …

---

## [Call for Presentations: RubyKaigi 2007](https://www.ruby-forum.com/t/call-for-presentations-rubykaigi-2007/82251)

<div class="topic-metadata">

**Author:** [@KAKUTANI\_Shintaro](https://www.ruby-forum.com/u/KAKUTANI_Shintaro)\
**Replies:** 1\
**Last updated:** [January 30, 2007, 8:57am UTC](https://www.ruby-forum.com/t/call-for-presentations-rubykaigi-2007/82251 "2007-01-30T08:57:12Z")

</div>

Here’s the call for presentation for the RubyKaigi2007, June 10 - 11, 2007, Zendentsu-Rodo-Kaikan Hall in Tokyo, Japan. “Kaigi” means “conference” in Japanese. http://jp.rubyist.net/RubyKaigi2007/english.html CFP Dea…

---

## [Is my code using the Ruby way?](https://www.ruby-forum.com/t/is-my-code-using-the-ruby-way/83819)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [January 30, 2007, 8:51am UTC](https://www.ruby-forum.com/t/is-my-code-using-the-ruby-way/83819 "2007-01-30T08:51:11Z")

</div>

As I’m a beginner in Ruby, and just (re)started working on real code, instead of working through various tutorials, I’m asking myself: Is that the Ruby way? Snippet: unless File.exists?(‘data/finance.db’) == true se…

---

## [What exactly is a controller?](https://www.ruby-forum.com/t/what-exactly-is-a-controller/83805)

<div class="topic-metadata">

**Author:** [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 7:11am UTC](https://www.ruby-forum.com/t/what-exactly-is-a-controller/83805 "2007-01-30T07:11:00Z")

</div>

hi im new to ROR and although i know how to work with controllers I’m having difficulty understanding what exactly they are and why they are used? please help enlighten me :slight\_smile:

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

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