# Ruby

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

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

---

## [No documentation for modules on RubyForge?](https://www.ruby-forum.com/t/no-documentation-for-modules-on-rubyforge/54502)

<div class="topic-metadata">

**Author:** [@hackdaddy](https://www.ruby-forum.com/u/hackdaddy)\
**Replies:** 12\
**Last updated:** [March 8, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/no-documentation-for-modules-on-rubyforge/54502 "2006-03-08T23:20:09Z")

</div>

Warning: flames ahead… My opinion is Ruby is doomed if it doesn’t enforce some type of quality control on modules and general usability. This is especially true for the gotchas new users will face. Why not have a ch…

---

## [Rails: in\_place\_editor\_field and editing blank fields](https://www.ruby-forum.com/t/rails-in-place-editor-field-and-editing-blank-fields/78711)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 11:14pm UTC](https://www.ruby-forum.com/t/rails-in-place-editor-field-and-editing-blank-fields/78711 "2006-03-08T23:14:06Z")

</div>

I just started playing with in\_place\_editor\_field and its pretty neat. One problem I have is that if my “form” field is blank in\_place\_editor\_field gives you no hot area to click on to edit the field. Anyone have a w…

---

## [Bizarre sudden problem with WIN32OLE - could not find specif](https://www.ruby-forum.com/t/bizarre-sudden-problem-with-win32ole-could-not-find-specif/78712)

<div class="topic-metadata">

**Author:** [@russianbandit](https://www.ruby-forum.com/u/russianbandit)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 10:15pm UTC](https://www.ruby-forum.com/t/bizarre-sudden-problem-with-win32ole-could-not-find-specif/78712 "2006-03-08T22:15:26Z")

</div>

Hi Folks, I’ve been using win32ole alot for talking to Excel. I’ve just come back to programming with win32ole after a lull of a month to find that when I try creating an instance of excel I get this error message : …

---

## [Newbie: Rails Controller Attribute Scope](https://www.ruby-forum.com/t/newbie-rails-controller-attribute-scope/54573)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/newbie-rails-controller-attribute-scope/54573 "2006-03-08T22:00:16Z")

</div>

I’m having a hard time figguring out what is wrong with my controller. I create an attribure, @processes in the method index. I then want to access the attribute in the same class, in another method process\_status. I …

---

## [Ruby c++ extension on intel mac](https://www.ruby-forum.com/t/ruby-c-extension-on-intel-mac/78672)

<div class="topic-metadata">

**Author:** [@reevesg](https://www.ruby-forum.com/u/reevesg)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/ruby-c-extension-on-intel-mac/78672 "2006-03-08T21:36:01Z")

</div>

Hey, I am having trouble building an extension on a new intel mac. The extension I have at the moment is simple, basically the example out of the big ruby book. The error I get when building is macbook:~/projects/ex…

---

## [Re: unicode in ruby](https://www.ruby-forum.com/t/re-unicode-in-ruby/78671)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/re-unicode-in-ruby/78671 "2006-03-08T21:29:56Z")

</div>

Dear Michal, hmm. I have written the most complex Czech text file I could think of containing the words Cesky and cesky - with hooks, that is, and saved it in UTF8 encoding as file utf8.txt. Now, having installed …

---

## [Adding a compile rule to mkmf.rb](https://www.ruby-forum.com/t/adding-a-compile-rule-to-mkmf-rb/54543)

<div class="topic-metadata">

**Author:** [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/adding-a-compile-rule-to-mkmf-rb/54543 "2006-03-08T21:23:48Z")

</div>

I want to write an extconf.rb file for a Ruby extension. The problem is that my source file has a suffix that is not any of the expected by mkmf.rb: ec. The suffixes expected are: SRC\_EXT = \[“c”, “cc”, “m”, “cxx”, “cp…

---

## [The Golden Fibonacci Ratio (#69)](https://www.ruby-forum.com/t/the-golden-fibonacci-ratio-69/54399)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 13\
**Last updated:** [March 8, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/the-golden-fibonacci-ratio-69/54399 "2006-03-08T21:05:39Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Whatever happened to the improved Ruby website proj?](https://www.ruby-forum.com/t/whatever-happened-to-the-improved-ruby-website-proj/78135)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 17\
**Last updated:** [March 8, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/whatever-happened-to-the-improved-ruby-website-proj/78135 "2006-03-08T20:59:28Z")

</div>

This came up in another thread, but I haven’t seen an answer there so here’s a new thread: A year or more ago there was a big push to create an improved Ruby website. Something that would look nicer and promote Ruby…

---

## [Net::IMAP - Support for 'plain' authentication?](https://www.ruby-forum.com/t/net-imap-support-for-plain-authentication/78496)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 5\
**Last updated:** [March 8, 2006, 8:35pm UTC](https://www.ruby-forum.com/t/net-imap-support-for-plain-authentication/78496 "2006-03-08T20:35:11Z")

</div>

Hi everyone, Our IMAP server here is configured to support only the PLAIN authentication mechanism, but not LOGIN or CRAM\_MD5. Before I approach our mail admin about opening up another auth mech, is there another li…

---

## [Validatoin image filed](https://www.ruby-forum.com/t/validatoin-image-filed/78670)

<div class="topic-metadata">

**Author:** [@misiek](https://www.ruby-forum.com/u/misiek)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 8:27pm UTC](https://www.ruby-forum.com/t/validatoin-image-filed/78670 "2006-03-08T20:27:06Z")

</div>

hi I have problem to check the validation of the image field my form \<%= form\_tag({:action=\>‘upload’, :id =\> @property.id }, :multipart =\> true )%\> \<%= file\_field ‘image’,‘name’ %\> \<%= text\_area ‘image’, ‘descript…

---

## [Rbtree tests fail on 1.8.2, but not on 1.8.4](https://www.ruby-forum.com/t/rbtree-tests-fail-on-1-8-2-but-not-on-1-8-4/78634)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/rbtree-tests-fail-on-1-8-2-but-not-on-1-8-4/78634 "2006-03-08T20:10:30Z")

</div>

Hi all, I dug up the rbtree 0.1.3 tarball from the RAA cache and am trying to build it. It builds fine, but the tests fail. Unfortunately for me, this test is indicative of the exact functionality I require. What’s w…

---

## [Re: unicode in ruby](https://www.ruby-forum.com/t/re-unicode-in-ruby/78628)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 7:48pm UTC](https://www.ruby-forum.com/t/re-unicode-in-ruby/78628 "2006-03-08T19:48:55Z")

</div>

Have you tried ruby-oniguruma \_サービス終了のお知らせ (http://www.geocities.jp/kosako3/oniguruma/) ? Best regards, Axel

---

## [AllInOneRuby 0.2.9](https://www.ruby-forum.com/t/allinoneruby-0-2-9/54567)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 0\
**Last updated:** [March 8, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/allinoneruby-0-2-9/54567 "2006-03-08T19:24:27Z")

</div>

I just released AllInOneRuby 0.2.9. As you know, Ruby has to be installed, either by unzipping a ZIP-file, or by running an installer. Only then, you can run a script. Well, not anymore! AllInOneRuby creates a compre…

---

## [RubyScript2Exe 0.4.2](https://www.ruby-forum.com/t/rubyscript2exe-0-4-2/78594)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 0\
**Last updated:** [March 8, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-0-4-2/78594 "2006-03-08T19:24:26Z")

</div>

I just released RubyScript2Exe 0.4.2. RubyScript2Exe transforms your Ruby script into a standalone, compressed Windows, Linux or Mac OS X (Darwin) executable. You can look at it as a “compiler”. Not in the sense of a …

---

## [Tar2RubyScript 0.4.7](https://www.ruby-forum.com/t/tar2rubyscript-0-4-7/78592)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 0\
**Last updated:** [March 8, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/tar2rubyscript-0-4-7/78592 "2006-03-08T19:21:19Z")

</div>

I just released Tar2RubyScript 0.4.7. Tar2RubyScript transforms a directory tree, containing your application, into one single Ruby script, along with some code to handle this archive. This script can be distributed t…

---

## [Ruby's WWW::Mechanize](https://www.ruby-forum.com/t/rubys-www-mechanize/54565)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [March 8, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/rubys-www-mechanize/54565 "2006-03-08T19:18:14Z")

</div>

Hi, I’ve been using Ruby’s version of WWW::Mechanize. I really like the package, but unfortunately I’ve found a few bugs in it. I’ve made patches and tried to contact the author about patching it but I haven’t had a…

---

## [Html gem description like CPAN for ruby?](https://www.ruby-forum.com/t/html-gem-description-like-cpan-for-ruby/54486)

<div class="topic-metadata">

**Author:** [@bhoult](https://www.ruby-forum.com/u/bhoult)\
**Replies:** 5\
**Last updated:** [March 8, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/html-gem-description-like-cpan-for-ruby/54486 "2006-03-08T19:15:09Z")

</div>

This seems a little basic to be posting on a forum, but is there a website documenting the various gems available kind of like search.cpan.org? I found RAA but it does not seem to have all the gems, and has a bunch o…

---

## [Type at rubycentral?](https://www.ruby-forum.com/t/type-at-rubycentral/78494)

<div class="topic-metadata">

**Author:** [@SchSSS\_le\_Daniel](https://www.ruby-forum.com/u/SchSSS_le_Daniel)\
**Replies:** 4\
**Last updated:** [March 8, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/type-at-rubycentral/78494 "2006-03-08T19:15:08Z")

</div>

Hello Returns the number of arguments required by the block. If the block takes no arguments, returns -1. If it takes one argument, returns -2. Otherwise, returns a positive argument count unless the last argument is …

---

## [Form issue](https://www.ruby-forum.com/t/form-issue/78590)

<div class="topic-metadata">

**Author:** [@chadmaester](https://www.ruby-forum.com/u/chadmaester)\
**Replies:** 0\
**Last updated:** [March 8, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/form-issue/78590 "2006-03-08T19:05:50Z")

</div>

I have a dilema. I have an HTML form which is in a test format, and the form has multiple questions, and each question has multiple radio buttons. I need a way to distinguish which question each set of radio buttons b…

---

## [Is there link extractor or similar html processing libs for](https://www.ruby-forum.com/t/is-there-link-extractor-or-similar-html-processing-libs-for/77920)

<div class="topic-metadata">

**Author:** [@Desireco](https://www.ruby-forum.com/u/Desireco)\
**Replies:** 16\
**Last updated:** [March 8, 2006, 6:37pm UTC](https://www.ruby-forum.com/t/is-there-link-extractor-or-similar-html-processing-libs-for/77920 "2006-03-08T18:37:46Z")

</div>

Hi, in cool Perl there are a bunch of libraries that process html files and help you when you need to extract info. I remember hearing something for Ruby as well, if someone had experience with this, it would help me …

---

## [FreeRIDE - Debug mode hangs](https://www.ruby-forum.com/t/freeride-debug-mode-hangs/54485)

<div class="topic-metadata">

**Author:** [@billbell52](https://www.ruby-forum.com/u/billbell52)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 6:31pm UTC](https://www.ruby-forum.com/t/freeride-debug-mode-hangs/54485 "2006-03-08T18:31:36Z")

</div>

I am just getting started with RUBY. I downloaded the latest release (ruby184-16p3.exe) for windows. I created a simple hello world program. It ran it in run mode. def say\_goodnight(name) result = “Good night, #{n…

---

## [Libxml utf-8 locale](https://www.ruby-forum.com/t/libxml-utf-8-locale/78015)

<div class="topic-metadata">

**Author:** [@Mage](https://www.ruby-forum.com/u/Mage)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 6:10pm UTC](https://www.ruby-forum.com/t/libxml-utf-8-locale/78015 "2006-03-08T18:10:13Z")

</div>

Hello, honestly if I was to select two things I hate about computers, they should be XML and UTF-8. I have an xml file: “\<?xml version='1.0' encoding='UTF-8'?\>…” I have installed libxml-ruby and liblocale-ruby on my…

---

## [Newbie: undefined method](https://www.ruby-forum.com/t/newbie-undefined-method/78543)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 8, 2006, 6:01pm UTC](https://www.ruby-forum.com/t/newbie-undefined-method/78543 "2006-03-08T18:01:06Z")

</div>

I get “undefined method \`name’ for #TSPProcess:0x38c7fc0” when I access the page with the template: \<% @processes.each do |asd| %\> \<%= render(:inline =\> "#{process.name}")%\> \<% end %\> The TSPProcess.rb is: c…

---

## [Newbie question about scope, variables, declarations of vari](https://www.ruby-forum.com/t/newbie-question-about-scope-variables-declarations-of-vari/78328)

<div class="topic-metadata">

**Author:** [@Talha\_O](https://www.ruby-forum.com/u/Talha_O)\
**Replies:** 8\
**Last updated:** [March 8, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/newbie-question-about-scope-variables-declarations-of-vari/78328 "2006-03-08T17:12:01Z")

</div>

Hello, I am trying to understand the syntax error I receive in a code similar to this. 1 require ‘logger’ 2 3 log = logger.new #some other logger settings are ignored. 4 def func 5 log.debug “a statement” # er…

---

## [Rubygems bug?](https://www.ruby-forum.com/t/rubygems-bug/76426)

<div class="topic-metadata">

**Author:** [@Logan\_C](https://www.ruby-forum.com/u/Logan_C)\
**Replies:** 8\
**Last updated:** [March 8, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/rubygems-bug/76426 "2006-03-08T17:05:56Z")

</div>

Help! Today I was trying to use rubygems and all of a sudden I started getting the following odd error messages: % gem update Upgrading installed gems… ERROR: While executing gem … (NoMethodError) undefined method…

---

## [Valid email address from CGI input?](https://www.ruby-forum.com/t/valid-email-address-from-cgi-input/78010)

<div class="topic-metadata">

**Author:** [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Replies:** 12\
**Last updated:** [March 8, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/valid-email-address-from-cgi-input/78010 "2006-03-08T16:50:35Z")

</div>

Is there any Ruby package that will check a input email for validity? I want to take a submitted email address from a form and at least make the domain is real. I would not be so much concerned in validating the act…

---

## [Ridiculous behavoir of Array#push and Array#clear](https://www.ruby-forum.com/t/ridiculous-behavoir-of-array-push-and-array-clear/78277)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [March 8, 2006, 4:32pm UTC](https://www.ruby-forum.com/t/ridiculous-behavoir-of-array-push-and-array-clear/78277 "2006-03-08T16:32:24Z")

</div>

See bellow code please. 1 obj1 = "object1" 2 obj2 = "object2" 3 obj3 = "object3" 4 5 arr1 = Array.new 6 arr2 = Array.new 7 8 arr1 \<\< obj1 9 arr1 \<\< obj2 10 11 arr2 \<\< obj3 12 13 puts…

---

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

<div class="topic-metadata">

**Author:** [@Brock\_Weaver](https://www.ruby-forum.com/u/Brock_Weaver)\
**Replies:** 0\
**Last updated:** [March 8, 2006, 3:46pm UTC](https://www.ruby-forum.com/t/unsubscribe/78454 "2006-03-08T15:46:21Z")

</div>

unsubscribe

---

## [TK packing](https://www.ruby-forum.com/t/tk-packing/78223)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/tk-packing/78223 "2006-03-08T15:40:00Z")

</div>

How can I pack this so it looks like this. \[New Sprite \[-\]\[+\]\[x\]\] | Width: \[ \] | | Height: \[ \] | dialogBox = TkToplevel.new(‘title’=\>‘New Sprite’) frame = TkFrame.new(dialogBox).pack(‘fi…

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

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