# Ruby

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

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

---

## [Any Ruby Reports (ruports) Examples Out There](https://www.ruby-forum.com/t/any-ruby-reports-ruports-examples-out-there/69627)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 22, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/any-ruby-reports-ruports-examples-out-there/69627 "2006-09-22T16:37:32Z")

</div>

I’m starting to experiment with Ruby Reports. Are there any real world examples out there than one would like to share? Having an example to compare back to the rdoc would be a lot of help to me in learning this bea…

---

## [Reading files from the internet into RMagick](https://www.ruby-forum.com/t/reading-files-from-the-internet-into-rmagick/69597)

<div class="topic-metadata">

**Author:** [@Szymon\_R](https://www.ruby-forum.com/u/Szymon_R)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/reading-files-from-the-internet-into-rmagick/69597 "2006-09-22T16:11:21Z")

</div>

I am not sure how to go about doing this. I would like to get a file given an URL. The I would like to mess around with that file, but I am having a hard time actually initializing the Magick::Image object. I read the…

---

## [A standard like WSGI for Ruby?](https://www.ruby-forum.com/t/a-standard-like-wsgi-for-ruby/69595)

<div class="topic-metadata">

**Author:** [@philthompson](https://www.ruby-forum.com/u/philthompson)\
**Replies:** 6\
**Last updated:** [September 22, 2006, 4:07pm UTC](https://www.ruby-forum.com/t/a-standard-like-wsgi-for-ruby/69595 "2006-09-22T16:07:21Z")

</div>

There’s a perennial discussion on Reddit about the strengths of Python vs Ruby. there was mention of WSGI as a web-app standard on Python. here’s the quote: “That’s the point, it is a language-wide standard that has…

---

## [Looking for reference for Ruby/Tk and Ruby/MySQL](https://www.ruby-forum.com/t/looking-for-reference-for-ruby-tk-and-ruby-mysql/68753)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 7\
**Last updated:** [September 22, 2006, 3:53pm UTC](https://www.ruby-forum.com/t/looking-for-reference-for-ruby-tk-and-ruby-mysql/68753 "2006-09-22T15:53:19Z")

</div>

Good evening, I need to create an app that will use Ruby/TK and Ruby/MySql. It will be a standalone pc app… I’m going thru the “Pickaxe” book…and it contains a chapter on Tk - but I’m looking for a good reference tha…

---

## [Markaby + Litespeed LSAPI: "warning already initialized cons](https://www.ruby-forum.com/t/markaby-litespeed-lsapi-warning-already-initialized-cons/69432)

<div class="topic-metadata">

**Author:** [@uberkorp](https://www.ruby-forum.com/u/uberkorp)\
**Replies:** 1\
**Last updated:** [September 22, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/markaby-litespeed-lsapi-warning-already-initialized-cons/69432 "2006-09-22T15:38:59Z")

</div>

I’m trying to get a basic markaby script to work via litespeeds lsapi, but it keeps throwing the following error: /usr/local/lib/ruby/site\_ruby/1.8/i686-linux/lsapi.so: warning: already initialized constant ENV it s…

---

## [Proc and lambda](https://www.ruby-forum.com/t/proc-and-lambda/69626)

<div class="topic-metadata">

**Author:** [@sourav](https://www.ruby-forum.com/u/sourav)\
**Replies:** 5\
**Last updated:** [September 22, 2006, 3:33pm UTC](https://www.ruby-forum.com/t/proc-and-lambda/69626 "2006-09-22T15:33:16Z")

</div>

What is the difference between proc function and lambda function when they both create new Proc object? Is there any guidelines for preferring one over another?

---

## [Four-day Rails workshop in Alexandria, VA, USA](https://www.ruby-forum.com/t/four-day-rails-workshop-in-alexandria-va-usa/69619)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 22, 2006, 3:21pm UTC](https://www.ruby-forum.com/t/four-day-rails-workshop-in-alexandria-va-usa/69619 "2006-09-22T15:21:14Z")

</div>

Hi everyone – I’m going to be teaching a four-day Rails workshop in Alexandria, Virginia, USA, October 17-20, for the training company Accelebrate (http://www.accelebrate.com). The workshop takes you from the founda…

---

## [Continue code run after assert exception](https://www.ruby-forum.com/t/continue-code-run-after-assert-exception/69614)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 3:15pm UTC](https://www.ruby-forum.com/t/continue-code-run-after-assert-exception/69614 "2006-09-22T15:15:13Z")

</div>

I am iterating through a collection and using Test::Unit assertations on each object begin search.each {|@x| assert($ie.contains\_text(@x)) } rescue =\> e puts “#{@x} does not exist in HTML” end However, the probl…

---

## [Re: ruby spot it](https://www.ruby-forum.com/t/re-ruby-spot-it/69498)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/re-ruby-spot-it/69498 "2006-09-22T15:09:12Z")

</div>

I guess, that right now, the motivation would be the same like answering such questions here. But maybe i can find some others … :wink: But the main idea is, that other beginners correct them and learn from the errors…

---

## [Question about 'unless' (negated if)](https://www.ruby-forum.com/t/question-about-unless-negated-if/68638)

<div class="topic-metadata">

**Author:** [@Lincoln\_Anderson](https://www.ruby-forum.com/u/Lincoln_Anderson)\
**Replies:** 12\
**Last updated:** [September 22, 2006, 2:51pm UTC](https://www.ruby-forum.com/t/question-about-unless-negated-if/68638 "2006-09-22T14:51:09Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Using this snippet: dir.each { |str| ftp.get(str) unless str.index('d') == 0 system("mkdir " + lpath + str.split('/').index(str.length-1)) system("cd " + lpath…

---

## [Require 'rdoc/usage' #=\> NameError](https://www.ruby-forum.com/t/require-rdoc-usage-nameerror/69622)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 1:10pm UTC](https://www.ruby-forum.com/t/require-rdoc-usage-nameerror/69622 "2006-09-22T13:10:57Z")

</div>

1.8.5e$B$Ne(Brdoc/usage.rbe$B$r8+$k$He(B e$BC1FH$Ge(Brequiree$B$G$-$k$h$&$J46$8$N;HMQNc$,$"$k$N$G$9$,e(B e$B\<B:\]$Ke(Brequiree$B$9$k$He(BNameErrore$B$K$J$j$^$9!#e(B 1.9e$B$bF1MM$G$9!#e(B 1.8.\[34\]e$B$G$I$&$@$C$?$+3NG’$7…

---

## [AW: Re: ruby spot it](https://www.ruby-forum.com/t/aw-re-ruby-spot-it/69617)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 12:48pm UTC](https://www.ruby-forum.com/t/aw-re-ruby-spot-it/69617 "2006-09-22T12:48:55Z")

</div>

That´s a good point… Guess i have to think about that. “Tim B.” removed\_email\_address@domain.invalid schrieb am 22.09.2006 08:35: I believe it’s a “tragedy of the commons” type problem. The “professionals” hang out he…

---

## [ANN blindtris](https://www.ruby-forum.com/t/ann-blindtris/69612)

<div class="topic-metadata">

**Author:** [@Ondrej\_B](https://www.ruby-forum.com/u/Ondrej_B)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 12:16pm UTC](https://www.ruby-forum.com/t/ann-blindtris/69612 "2006-09-22T12:16:52Z")

</div>

This is my implementation of tetris. That you dont see playground is not bug it’s feature. Intresting is when you choose blocks from 6 tiles Available at http://rubyforge.org/projects/blindtris/

---

## [Where to find info on Gnome::Canvas...?](https://www.ruby-forum.com/t/where-to-find-info-on-gnome-canvas/69448)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 3\
**Last updated:** [September 22, 2006, 11:06am UTC](https://www.ruby-forum.com/t/where-to-find-info-on-gnome-canvas/69448 "2006-09-22T11:06:45Z")

</div>

Hi, Can anyone point me in the direction of documentation on Gnome::Canvas and it’s relatives i.e. CanvasPathDef, CanvasPixbuf etc I can’t find anything about it. Thanks, Mike

---

## [Bwidgets on Ruby question](https://www.ruby-forum.com/t/bwidgets-on-ruby-question/69604)

<div class="topic-metadata">

**Author:** [@mpthompson\_at\_gmail](https://www.ruby-forum.com/u/mpthompson_at_gmail)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 10:36am UTC](https://www.ruby-forum.com/t/bwidgets-on-ruby-question/69604 "2006-09-22T10:36:41Z")

</div>

Hi everyone, I’m looking for some help to get a start with the BWidget wrappers in Ruby. Some quick background. While looking into using different Tk extensions with Ruby and I’ve come across both IWidgets and BWidg…

---

## [The default array print format](https://www.ruby-forum.com/t/the-default-array-print-format/69356)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 3:03am UTC](https://www.ruby-forum.com/t/the-default-array-print-format/69356 "2006-09-22T03:03:47Z")

</div>

Hello, I was playing around with some LDAP results in a Rails system and it did not work at all, I kept getting strang — and - in the results. It turned out I did not index the array properly and I was converting it…

---

## [Ruby-gnome/gtk and Positioning?](https://www.ruby-forum.com/t/ruby-gnome-gtk-and-positioning/69491)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 1:23am UTC](https://www.ruby-forum.com/t/ruby-gnome-gtk-and-positioning/69491 "2006-09-22T01:23:40Z")

</div>

Not sure if this is the proper place to ask for a ruby-gtk/gnome question, but in case its not you’d surely tell me so. :slight\_smile: The question I have is, that aside from the constants like POS\_NONE (Example Code:…

---

## [Dot matrix printer!](https://www.ruby-forum.com/t/dot-matrix-printer/69550)

<div class="topic-metadata">

**Author:** [@gugui](https://www.ruby-forum.com/u/gugui)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 1:19am UTC](https://www.ruby-forum.com/t/dot-matrix-printer/69550 "2006-09-22T01:19:40Z")

</div>

Hi all ! I need to print in a lx-300 printer (condensed, draft, etc) ! is it possible with Ruby ? is there a web-site about it ? Im found nothing about it ! thanks any help !

---

## [London Startup Looking for Ruby on Rails Developer](https://www.ruby-forum.com/t/london-startup-looking-for-ruby-on-rails-developer/69497)

<div class="topic-metadata">

**Author:** [@henners](https://www.ruby-forum.com/u/henners)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 1:11am UTC](https://www.ruby-forum.com/t/london-startup-looking-for-ruby-on-rails-developer/69497 "2006-09-22T01:11:39Z")

</div>

Hello, We are looking for a UK based ruby on rails developer, (preferably London based) to help us push our web app into the future.Â Please to get in touch asap on removed\_email\_address@domain.invalid Thanks in adva…

---

## [Duck Typing, Ducktator, apologies and Blog posts](https://www.ruby-forum.com/t/duck-typing-ducktator-apologies-and-blog-posts/69554)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 1\
**Last updated:** [September 22, 2006, 1:05am UTC](https://www.ruby-forum.com/t/duck-typing-ducktator-apologies-and-blog-posts/69554 "2006-09-22T01:05:38Z")

</div>

Hi, Just to let the community know, I have revised my previous blog entry to better explain my points, remove some comments that could be interpreted as offensive and in general cleaned it a bit: Regards (from som…

---

## [PatchServer 0.3](https://www.ruby-forum.com/t/patchserver-0-3/69583)

<div class="topic-metadata">

**Author:** [@Esteban\_Manchado\_SS](https://www.ruby-forum.com/u/Esteban_Manchado_SS)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 12:27am UTC](https://www.ruby-forum.com/t/patchserver-0-3/69583 "2006-09-22T00:27:36Z")

</div>

Hi guys, New PatchServer release (0.3). It is mostly a bugfix release, but see also the release notes, at http://rubyforge.org/frs/shownotes.php?release\_id=7051 . Patch-what? PatchServer is a small Ruby on Rails a…

---

## [Secret Agent 00111 (#94)](https://www.ruby-forum.com/t/secret-agent-00111-94/69585)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 12:27am UTC](https://www.ruby-forum.com/t/secret-agent-00111-94/69585 "2006-09-22T00:27:35Z")

</div>

Mission Report Once again Secret Agent 00111 has saved the world from certain doom. As usual the damage report was gratuitous: destroyed vehicles worth my salary for the next five years, the usual string of sexual…

---

## [The point of omitting parentheses](https://www.ruby-forum.com/t/the-point-of-omitting-parentheses/69326)

<div class="topic-metadata">

**Author:** [@earthtree](https://www.ruby-forum.com/u/earthtree)\
**Replies:** 26\
**Last updated:** [September 21, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/the-point-of-omitting-parentheses/69326 "2006-09-21T23:43:31Z")

</div>

Hi there, I’m fairly new to Ruby, so bear with me. Anyway, on with the question. What is the benefit of being able to omit parentheses on a method call? IMHO, parentheses improves readability; I can instantly discern,…

---

## [Secret Agent 00111 (#94)](https://www.ruby-forum.com/t/secret-agent-00111-94/68145)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 8\
**Last updated:** [September 21, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/secret-agent-00111-94/68145 "2006-09-21T23:37:31Z")

</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: …

---

## [Re: Calculate last day of month](https://www.ruby-forum.com/t/re-calculate-last-day-of-month/69572)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [September 21, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/re-calculate-last-day-of-month/69572 "2006-09-21T23:05:29Z")

</div>

From: Norgg \[mailto:removed\_email\_address@domain.invalid\] Slightly nicer is: puts Date.new(2006, 9, -1) #2006-09-30 Well, aren’t you Mr. Tricky? :slight\_smile: Here’s the documentation For Date.civil() describing …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/69575)

<div class="topic-metadata">

**Author:** [@Ron\_Reidy](https://www.ruby-forum.com/u/Ron_Reidy)\
**Replies:** 0\
**Last updated:** [September 21, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/no-subject/69575 "2006-09-21T23:03:28Z")

</div>

unsubscribe

---

## [Re: Mac OS X droppable Ruby scripts](https://www.ruby-forum.com/t/re-mac-os-x-droppable-ruby-scripts/69573)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 21, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/re-mac-os-x-droppable-ruby-scripts/69573 "2006-09-21T22:39:25Z")

</div>

Can I make dropable scripts in Ruby? (you know, the ones where you just pick something and drop it on the script icon and voila! it works) How about using DropScript? http://www.wsanchez.net/software/

---

## [Mac OS X droppable Ruby scripts](https://www.ruby-forum.com/t/mac-os-x-droppable-ruby-scripts/69570)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 21, 2006, 10:25pm UTC](https://www.ruby-forum.com/t/mac-os-x-droppable-ruby-scripts/69570 "2006-09-21T22:25:21Z")

</div>

OK, it’s been a long absence. And ruby-lang is online! And my nick is in the credits! Ohhhhhh, that feels wonderful! Well, I’m switching to a brand new MacBook Pro since I managed to solve my last remaining Windows p…

---

## [Re: Calculate last day of month](https://www.ruby-forum.com/t/re-calculate-last-day-of-month/69563)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [September 21, 2006, 10:01pm UTC](https://www.ruby-forum.com/t/re-calculate-last-day-of-month/69563 "2006-09-21T22:01:16Z")

</div>

How do I return the date for the last day of this month (September in this example)? The last day in a month is the day before the first day in the next month. require ‘date’ d = Date.new( 2006, 10, 1 ) puts d-1 …

---

## [Newbie Rails Authentication Woes](https://www.ruby-forum.com/t/newbie-rails-authentication-woes/69562)

<div class="topic-metadata">

**Author:** [@aerospike](https://www.ruby-forum.com/u/aerospike)\
**Replies:** 1\
**Last updated:** [September 21, 2006, 9:27pm UTC](https://www.ruby-forum.com/t/newbie-rails-authentication-woes/69562 "2006-09-21T21:27:12Z")

</div>

Hi All… Apologies in advance if this isn’t the right group (but I couldn’t find a rails specific one) anyway - I think I am having a problem passing data around in my MVC. I have a view that looks has this in the mi…

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

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