# Ruby

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

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

---

## [XML Schema Validation](https://www.ruby-forum.com/t/xml-schema-validation/90453)

<div class="topic-metadata">

**Author:** [@eng](https://www.ruby-forum.com/u/eng)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/xml-schema-validation/90453 "2007-03-28T23:34:41Z")

</div>

Can someone tell me if there is a way to do XML Schema validation in Ruby? (without having to translate xerces-ruby from Japanese) I’ve searched around the net and nothing has come up. Brian

---

## [UNSUBSCRIBE .. me please](https://www.ruby-forum.com/t/unsubscribe-me-please/90136)

<div class="topic-metadata">

**Author:** [@Michael\_McClain](https://www.ruby-forum.com/u/Michael_McClain)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 11:20pm UTC](https://www.ruby-forum.com/t/unsubscribe-me-please/90136 "2007-03-28T23:20:39Z")

</div>

Please remove me from the mailing list. I want to put a different email

---

## [Http.post dropping trailing '}'](https://www.ruby-forum.com/t/http-post-dropping-trailing/90344)

<div class="topic-metadata">

**Author:** [@femeref](https://www.ruby-forum.com/u/femeref)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/http-post-dropping-trailing/90344 "2007-03-28T21:34:23Z")

</div>

I am making a call through http.post in Ruby 1.8.5. uri = … data = ‘{}’ headers = … http.post(uri, data, headers) Everything seems to work except that the trailing ‘}’ in data is not getting posted, as determined b…

---

## [Are sub-versions now binary-compatible?](https://www.ruby-forum.com/t/are-sub-versions-now-binary-compatible/89913)

<div class="topic-metadata">

**Author:** [@epasquier](https://www.ruby-forum.com/u/epasquier)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/are-sub-versions-now-binary-compatible/89913 "2007-03-28T18:37:48Z")

</div>

I found I had to build separate versions of a binary library to run on 1.8.2 and 1.8.4 Do versions 1.8.4 and 1.8.5 also have binary incompatibilities? Is there a test suite around i could use? Thanks, Eric

---

## [Help with Excel (win32ole) and threads!?](https://www.ruby-forum.com/t/help-with-excel-win32ole-and-threads/89880)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/help-with-excel-win32ole-and-threads/89880 "2007-03-28T18:37:07Z")

</div>

I have an application which is supposed to create a set of excel documents to display sales information for dining areas. The core of it is a class called SaleReport which is initialized with a sqlite database connect…

---

## [Functional testing strangeness with rake](https://www.ruby-forum.com/t/functional-testing-strangeness-with-rake/90426)

<div class="topic-metadata">

**Author:** [@scorintha](https://www.ruby-forum.com/u/scorintha)\
**Replies:** 0\
**Last updated:** [March 28, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/functional-testing-strangeness-with-rake/90426 "2007-03-28T18:05:55Z")

</div>

Hi, I have a Rails 1.2.3 app that’s running under cruisecontrol.rb (thanks Thoughtworks). I recently added a test to a search controller that makes a fulltext query to a MySQL table. The create\_table statement in the …

---

## [Oniguruma 1.0.1 Released](https://www.ruby-forum.com/t/oniguruma-1-0-1-released/90419)

<div class="topic-metadata">

**Author:** [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/oniguruma-1-0-1-released/90419 "2007-03-28T18:00:27Z")

</div>

oniguruma version 1.0.1 has been released! http://oniguruma.rubyforge.org Ruby bindings to the Oniguruma\[http://www.geocities.jp/kosako3/oniguruma/\] regular expression library (no need to recompile Ruby). Changes: =…

---

## [Clicking link with WWW::Mechanize](https://www.ruby-forum.com/t/clicking-link-with-www-mechanize/90399)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/clicking-link-with-www-mechanize/90399 "2007-03-28T17:52:24Z")

</div>

Hello, I wuold like to click on a link in WWW::Mechaznie, and I know only the Hpricot XPath of the element I would like to click, nothing more. While it’s certainly possible to look up the text of the element pointed …

---

## [Oniguruma 1.0.0 Released](https://www.ruby-forum.com/t/oniguruma-1-0-0-released/90321)

<div class="topic-metadata">

**Author:** [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/oniguruma-1-0-0-released/90321 "2007-03-28T17:18:18Z")

</div>

oniguruma version 1.0.0 has been released! http://oniguruma.rubyforge.org Ruby bindings to the Oniguruma\[http://www.geocities.jp/kosako3/oniguruma/\] regular expression library (no need to recompile Ruby). Changes: =…

---

## [Include core class extensions](https://www.ruby-forum.com/t/include-core-class-extensions/90327)

<div class="topic-metadata">

**Author:** [@sparkle](https://www.ruby-forum.com/u/sparkle)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/include-core-class-extensions/90327 "2007-03-28T16:41:03Z")

</div>

An internal application, the “manager”, will periodically locate a series of ruby files in a directory structure. The application will execute each ruby file using backticks (e.g. ruby myfile.rb). This means that a …

---

## [A sketch for a summer of code application](https://www.ruby-forum.com/t/a-sketch-for-a-summer-of-code-application/89347)

<div class="topic-metadata">

**Author:** [@pedro](https://www.ruby-forum.com/u/pedro)\
**Replies:** 13\
**Last updated:** [March 28, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/a-sketch-for-a-summer-of-code-application/89347 "2007-03-28T16:39:07Z")

</div>

Hi I would like to discuss this sketch summer of code application. Any advices or critic will be wellcome. Maybe this proposal is not a good idea. Is you think like that, argues will be wellcome too. (im not sure thi…

---

## [Ruby Net/HTTP](https://www.ruby-forum.com/t/ruby-net-http/90390)

<div class="topic-metadata">

**Author:** [@HUSSAIN](https://www.ruby-forum.com/u/HUSSAIN)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/ruby-net-http/90390 "2007-03-28T15:31:58Z")

</div>

Hai I am very new to ruby In my office they want to write a class for listeneing request and send the response to sms gateway.so i need to know how to access the Net/HTTP library. kindly tell me the step by step pro…

---

## [Too many number of excel processes are shown in the process](https://www.ruby-forum.com/t/too-many-number-of-excel-processes-are-shown-in-the-process/90380)

<div class="topic-metadata">

**Author:** [@tuhin\_cse99](https://www.ruby-forum.com/u/tuhin_cse99)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/too-many-number-of-excel-processes-are-shown-in-the-process/90380 "2007-03-28T15:26:57Z")

</div>

hi guys, I want to read some data from each of the files from a directory and save it to database.In the time of read operation each excel file is open but not close after read from the file. After processing of all …

---

## [String Intersection. A better way](https://www.ruby-forum.com/t/string-intersection-a-better-way/90347)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 5\
**Last updated:** [March 28, 2007, 3:25pm UTC](https://www.ruby-forum.com/t/string-intersection-a-better-way/90347 "2007-03-28T15:25:57Z")

</div>

Hi all, I have an issue with strings. I want the intesection of two strings but I’m not sure how to go about it. I have two cases. Case 1: String 1 has the tail end intersecting with the start of string 2… eg: S…

---

## [Did anyone ever make eRuby + Apache + CGI work?](https://www.ruby-forum.com/t/did-anyone-ever-make-eruby-apache-cgi-work/90401)

<div class="topic-metadata">

**Author:** [@Dude](https://www.ruby-forum.com/u/Dude)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/did-anyone-ever-make-eruby-apache-cgi-work/90401 "2007-03-28T15:20:55Z")

</div>

If you did, can you please paste the configuration and sample programs here. I am trying to get this up and running as an Alternative to ERB / RAILS to deliver mobile WAP sites. Dude

---

## [Dynamically adding class variables](https://www.ruby-forum.com/t/dynamically-adding-class-variables/90341)

<div class="topic-metadata">

**Author:** [@Siemen\_B](https://www.ruby-forum.com/u/Siemen_B)\
**Replies:** 8\
**Last updated:** [March 28, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/dynamically-adding-class-variables/90341 "2007-03-28T15:07:51Z")

</div>

Hi, I am writing an object relational mapper for an educational project where I need to add new class variables to classes in an inheritance hierarchy. The variables hold class-specific information such as which tab…

---

## [libxml-Ruby ctrlA](https://www.ruby-forum.com/t/libxml-ruby-ctrla/90389)

<div class="topic-metadata">

**Author:** [@stefanl38](https://www.ruby-forum.com/u/stefanl38)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/libxml-ruby-ctrla/90389 "2007-03-28T12:16:51Z")

</div>

Hello, on my Server amd x86\_64 ruby 1.8.4 and libXML 0.3.8.4 are installed. I read in large xml-Files and process it (that means delete some nodes/elements) and write them out. The output file contains sometimes sudd…

---

## [Saml2ruby available at OpenSSO Extensions](https://www.ruby-forum.com/t/saml2ruby-available-at-opensso-extensions/90378)

<div class="topic-metadata">

**Author:** [@Pat\_Patterson](https://www.ruby-forum.com/u/Pat_Patterson)\
**Replies:** 0\
**Last updated:** [March 28, 2007, 9:15am UTC](https://www.ruby-forum.com/t/saml2ruby-available-at-opensso-extensions/90378 "2007-03-28T09:15:23Z")

</div>

SAML (Security Assertion Markup Language) is the OASIS standard \[1\] for representing user authentication, entitlement, and attribute information in XML. Its most common use is to support cross-domain/federated web sin…

---

## [For Distributed Build+Test how much Rake, Ruby & Rspec?](https://www.ruby-forum.com/t/for-distributed-build-test-how-much-rake-ruby-rspec/90373)

<div class="topic-metadata">

**Author:** [@lfast](https://www.ruby-forum.com/u/lfast)\
**Replies:** 0\
**Last updated:** [March 28, 2007, 8:26am UTC](https://www.ruby-forum.com/t/for-distributed-build-test-how-much-rake-ruby-rspec/90373 "2007-03-28T08:26:23Z")

</div>

How much code would you put into each of Ruby, Rake and Rspec. That is the question. I’m looking for any feedback on how YOU might distribute your code for the following ‘application’ I’m using Ruby, Rake and Rspec …

---

## [Ruby & gprof and thread.so undefined reference to rb\_thread](https://www.ruby-forum.com/t/ruby-gprof-and-thread-so-undefined-reference-to-rb-thread/90364)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 6:35am UTC](https://www.ruby-forum.com/t/ruby-gprof-and-thread-so-undefined-reference-to-rb-thread/90364 "2007-03-28T06:35:59Z")

</div>

So I was sitting there glaring at the screen whilst my script went off and did lots and lots… …and started to think wonder how I could make it a little faster… After all, I have thrown every trick in the http://www.r…

---

## [Not using offline mode in webrick](https://www.ruby-forum.com/t/not-using-offline-mode-in-webrick/90206)

<div class="topic-metadata">

**Author:** [@maxbohr](https://www.ruby-forum.com/u/maxbohr)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 6:13am UTC](https://www.ruby-forum.com/t/not-using-offline-mode-in-webrick/90206 "2007-03-28T06:13:28Z")

</div>

Hello list, I’m using webrick to serve up rhtml pages and can’t seem to access cgi variables. My very very simple server looks like this: ######################## require ‘webrick’ include WEBrick def start\_webric…

---

## [Newby question: use Rubyinline error](https://www.ruby-forum.com/t/newby-question-use-rubyinline-error/90362)

<div class="topic-metadata">

**Author:** [@ak756](https://www.ruby-forum.com/u/ak756)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 4:59am UTC](https://www.ruby-forum.com/t/newby-question-use-rubyinline-error/90362 "2007-03-28T04:59:50Z")

</div>

I want to use rubyinline to write a simple code with inline c functions. Here is my code: require ‘rubygems’ require ‘inline’ class TestC inline do |builder| builder.c " static void hello(int n) { printf(“Hello %…

---

## [RubyNodes gems and setup.rb failing](https://www.ruby-forum.com/t/rubynodes-gems-and-setup-rb-failing/90334)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 4:52am UTC](https://www.ruby-forum.com/t/rubynodes-gems-and-setup-rb-failing/90334 "2007-03-28T04:52:50Z")

</div>

Hey Guys, Anyone have success installing the rubynode package. I’ve tried both the gem install and the setup.rb without any success. The messages returned by each method are shown below. Any hints would be greatly ap…

---

## [How to use "net/http" upload file with post method?](https://www.ruby-forum.com/t/how-to-use-net-http-upload-file-with-post-method/102731)

<div class="topic-metadata">

**Author:** [@yang\_cao](https://www.ruby-forum.com/u/yang_cao)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 3:45am UTC](https://www.ruby-forum.com/t/how-to-use-net-http-upload-file-with-post-method/102731 "2007-03-28T03:45:45Z")

</div>

I hava used “ri Net::HTTP”,but I did’t find anything about upload file. also means: how can I submit a html form like this: thanks!

---

## [Execute as Ruby Code Service for OS X](https://www.ruby-forum.com/t/execute-as-ruby-code-service-for-os-x/90160)

<div class="topic-metadata">

**Author:** [@Florian\_GroSSSS](https://www.ruby-forum.com/u/Florian_GroSSSS)\
**Replies:** 8\
**Last updated:** [March 28, 2007, 3:30am UTC](https://www.ruby-forum.com/t/execute-as-ruby-code-service-for-os-x/90160 "2007-03-28T03:30:43Z")

</div>

Moin. I’ve written a system service for OS X that allows you to execute selected Ruby code in any OS X application by hitting Apple-\* – Adium, Safari, X-Chat, Mail, TextMate, more. Use it as a calculator or for quick…

---

## [How to use "net/http" upload file with post method?](https://www.ruby-forum.com/t/how-to-use-net-http-upload-file-with-post-method/90358)

<div class="topic-metadata">

**Author:** [@yang\_cao](https://www.ruby-forum.com/u/yang_cao)\
**Replies:** 0\
**Last updated:** [March 28, 2007, 3:21am UTC](https://www.ruby-forum.com/t/how-to-use-net-http-upload-file-with-post-method/90358 "2007-03-28T03:21:43Z")

</div>

I hava used “ri Net::HTTP”,but I did’t find anything about upload file. also means: how can I submit a html form like this: thanks!

---

## [How Routing Rails?](https://www.ruby-forum.com/t/how-routing-rails/90298)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 2\
**Last updated:** [March 28, 2007, 2:34am UTC](https://www.ruby-forum.com/t/how-routing-rails/90298 "2007-03-28T02:34:38Z")

</div>

Hello, I’m trying to do develop some modules so I can reuse all my codes in different projects. I need to put routing in different files, and in route.rb include the files which have my routing code, but I don’t know…

---

## [RubyCocoa Web Services](https://www.ruby-forum.com/t/rubycocoa-web-services/90281)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 1\
**Last updated:** [March 28, 2007, 2:27am UTC](https://www.ruby-forum.com/t/rubycocoa-web-services/90281 "2007-03-28T02:27:37Z")

</div>

Hey all If I wanted to access a web service within ruby cocoa, would i need to do… OSX::NSBundle.bundleWithPath("/path/to/WebServiceCore.framwork").ocm\_send(:load) and then use the OOC bridge within that, or is it po…

---

## [Mechanize 0.6.7 Released](https://www.ruby-forum.com/t/mechanize-0-6-7-released/90354)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [March 28, 2007, 2:22am UTC](https://www.ruby-forum.com/t/mechanize-0-6-7-released/90354 "2007-03-28T02:22:37Z")

</div>

mechanize version 0.6.7 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, …

---

## [Knocking Lines Out Of A Multiline String](https://www.ruby-forum.com/t/knocking-lines-out-of-a-multiline-string/89758)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 18\
**Last updated:** [March 28, 2007, 1:10am UTC](https://www.ruby-forum.com/t/knocking-lines-out-of-a-multiline-string/89758 "2007-03-28T01:10:29Z")

</div>

Hello, What’s a (good!) way to remove lines matching a pattern from a multiline string? For example, I would like to remove lines matching /usr/local/lib from the multiline string: /usr/local/lib/ruby/gems/1.8/gems…

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

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