# Ruby

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

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

---

## [Job: Ruby on Rails developer](https://www.ruby-forum.com/t/job-ruby-on-rails-developer/139486)

<div class="topic-metadata">

**Author:** [@ludmilavolkova](https://www.ruby-forum.com/u/ludmilavolkova)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 11:56am UTC](https://www.ruby-forum.com/t/job-ruby-on-rails-developer/139486 "2008-06-04T11:56:14Z")

</div>

Hi All, We are looking for an experienced developer who is comfortable with dynamic programming languages, web application development, and building clean, scalable, testable code. The candidate will be an active memb…

---

## [Cannot start a transaction within a transaction on 1.8.7](https://www.ruby-forum.com/t/cannot-start-a-transaction-within-a-transaction-on-1-8-7/139478)

<div class="topic-metadata">

**Author:** [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 9:10am UTC](https://www.ruby-forum.com/t/cannot-start-a-transaction-within-a-transaction-on-1-8-7/139478 "2008-06-04T09:10:46Z")

</div>

Hy! I get an error when using AR save! in Ruby 1.8.7: “cannot start a transaction within a transaction” -\> didn’t occur with 1.8.6 ck

---

## [Beginner help](https://www.ruby-forum.com/t/beginner-help/139426)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 5\
**Last updated:** [June 4, 2008, 8:29am UTC](https://www.ruby-forum.com/t/beginner-help/139426 "2008-06-04T08:29:50Z")

</div>

Hello, I have just started learning Ruby and have already come upon a problem: i’m learning and blocks and procs: def meth(proc) puts “before proc” proc.call puts “after proc” yield(“hi”) if block\_given? puts “b…

---

## [Asp.Net MVC with IronRuby at TechEd](https://www.ruby-forum.com/t/asp-net-mvc-with-ironruby-at-teched/139243)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 5\
**Last updated:** [June 4, 2008, 7:08am UTC](https://www.ruby-forum.com/t/asp-net-mvc-with-ironruby-at-teched/139243 "2008-06-04T07:08:08Z")

</div>

Hi, In response to my comment on ScottGu’s blog regarding VS Express Support for IronRuby and Asp.Net MVC, I was immediately responded with Encouraging news from Mr. ScottGu. I Hope many would like to read this and s…

---

## [\[ANN\] Gerbil 3.0.1](https://www.ruby-forum.com/t/ann-gerbil-3-0-1/139467)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 6:52am UTC](https://www.ruby-forum.com/t/ann-gerbil-3-0-1/139467 "2008-06-04T06:52:18Z")

</div>

Gerbil Gerbil is an extensible document generator based on eRuby that outputs to any format you want: plain text, HTML, LaTeX, UNIX man page, your own custom format, and so on. http://gerb…

---

## [Array#choice on 1.8.7](https://www.ruby-forum.com/t/array-choice-on-1-8-7/139462)

<div class="topic-metadata">

**Author:** [@Eustaquio\_STaQS\_Ran](https://www.ruby-forum.com/u/Eustaquio_STaQS_Ran)\
**Replies:** 4\
**Last updated:** [June 4, 2008, 4:02am UTC](https://www.ruby-forum.com/t/array-choice-on-1-8-7/139462 "2008-06-04T04:02:48Z")

</div>

Hi. I just tested on one machine, but seems that if we make some call to rand before using Array#choice we can have better random values, check it out: choice.rb a = (1…10).to\_a 3.times { puts a.choice } \[taq@~/cod…

---

## [Win32ole , WIN32OLE\_EVENT.new and Microstation Please Help!](https://www.ruby-forum.com/t/win32ole-win32ole-event-new-and-microstation-please-help/139459)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 2:05am UTC](https://www.ruby-forum.com/t/win32ole-win32ole-event-new-and-microstation-please-help/139459 "2008-06-04T02:05:42Z")

</div>

I am trying to control a Microstation application through its VBA api. I am able to connect to the object and control it but I am now trying to figure out how to deal with Microstation’s event handling. In Microstat…

---

## [Code Review: protected](https://www.ruby-forum.com/t/code-review-protected/139456)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 4, 2008, 1:25am UTC](https://www.ruby-forum.com/t/code-review-protected/139456 "2008-06-04T01:25:54Z")

</div>

tfpt review “/shelveset:protected;REDMOND\\tomat” Temporary workaround to enable calls to protected CLR methods. Tomas

---

## [Simple Object Relational Database? Ruby db40](https://www.ruby-forum.com/t/simple-object-relational-database-ruby-db40/139428)

<div class="topic-metadata">

**Author:** [@Casimir](https://www.ruby-forum.com/u/Casimir)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 12:07am UTC](https://www.ruby-forum.com/t/simple-object-relational-database-ruby-db40/139428 "2008-06-04T00:07:23Z")

</div>

I have built a simple object store that runs on the local filesystem. Object serialization (marshaling) and restoring details are pseudo automagical, serialized objects saved as binary object strings in text- files. A…

---

## [Deleting tests/ironruby/specs/library](https://www.ruby-forum.com/t/deleting-tests-ironruby-specs-library/139444)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/deleting-tests-ironruby-specs-library/139444 "2008-06-03T23:31:01Z")

</div>

I am planning on deleting tests/ironruby/specs/library in order to keep the tests (Socket in this case) in the RubySpec directory tree we have (tests/ironruby/specs/ruby/1.8/library). I wanted to give a heads up befor…

---

## [About 1.8.7 Array#map! without a block](https://www.ruby-forum.com/t/about-1-8-7-array-map-without-a-block/139432)

<div class="topic-metadata">

**Author:** [@Eustaquio\_STaQS\_Ran](https://www.ruby-forum.com/u/Eustaquio_STaQS_Ran)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/about-1-8-7-array-map-without-a-block/139432 "2008-06-03T21:51:35Z")

</div>

Hi there. I was wondering how to use Array#map! with a block. On the usual way, we have irb(main):001:0\> a = \[1,2,3\] =\> \[1, 2, 3\] irb(main):002:0\> a.map! {|i| i\*2} =\> \[2, 4, 6\] Now with 1.8.7 we have: irb(main):0…

---

## [Certification](https://www.ruby-forum.com/t/certification/139240)

<div class="topic-metadata">

**Author:** [@Sergio\_de\_la\_Garza](https://www.ruby-forum.com/u/Sergio_de_la_Garza)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 9:05pm UTC](https://www.ruby-forum.com/t/certification/139240 "2008-06-03T21:05:57Z")

</div>

Hello, I’m looking to take a Ruby Certification on Ontario, CA but anywhere Canada will be great. Any one knows where i can take this? Regards.

---

## [ActiveRecord ids differ outside of rails for rails data table?](https://www.ruby-forum.com/t/activerecord-ids-differ-outside-of-rails-for-rails-data-table/139427)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/activerecord-ids-differ-outside-of-rails-for-rails-data-table/139427 "2008-06-03T21:00:38Z")

</div>

Say, for a record with label ‘Home’, inside Rails I get an id of 1, and outside I get an id of -6… and a different number each time? What is going on here? I am still getting the ‘Home’ label, and other fields are c…

---

## [Enumerable::Enumerator#with\_memo](https://www.ruby-forum.com/t/enumerable-enumerator-with-memo/139395)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/enumerable-enumerator-with-memo/139395 "2008-06-03T20:38:19Z")

</div>

ã€€Enumerable::Enumerator#with\_memo ã¨ã„ã†ã®ã‚’è¿½åŠ ã—ã¦ã¿ã¾ã—ãŸã€‚ ã€€å®Ÿè£…ã‚’ ruby ã§æ›¸ãã¨ def with\_memo(memo, &block) block or return enum\_for(\_\_method\_\_) each {|i| yield(i, memo) } return mem…

---

## [How to generate ascii code?](https://www.ruby-forum.com/t/how-to-generate-ascii-code/139032)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 13\
**Last updated:** [June 3, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/how-to-generate-ascii-code/139032 "2008-06-03T18:39:01Z")

</div>

Dear all, Iam in process of building a parser. I need to convert the numeric character reference to corresponding ascii. when numeric character reference like L or ÿ is given i need to convert those into correspondin…

---

## [Killing Win32 process](https://www.ruby-forum.com/t/killing-win32-process/139380)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/killing-win32-process/139380 "2008-06-03T18:23:36Z")

</div>

Hi, I tried the following code snippet to kill a Win32 process: def killQTP wmi = WIN32OLE.connect(“winmgmts://”) processes = wmi.ExecQuery(“select \* from Win32\_process”) for process in processes do if process.Name…

---

## [Spec\_server in Rails app?](https://www.ruby-forum.com/t/spec-server-in-rails-app/139415)

<div class="topic-metadata">

**Author:** [@lennylmiller](https://www.ruby-forum.com/u/lennylmiller)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/spec-server-in-rails-app/139415 "2008-06-03T18:12:53Z")

</div>

Is anyone using rspec’s Rails spec\_server with JRuby successfully? It never worked for me, but I was assuming that was because I had old versions of stuff. I finally got around to creating a new skeleton app with JRub…

---

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

<div class="topic-metadata">

**Author:** [@asplake](https://www.ruby-forum.com/u/asplake)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/unsubscribe/139413 "2008-06-03T17:55:38Z")

</div>

Ok… How do I unsubscribe from this list? I’ve tried several variations and nothing works. Please reply directly, as I’ve had to filter out the list emails due to the volume. Thanks, Mike

---

## [Traping signals on child processes](https://www.ruby-forum.com/t/traping-signals-on-child-processes/139287)

<div class="topic-metadata">

**Author:** [@mlopes](https://www.ruby-forum.com/u/mlopes)\
**Replies:** 12\
**Last updated:** [June 3, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/traping-signals-on-child-processes/139287 "2008-06-03T17:52:36Z")

</div>

Hi, I currently have a Ruby process that spawns another process through a system() call in order to run an application from the command line. The child process should not be aborted by INT signals and therefore the p…

---

## [Re: IronRuby got /.-ed](https://www.ruby-forum.com/t/re-ironruby-got-ed/139410)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/re-ironruby-got-ed/139410 "2008-06-03T17:27:18Z")

</div>

I hope this is a signal that we are no longer in kathy sierra’s ‘zone of mediocraty’ :slight\_smile: John Sent from my phone

---

## [IronRuby got /.-ed](https://www.ruby-forum.com/t/ironruby-got-ed/139354)

<div class="topic-metadata">

**Author:** [@Oleg\_T](https://www.ruby-forum.com/u/Oleg_T)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/ironruby-got-ed/139354 "2008-06-03T17:14:48Z")

</div>

Hey, IronRuby is on slashdot: – Oleg

---

## [Auto\_Complete problem?](https://www.ruby-forum.com/t/auto-complete-problem/139397)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 3:51pm UTC](https://www.ruby-forum.com/t/auto-complete-problem/139397 "2008-06-03T15:51:44Z")

</div>

Hi All, I am using Rails2.0.2 and i wanna use plugin auto\_complete with this but it’s not working fine i do’nt know the exact reason. Please give me some guideline that how to use auto\_complete with rails2.0.2 Previ…

---

## [Web browser with video input](https://www.ruby-forum.com/t/web-browser-with-video-input/139401)

<div class="topic-metadata">

**Author:** [@fmpfmpf](https://www.ruby-forum.com/u/fmpfmpf)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/web-browser-with-video-input/139401 "2008-06-03T15:49:19Z")

</div>

I have learnt how to create Rubyzilla from the following website:- http://ruby-gnome2.sourceforge.jp/data/rubyzilla.html Now i need to modify the web browser to display video images from an ethernet camera. How do i …

---

## [GenerateInitializers.cmd](https://www.ruby-forum.com/t/generateinitializers-cmd/139399)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/generateinitializers-cmd/139399 "2008-06-03T15:46:59Z")

</div>

Often I don’t use “rake gen” to generate the library initializers file. I usually just run GenerateInitilizers.cmd, found in the src\\IronRuby.Libraries folder. Recently, at r111, this file got sullied with yet more M…

---

## [How to draw a distance map with Ruby](https://www.ruby-forum.com/t/how-to-draw-a-distance-map-with-ruby/139280)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 11\
**Last updated:** [June 3, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/how-to-draw-a-distance-map-with-ruby/139280 "2008-06-03T15:18:27Z")

</div>

Hi! I have been scratching my head over this and thought someone here can help me out: I have a number of data points that I want to plot in a 2 or 3d space based on pairwise distances. I do have the distances, but f…

---

## [About StringIO#ungetc](https://www.ruby-forum.com/t/about-stringio-ungetc/139389)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/about-stringio-ungetc/139389 "2008-06-03T14:10:19Z")

</div>

e$B1sF#$G$9!#e(B StringIO#ungetc e$B$G@hF,$r1\[$($Fe(B ungetc e$B$7$h$&$H$7$?$H$-$N5sF0$,e(B e$B%I%-%e%a%s%H$H$"$C$F$$$^$;$s!#e(B e$B5sF0e(B: $ ./ruby -v -rstringio -e ‘f = StringIO.new(“1234”); f.ungetc(?x); p f.ge…

---

## [Watir: Clicking on a Window pop-up](https://www.ruby-forum.com/t/watir-clicking-on-a-window-pop-up/139388)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/watir-clicking-on-a-window-pop-up/139388 "2008-06-03T14:06:00Z")

</div>

Hi, I am working on an app which requires me to fill in the login credentials and then click on the Windows pop-up. The Window pop-up has windowCaption = “Microsoft Internet Explorer”, buttonCaption = “OK” require ‘w…

---

## [FastRI stopped seeing core/stdlib classes](https://www.ruby-forum.com/t/fastri-stopped-seeing-core-stdlib-classes/136212)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 11:58am UTC](https://www.ruby-forum.com/t/fastri-stopped-seeing-core-stdlib-classes/136212 "2008-06-03T11:58:47Z")

</div>

My setup: Ruby 1.8.6.p114 hand-compiled to ~/opt/ruby-1.8.6-p114. I have a couple of other Ruby installs â€“ Ubuntuâ€™s Ruby 1.8.6.p111 at the proper FHS location(s), as well as JRuby 1.1.1, Ruby 1.8.7.preview2 and Ru…

---

## [CMS Alongside Game Engines](https://www.ruby-forum.com/t/cms-alongside-game-engines/139350)

<div class="topic-metadata">

**Author:** [@Chris\_Babcock](https://www.ruby-forum.com/u/Chris_Babcock)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 10:56am UTC](https://www.ruby-forum.com/t/cms-alongside-game-engines/139350 "2008-06-03T10:56:34Z")

</div>

My primary application is a play-by-email game written in C that stores data in text files. I want to be able to build a community portal for the game that imports existing users and games into an environment where pl…

---

## [Safe sandbox for running untrusted code](https://www.ruby-forum.com/t/safe-sandbox-for-running-untrusted-code/139289)

<div class="topic-metadata">

**Author:** [@rubenfonseca](https://www.ruby-forum.com/u/rubenfonseca)\
**Replies:** 6\
**Last updated:** [June 3, 2008, 10:01am UTC](https://www.ruby-forum.com/t/safe-sandbox-for-running-untrusted-code/139289 "2008-06-03T10:01:26Z")

</div>

Hello @all! I’m sorry if this has been answered before, but I’m looking for an expert voice for this question. I would need if Ruby have a safe mechanism of running unsafe code on a sandbox environment. Image this si…

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

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