# Ruby

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

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

---

## [Not to allow previous page](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 3\
**Last updated:** [June 2, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333 "2009-06-02T15:07:14Z")

</div>

hi all 1…i my webapplication after logout i dont want to disply the previos page when click on back button of browser. i want to display the index page instead of showing previous page when click on back button instea…

---

## [Modules and importing them/their namespace?](https://www.ruby-forum.com/t/modules-and-importing-them-their-namespace/169329)

<div class="topic-metadata">

**Author:** [@Markus\_F](https://www.ruby-forum.com/u/Markus_F)\
**Replies:** 5\
**Last updated:** [June 2, 2009, 3:01pm UTC](https://www.ruby-forum.com/t/modules-and-importing-them-their-namespace/169329 "2009-06-02T15:01:19Z")

</div>

Hi, I haven’t found anything so far, so probably it doesn’t exist and I’m thinking to much java-ish, but is there a way to import a namespace so I do not need long prefixes? Probably bad example, but if I would name …

---

## [Localmemcache-0.4.1: A persistent key-value database based on mmap()'ed shared memory](https://www.ruby-forum.com/t/localmemcache-0-4-1-a-persistent-key-value-database-based-on-mmap-ed-shared-memory/169334)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 2:43pm UTC](https://www.ruby-forum.com/t/localmemcache-0-4-1-a-persistent-key-value-database-based-on-mmap-ed-shared-memory/169334 "2009-06-02T14:43:38Z")

</div>

Hi, I’ve just released localmemcache-0.4.1. It brings fixes for compilation failures of the ruby-binding with recent versions of Ruby 1.9 (\>=1.9.1 I think). Thanks to Michael F. for the report and suggested fix. I…

---

## [Ramaze 2009.06](https://www.ruby-forum.com/t/ramaze-2009-06/169332)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 1:57pm UTC](https://www.ruby-forum.com/t/ramaze-2009-06/169332 "2009-06-02T13:57:48Z")

</div>

The Ramaze development team is happy to announce version 2009.06 of Ramaze, the light and modular open source web framework that tries to stay out of your way. This release features a lot of work directly from our co…

---

## [Irb command history issues with ruby 1.9.1p129](https://www.ruby-forum.com/t/irb-command-history-issues-with-ruby-1-9-1p129/169194)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 3\
**Last updated:** [June 2, 2009, 1:26pm UTC](https://www.ruby-forum.com/t/irb-command-history-issues-with-ruby-1-9-1p129/169194 "2009-06-02T13:26:08Z")

</div>

Hi all, I’ve recently installed ruby 1.9.1 from source w/o any special issues on ubuntu linux 9.04. Everything works great except scrolling command history in irb with the up/down arrow keys. I’m sure you guys can ap…

---

## [How do I access a my :include data in my Ruby SQL results](https://www.ruby-forum.com/t/how-do-i-access-a-my-include-data-in-my-ruby-sql-results/169311)

<div class="topic-metadata">

**Author:** [@dustinbuss](https://www.ruby-forum.com/u/dustinbuss)\
**Replies:** 2\
**Last updated:** [June 2, 2009, 11:31am UTC](https://www.ruby-forum.com/t/how-do-i-access-a-my-include-data-in-my-ruby-sql-results/169311 "2009-06-02T11:31:00Z")

</div>

I am new to Ruby on Rails, so this is probably a very easy answer: Two tables – one of authors, one of books authors belong\_to books In my situation, each book can only have one author. I want to list all the books (…

---

## [Return value of require](https://www.ruby-forum.com/t/return-value-of-require/169289)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 2, 2009, 10:10am UTC](https://www.ruby-forum.com/t/return-value-of-require/169289 "2009-06-02T10:10:55Z")

</div>

Hi, I had a problem with require and ruby 1.8.7-p72 on debian (original debian packages). For some of the ruby-gnome2 libraries (all, which are based on gtk), require returned false. Beside of the return value all wo…

---

## [Eval? instance\_eval? hmm](https://www.ruby-forum.com/t/eval-instance-eval-hmm/169239)

<div class="topic-metadata">

**Author:** [@steveybaby](https://www.ruby-forum.com/u/steveybaby)\
**Replies:** 4\
**Last updated:** [June 2, 2009, 9:31am UTC](https://www.ruby-forum.com/t/eval-instance-eval-hmm/169239 "2009-06-02T09:31:41Z")

</div>

Hey ruby wizards. I got a question for you. I want to call a method on my object instance, with the method name specified by a string. I want to pass in a hash to my method. I tried: myMethodName = “doSomeStuff” …

---

## [Intel's Atom processors exposed](https://www.ruby-forum.com/t/intels-atom-processors-exposed/169314)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 7:21am UTC](https://www.ruby-forum.com/t/intels-atom-processors-exposed/169314 "2009-06-02T07:21:35Z")

</div>

First thing Tuesday morning and Intel is showing off it’s new Atoms – previously known as Silverthorne and Diamondville, these processors will become part of a new set of brands in addition to the Centrino we’ve seen …

---

## [\[ANN\] ruby2java 0.0.1 Released](https://www.ruby-forum.com/t/ann-ruby2java-0-0-1-released/168623)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 9\
**Last updated:** [June 2, 2009, 6:58am UTC](https://www.ruby-forum.com/t/ann-ruby2java-0-0-1-released/168623 "2009-06-02T06:58:13Z")

</div>

ruby2java version 0.0.1 has been released! http://kenai.com/projects/ruby2java/pages/Home The Ruby2Java compiler inspects the runtime definition of classes to produce a normal-looking Java class. All metaprogrammed m…

---

## [Code Review: SuperFix](https://www.ruby-forum.com/t/code-review-superfix/169308)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 5:00am UTC](https://www.ruby-forum.com/t/code-review-superfix/169308 "2009-06-02T05:00:10Z")

</div>

tfpt review “/shelveset:SuperFix;REDMOND\\tomat” Comment : Fixes assertion in RubyOverloadResolver - it wasn’t expecting DynamicMethod stubs generated by super calls. Also fixes the super stubs to throw an exception …

---

## [Were Golden!](https://www.ruby-forum.com/t/were-golden/169304)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 4:41am UTC](https://www.ruby-forum.com/t/were-golden/169304 "2009-06-02T04:41:29Z")

</div>

Go CSHD! Opening price .0001 ! WERE GOLDEN!!! http://pearlcompany.ca

---

## [Ruby enhancement suggestion](https://www.ruby-forum.com/t/ruby-enhancement-suggestion/169299)

<div class="topic-metadata">

**Author:** [@steveybaby](https://www.ruby-forum.com/u/steveybaby)\
**Replies:** 4\
**Last updated:** [June 2, 2009, 4:29am UTC](https://www.ruby-forum.com/t/ruby-enhancement-suggestion/169299 "2009-06-02T04:29:48Z")

</div>

I’m fairly certain this isn’t the proper place to suggestion minor improvements/extensions to the ruby language, but this is something I constantly find myself wishing was available: Extension to ruby class Hash class…

---

## [Counting .each](https://www.ruby-forum.com/t/counting-each/169293)

<div class="topic-metadata">

**Author:** [@mk27](https://www.ruby-forum.com/u/mk27)\
**Replies:** 1\
**Last updated:** [June 2, 2009, 1:58am UTC](https://www.ruby-forum.com/t/counting-each/169293 "2009-06-02T01:58:51Z")

</div>

Is there some equivalent to file.lineno when using array.each? Eg, if I am iterating thru an array of strings searching for a pattern, and I want to save the current array index, do I have to do this: count = 0 arra…

---

## [How can I get command's result code, which executing via ssh](https://www.ruby-forum.com/t/how-can-i-get-commands-result-code-which-executing-via-ssh/169247)

<div class="topic-metadata">

**Author:** [@ivanstorck](https://www.ruby-forum.com/u/ivanstorck)\
**Replies:** 8\
**Last updated:** [June 1, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/how-can-i-get-commands-result-code-which-executing-via-ssh/169247 "2009-06-01T22:48:41Z")

</div>

I use net/ssh library. My code: require ‘rubygems’ require ‘net/ssh’ Net::SSH.start(‘server’, ‘login’) { |ssh| ssh.open\_channel { |ch| ch.exec(‘false’) { |ch, success| puts success } } } “false” is a console progr…

---

## [Time and microseconds](https://www.ruby-forum.com/t/time-and-microseconds/169264)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 12\
**Last updated:** [June 1, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/time-and-microseconds/169264 "2009-06-01T22:27:19Z")

</div>

Charlie, we chatted about this briefly on irc but I guess I don’t understand why the Time class doesn’t generate microseconds. I’ve been calling System.nanoTime and adding it to my calls to Time.now and it has been p…

---

## [Rich Kilmer's Units System v0.5.0 released](https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 1, 2009, 9:13pm UTC](https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281 "2009-06-01T21:13:21Z")

</div>

= Rich Units Easy Units for Ruby http://richunits.rubyforge.org == Usage You only need to require ‘rich\_units’ and all of RichUnit’s extensions are loaded. require ‘richunits’ 2.hours #=\> 7200 RichUnits also inc…

---

## [RichUnits v0.5.0 released](https://www.ruby-forum.com/t/richunits-v0-5-0-released/196966)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 9:12pm UTC](https://www.ruby-forum.com/t/richunits-v0-5-0-released/196966 "2009-06-01T21:12:45Z")

</div>

= Rich Units Easy Units for Ruby http://richunits.rubyforge.org == Usage You only need to require ‘rich\_units’ and all of RichUnit’s extensions are loaded. require ‘richunits’ 2.hours #=\> 7200 RichUnits also inc…

---

## [Monkeybars: getting started](https://www.ruby-forum.com/t/monkeybars-getting-started/168560)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 10\
**Last updated:** [June 1, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/monkeybars-getting-started/168560 "2009-06-01T20:32:52Z")

</div>

I’m trying to get started with monkeybars, but there is no accurate, working information about it that I can find. The tutorial videos at monkeybars.rubyforge.org do not stream, which is a shame. The kenai site is i…

---

## [\[ANN\] EngineYard now supports JRuby in their Solo cloud](https://www.ruby-forum.com/t/ann-engineyard-now-supports-jruby-in-their-solo-cloud/169265)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 1\
**Last updated:** [June 1, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/ann-engineyard-now-supports-jruby-in-their-solo-cloud/169265 "2009-06-01T19:52:21Z")

</div>

Big news day already for JRuby: http://www.engineyard.com/blog/2009/engine-yard-adds-jruby-support/ We’re thrilled :slight\_smile: We’ll be working closely with EY to make sure JRuby runs as well as possible for them a…

---

## [Help JRuby "win" at JavaOne Script Bowl](https://www.ruby-forum.com/t/help-jruby-win-at-javaone-script-bowl/169225)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 4\
**Last updated:** [June 1, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/help-jruby-win-at-javaone-script-bowl/169225 "2009-06-01T19:49:59Z")

</div>

Hey there folks! There will be a “Script Bowl” again this year at JavaOne, and we’d like your help in the “Community” round. We’d like to show slides listing projects, conferences, books, etc to show how healthy and b…

---

## [Code Review: ClrMembers](https://www.ruby-forum.com/t/code-review-clrmembers/169231)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [June 1, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/code-review-clrmembers/169231 "2009-06-01T19:38:49Z")

</div>

tfpt review “/shelveset:ClrMembers;REDMOND\\tomat” Adds the following methods to improve CLR interop: Kernel#clr\_member Returns RubyMethod that represents one or more CLR members (a field, an event, a method,…

---

## [Newest styles Chanel,Coach,LV sale online](https://www.ruby-forum.com/t/newest-styles-chanel-coach-lv-sale-online/169273)

<div class="topic-metadata">

**Author:** [@samvalentine](https://www.ruby-forum.com/u/samvalentine)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/newest-styles-chanel-coach-lv-sale-online/169273 "2009-06-01T19:36:03Z")

</div>

removed\_email\_address@domain.invalid contact with this msn/email let u enjoy stylish life easily!

---

## [Sqlite3-ruby ON Windows Vista with 1.9.1p129 mingw32](https://www.ruby-forum.com/t/sqlite3-ruby-on-windows-vista-with-1-9-1p129-mingw32/169229)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 12\
**Last updated:** [June 1, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/sqlite3-ruby-on-windows-vista-with-1-9-1p129-mingw32/169229 "2009-06-01T18:57:22Z")

</div>

I’m using the ming compiled 1.9.1 p 129 successfully on Vista and I even managed to get mysql to work (lots of headaches but I did it). However, I can’t get sqlite3-ruby to work. I’ve tried the following: gem instal…

---

## [Heres that seating chart your looking for!](https://www.ruby-forum.com/t/heres-that-seating-chart-your-looking-for/169270)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/heres-that-seating-chart-your-looking-for/169270 "2009-06-01T18:51:16Z")

</div>

Giants http://pearlcompany.ca/2009/06/its-definately-giants-seating-chart-for.html seating chart haven’t seen this for a while

---

## [\[ANN\] Diamondback Ruby - Static Typing for Ruby](https://www.ruby-forum.com/t/ann-diamondback-ruby-static-typing-for-ruby/166228)

<div class="topic-metadata">

**Author:** [@fletch](https://www.ruby-forum.com/u/fletch)\
**Replies:** 15\
**Last updated:** [June 1, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/ann-diamondback-ruby-static-typing-for-ruby/166228 "2009-06-01T18:12:48Z")

</div>

I am pleased to announce that the first public release of the Diamondback Ruby static type inference system is now available! http://www.cs.umd.edu/projects/PL/druby/ Diamondback Ruby (DRuby) is a research proje…

---

## [JRuby support at EngineYard!](https://www.ruby-forum.com/t/jruby-support-at-engineyard/169269)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 6:00pm UTC](https://www.ruby-forum.com/t/jruby-support-at-engineyard/169269 "2009-06-01T18:00:15Z")

</div>

FYI, EngineYard announced JRuby support today: http://www.engineyard.com/blog/2009/engine-yard-adds-jruby-support/ We’ll be working closely with EY folks to make sure their JRuby setup is working great for them and th…

---

## [\[ANN\] ri\_cal 0.5.3 Released](https://www.ruby-forum.com/t/ann-ri-cal-0-5-3-released/169263)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/ann-ri-cal-0-5-3-released/169263 "2009-06-01T17:21:34Z")

</div>

ri\_cal version 0.5.3 has been released! http://ri-cal.rubyforge.org/ A new Ruby implementation of RFC2445 iCalendar. The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide for parsing and generating…

---

## [\[suggestion\] sorted flag for Array](https://www.ruby-forum.com/t/suggestion-sorted-flag-for-array/168840)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 2\
**Last updated:** [June 1, 2009, 5:11pm UTC](https://www.ruby-forum.com/t/suggestion-sorted-flag-for-array/168840 "2009-06-01T17:11:33Z")

</div>

e$B1sF#$G$9!#e(B e$B;W$$IU$-$G$9$,!"e(BArray e$B$K!V%=!\<%H:Q$\_!W$rI=$9%U%i%0$r;}$?$;$k$N$O$I$&e(B e$B$G$7$g$&$+!#e(B e$B!V%=!\<%H:Q$\_!W$NG\[Ns$KBP$7$F$O!"e(B Array#index e$B$de(B include? e$B$GFsJ,C5:w$r;H$&e(B Array…

---

## [Help JRuby "win" at JavaOne Script Bowl](https://www.ruby-forum.com/t/help-jruby-win-at-javaone-script-bowl/169227)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 2\
**Last updated:** [June 1, 2009, 5:02pm UTC](https://www.ruby-forum.com/t/help-jruby-win-at-javaone-script-bowl/169227 "2009-06-01T17:02:36Z")

</div>

Hey there folks! There will be a “Script Bowl” again this year at JavaOne, and we’d like your help in the “Community” round. We’d like to show slides listing projects, conferences, books, etc to show how healthy and b…

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

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