# Ruby

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

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

---

## [Avoid trucate column at printing table](https://www.ruby-forum.com/t/avoid-trucate-column-at-printing-table/154462)

<div class="topic-metadata">

**Author:** [@mxp](https://www.ruby-forum.com/u/mxp)\
**Replies:** 2\
**Last updated:** [December 1, 2008, 10:45am UTC](https://www.ruby-forum.com/t/avoid-trucate-column-at-printing-table/154462 "2008-12-01T10:45:13Z")

</div>

Hi, I’ve a table defined as the code below: table = Table(%w\[Page Position Domain URL Description\]) And I fill it as you can see: table \<\< \[iPage, iPosition, sDomain, sURL, sDescription\] When I finish I want output …

---

## [Fukuoka Ruby Award](https://www.ruby-forum.com/t/fukuoka-ruby-award/154529)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [December 1, 2008, 9:49am UTC](https://www.ruby-forum.com/t/fukuoka-ruby-award/154529 "2008-12-01T09:49:18Z")

</div>

Hi, The Fukuoka prefecture conducts Fukuoka Ruby Award. The winner will get 1,000,000 JPY, which is roughly 10,000 USD. It covers any software and activity mainly held this year somewhat related Ruby. We are waitin…

---

## [Ruby Tk and X/Y coordinates](https://www.ruby-forum.com/t/ruby-tk-and-x-y-coordinates/154469)

<div class="topic-metadata">

**Author:** [@newrubynewbie](https://www.ruby-forum.com/u/newrubynewbie)\
**Replies:** 4\
**Last updated:** [December 1, 2008, 8:52am UTC](https://www.ruby-forum.com/t/ruby-tk-and-x-y-coordinates/154469 "2008-12-01T08:52:21Z")

</div>

Hi everyone, I’m totally new to Ruby…I was wondering if anyone could help me out with a little problem I’m having. I want to be able to draw X/Y coordinates on my screen using Tk library. I tried to decipher the doc…

---

## [Amalgalite 0.5.1 Released](https://www.ruby-forum.com/t/amalgalite-0-5-1-released/154521)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [December 1, 2008, 7:25am UTC](https://www.ruby-forum.com/t/amalgalite-0-5-1-released/154521 "2008-12-01T07:25:11Z")

</div>

amalgalite version 0.5.1 has been released. gem install amalgalite http://copiousfreetime.rubyforge.org/amalgalite/ Amalgalite embeds the SQLite database engine in a ruby extension. There is no need to install SQLi…

---

## [New here on ruby-talk](https://www.ruby-forum.com/t/new-here-on-ruby-talk/154513)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 4\
**Last updated:** [December 1, 2008, 6:16am UTC](https://www.ruby-forum.com/t/new-here-on-ruby-talk/154513 "2008-12-01T06:16:46Z")

</div>

hi, I am very interested in learning Ruby and wanted to say hi to the community here. My background is lot of perl(means I spent lot of time on it but not an expert at all) and tiny bit of c but also want to learn ru…

---

## [ODBC, 'Sql server', XP: beyond connection](https://www.ruby-forum.com/t/odbc-sql-server-xp-beyond-connection/154052)

<div class="topic-metadata">

**Author:** [@devros](https://www.ruby-forum.com/u/devros)\
**Replies:** 1\
**Last updated:** [December 1, 2008, 5:53am UTC](https://www.ruby-forum.com/t/odbc-sql-server-xp-beyond-connection/154052 "2008-12-01T05:53:36Z")

</div>

I believe I’ve connected to Microsofts’ SQL Express, however, I’m stuck. I’m happy this succeeds! Using Windows XP, 1-Click Installer Ruby/Windows installation (1.86). Using ODBC, and SQLEXPRESS 2005. I can read all …

---

## [Problem in Hash formatted output](https://www.ruby-forum.com/t/problem-in-hash-formatted-output/154426)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 4\
**Last updated:** [December 1, 2008, 5:07am UTC](https://www.ruby-forum.com/t/problem-in-hash-formatted-output/154426 "2008-12-01T05:07:29Z")

</div>

Hi All, I have an Array Like this @output=\[{“accounts”=\>\[“id”, “group\_id”, “company\_id”, “number”, “name”, “opening\_balance”, “description”, “editable”, “created\_at”, “updated\_at”, “source\_account”, “deleted\_status”,…

---

## [Fail-fast 1.0.0 Released](https://www.ruby-forum.com/t/fail-fast-1-0-0-released/154499)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 8:29pm UTC](https://www.ruby-forum.com/t/fail-fast-1-0-0-released/154499 "2008-11-30T20:29:58Z")

</div>

fail-fast version 1.0.0 has been released! http://fail-fast.rubyforge.org FailFast is a collection of assertion methods intended for lightweight contract checking. Changes: 1.0.0 2008-11-29 1 major enhancement: …

---

## [How to reset constants in tests?](https://www.ruby-forum.com/t/how-to-reset-constants-in-tests/154497)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 1\
**Last updated:** [November 30, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/how-to-reset-constants-in-tests/154497 "2008-11-30T20:23:29Z")

</div>

I am writing tests for configuration options that make class level changes. Because they are class level, the changes get carried over to the next test. What would be the best way to accomplish “transactions” for ruby…

---

## [Re: Maximum number of files on a disk?](https://www.ruby-forum.com/t/re-maximum-number-of-files-on-a-disk/154496)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/re-maximum-number-of-files-on-a-disk/154496 "2008-11-30T20:08:11Z")

</div>

Two further points: Are all these filed in a single directory? How new is the ubuntu? You’re probably using the open source NTFS-g emulation, which is itself based on the FUSE filedystem. That ntfs-g component did ha…

---

## [Can you run a command line script with arguments, without typing 'ruby' first?](https://www.ruby-forum.com/t/can-you-run-a-command-line-script-with-arguments-without-typing-ruby-first/154039)

<div class="topic-metadata">

**Author:** [@jayson](https://www.ruby-forum.com/u/jayson)\
**Replies:** 28\
**Last updated:** [November 30, 2008, 6:43am UTC](https://www.ruby-forum.com/t/can-you-run-a-command-line-script-with-arguments-without-typing-ruby-first/154039 "2008-11-30T06:43:45Z")

</div>

Hi All, I would like to do this -\> my\_script arg1, arg2 This doesn’t seem to work when the script has arguments. But if I type -\> ruby my\_script arg1,arg2 It works fine. Is there a way I can run the my\_script withou…

---

## [Rails 2.2 released, looking for user stories](https://www.ruby-forum.com/t/rails-2-2-released-looking-for-user-stories/153878)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 33\
**Last updated:** [November 30, 2008, 12:58am UTC](https://www.ruby-forum.com/t/rails-2-2-released-looking-for-user-stories/153878 "2008-11-30T00:58:49Z")

</div>

Rails 2.2 is now officially released (as 2.2.2) and we’re really interested in hearing anyone’s migration stories. There’s a good chance your project would be widely promoted as examples of how much 2.2 has improved i…

---

## [Rmagick and circles](https://www.ruby-forum.com/t/rmagick-and-circles/154449)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 4\
**Last updated:** [November 30, 2008, 12:41am UTC](https://www.ruby-forum.com/t/rmagick-and-circles/154449 "2008-11-30T00:41:47Z")

</div>

Hey there all, I am using RMagick to draw some circles. what i need though is a math formula to give me a pair of plot points for an angle. Say a circle is 40 x 40 on a sheet of graph paper. this would put the cente…

---

## [Drive Letter problems on Windows](https://www.ruby-forum.com/t/drive-letter-problems-on-windows/154460)

<div class="topic-metadata">

**Author:** [@Carlos\_Kozuszko](https://www.ruby-forum.com/u/Carlos_Kozuszko)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 12:25am UTC](https://www.ruby-forum.com/t/drive-letter-problems-on-windows/154460 "2008-11-30T00:25:59Z")

</div>

Hi all! Bug #1401 was supposed to be fixed on JRuby 1.0.2, but I don’t really see the attached patch applied on the code. http://jira.codehaus.org/browse/JRUBY-1401 I’m using JRuby 1.1.5 and I’m experiencing the same…

---

## [Prawn mini-hackfest, Sunday evening](https://www.ruby-forum.com/t/prawn-mini-hackfest-sunday-evening/154459)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/prawn-mini-hackfest-sunday-evening/154459 "2008-11-29T23:33:55Z")

</div>

Hi Folks, I’ll be around working on Prawn tomorrow night(Sunday, November 30th), between 8pm and at least 12am EST. I will be finishing up work on TTFunk\[0\], integrating it into Prawn, and then working on closing som…

---

## [Most used pwd in ruby](https://www.ruby-forum.com/t/most-used-pwd-in-ruby/154446)

<div class="topic-metadata">

**Author:** [@saknarede](https://www.ruby-forum.com/u/saknarede)\
**Replies:** 4\
**Last updated:** [November 29, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/most-used-pwd-in-ruby/154446 "2008-11-29T23:10:48Z")

</div>

Hi all! I have to program a lot of scripts, most of them work with files and folders. This files and the folders are in the directory of the script, it works well except if script is called from another directory. I s…

---

## [Ruby's duck typing](https://www.ruby-forum.com/t/rubys-duck-typing/154323)

<div class="topic-metadata">

**Author:** [@stephan.zimmer](https://www.ruby-forum.com/u/stephan.zimmer)\
**Replies:** 16\
**Last updated:** [November 29, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/rubys-duck-typing/154323 "2008-11-29T22:50:01Z")

</div>

I would like to represent certain data by a list; to this end I let class SomeData inherit from Array: class SomeData \< Array def get\_field self\[2\] end end (I want to keep it simple, therefore, the exa…

---

## [Desktop Application](https://www.ruby-forum.com/t/desktop-application/154418)

<div class="topic-metadata">

**Author:** [@rapido](https://www.ruby-forum.com/u/rapido)\
**Replies:** 10\
**Last updated:** [November 29, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/desktop-application/154418 "2008-11-29T22:43:33Z")

</div>

Total noob on Ruby, didnt start yet but i’m planning to learn the language. How easy or hard is it in creating desktop database applications.e.g Accounting, Inventory, Payroll, School Management Systems?

---

## [Removing ^M character from text](https://www.ruby-forum.com/t/removing-m-character-from-text/154406)

<div class="topic-metadata">

**Author:** [@vaughajj](https://www.ruby-forum.com/u/vaughajj)\
**Replies:** 7\
**Last updated:** [November 29, 2008, 7:43pm UTC](https://www.ruby-forum.com/t/removing-m-character-from-text/154406 "2008-11-29T19:43:02Z")

</div>

I have some text that I just realized is screwing everything up because it contains the ^M character (control-M). I have tried using all kinds of regexp expressions to find and remove it but it is evasive :slight\_smile…

---

## [Jruby-openssl possible bug?](https://www.ruby-forum.com/t/jruby-openssl-possible-bug/154339)

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 5\
**Last updated:** [November 29, 2008, 10:56am UTC](https://www.ruby-forum.com/t/jruby-openssl-possible-bug/154339 "2008-11-29T10:56:26Z")

</div>

I have encountered some odd behaviour with jruby-openssl, but I am not sure if this is a bug or a feature. I am running JRuby 1.1.5 on Windows XP with the jruby-openssl gem installed. I am trying to make an HTTPS re…

---

## [\[Bug #801\] socket.c compile error on Mac OS X](https://www.ruby-forum.com/t/bug-801-socket-c-compile-error-on-mac-os-x/154424)

<div class="topic-metadata">

**Author:** [@Shumpei\_A](https://www.ruby-forum.com/u/Shumpei_A)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 10:37am UTC](https://www.ruby-forum.com/t/bug-801-socket-c-compile-error-on-mac-os-x/154424 "2008-11-29T10:37:43Z")

</div>

Bug #801: socket.c compile error on Mac OS X http://redmine.ruby-lang.org/issues/show/801 e$B5/I\<\<Te(B: Shumpei A. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Index: ext/socket/socket.c — ext/socket/socket.c (rev…

---

## [Accessing one objects methods from within another object](https://www.ruby-forum.com/t/accessing-one-objects-methods-from-within-another-object/154420)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 2\
**Last updated:** [November 29, 2008, 8:34am UTC](https://www.ruby-forum.com/t/accessing-one-objects-methods-from-within-another-object/154420 "2008-11-29T08:34:19Z")

</div>

Ive created a simple todo list app for the console and tried to implement mvc using my very very very limited mvc knowledge. In the app users can create single tasks. they can also group tasks with a similiar theme to…

---

## [Unable to install old gems](https://www.ruby-forum.com/t/unable-to-install-old-gems/149700)

<div class="topic-metadata">

**Author:** [@mitkok](https://www.ruby-forum.com/u/mitkok)\
**Replies:** 5\
**Last updated:** [November 28, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/unable-to-install-old-gems/149700 "2008-11-28T23:52:17Z")

</div>

Hi, guys. Today I preinstalled Mac OS X and want to get rid of the old rails gems, but it gives me an error : \[quote\]bash-3.2# gem uninstall activesupport ERROR: While executing gem … (Gem::InstallError) Unknown ge…

---

## [\[Fwd: Re: Invitation to Java conference in Poland\]](https://www.ruby-forum.com/t/fwd-re-invitation-to-java-conference-in-poland/154412)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 11:38pm UTC](https://www.ruby-forum.com/t/fwd-re-invitation-to-java-conference-in-poland/154412 "2008-11-28T23:38:49Z")

</div>

Tom and I are hoping to do this Java event in Poland, but it overlaps with RailsConf 2009. So I think it’s time to talk about who’s submitting proposals for RailsConf and see whether Tom and I would need to do both ev…

---

## [Noob: Code review my first tutorial homework assignment?](https://www.ruby-forum.com/t/noob-code-review-my-first-tutorial-homework-assignment/154333)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 4\
**Last updated:** [November 28, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/noob-code-review-my-first-tutorial-homework-assignment/154333 "2008-11-28T22:50:12Z")

</div>

Hello! Im reading through tutorials to teach myself Ruby. I’m a business programmer by day, but I want to learn something new instead of the same old thing I’ve been doing for the last 8 years. I don’t know any Ruby …

---

## [What's with the backslashes at the start of words in YAML doc files?](https://www.ruby-forum.com/t/whats-with-the-backslashes-at-the-start-of-words-in-yaml-doc-files/154409)

<div class="topic-metadata">

**Author:** [@epasquier](https://www.ruby-forum.com/u/epasquier)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 10:16pm UTC](https://www.ruby-forum.com/t/whats-with-the-backslashes-at-the-start-of-words-in-yaml-doc-files/154409 "2008-11-28T22:16:12Z")

</div>

The problem: Files like /gems1.8/doc/actionpack-2.2.2/ri/ActionController/ AbstractRequest/content\_type-i.yaml contain text like this: body: For backward compatibility, the post \\format is extracted … What’s with t…

---

## [Maximum number of files on a disk?](https://www.ruby-forum.com/t/maximum-number-of-files-on-a-disk/154337)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 5\
**Last updated:** [November 28, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/maximum-number-of-files-on-a-disk/154337 "2008-11-28T21:45:43Z")

</div>

Dear all, is there a way to read out the maximum number of files that can be created on a hard disk/memory stick etc., from Ruby ? I’d need to know this for ext3, NTFS and fat32 systems, and from a search about ext3…

---

## [Julien KIRCH est absent / Julien KIRCH is offsite](https://www.ruby-forum.com/t/julien-kirch-est-absent-julien-kirch-is-offsite/154407)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/julien-kirch-est-absent-julien-kirch-is-offsite/154407 "2008-11-28T21:12:56Z")

</div>

Je serai absent(e) à partir du 28/11/2008 de retour le 08/12/2008. Je suis indisponible jusqu’au 8 décembre 2008. Pour toute question, merci de contacter PARIS BP2S GRP TECHNICAL TEAM. I’m off to 8th december 2008. …

---

## [Serialised attribute generates error](https://www.ruby-forum.com/t/serialised-attribute-generates-error/154228)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 1\
**Last updated:** [November 28, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/serialised-attribute-generates-error/154228 "2008-11-28T20:21:57Z")

</div>

Hi, I’ve started to look at deployment of a Jruby on rails app, and am following the great post by Charles at: (and so I am using Glassfish) I ActiveRecord attribute that I serialize: class PullTransfer \< ActiveRec…

---

## [Alter-ego 1.0.0 Released](https://www.ruby-forum.com/t/alter-ego-1-0-0-released/154398)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/alter-ego-1-0-0-released/154398 "2008-11-28T17:33:48Z")

</div>

alter-ego version 1.0.0 has been released! http://alter-ego.rubyforge.org AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries …

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

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