# IronRuby

**URL:** https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=15

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

---

## [Re: Getting started with IronRuby and c# issues](https://www.ruby-forum.com/t/re-getting-started-with-ironruby-and-c-issues/183971)

<div class="topic-metadata">

**Author:** [@jngo](https://www.ruby-forum.com/u/jngo)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 10:07am UTC](https://www.ruby-forum.com/t/re-getting-started-with-ironruby-and-c-issues/183971 "2010-02-23T10:07:30Z")

</div>

Thanks Mark. The problem was definitely in the wetwear. I think the thing that threw me off was RubyMine was complaining about my namespace. Interestingly for me though both: assert\_equal(“John”,john.FirstName) and …

---

## [Code Review: Buffer7](https://www.ruby-forum.com/t/code-review-buffer7/183951)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 23, 2010, 12:47am UTC](https://www.ruby-forum.com/t/code-review-buffer7/183951 "2010-02-23T00:47:25Z")

</div>

tfpt review “/shelveset:Buffer7;REDMOND\\tomat” Comment : Improves perf of IO#each\_line. Fixes a few socket specs. Fixes: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3314 http://ironruby.codeplex.com…

---

## [Getting started with IronRuby and c# issues](https://www.ruby-forum.com/t/getting-started-with-ironruby-and-c-issues/183796)

<div class="topic-metadata">

**Author:** [@jngo](https://www.ruby-forum.com/u/jngo)\
**Replies:** 1\
**Last updated:** [February 20, 2010, 11:29am UTC](https://www.ruby-forum.com/t/getting-started-with-ironruby-and-c-issues/183796 "2010-02-20T11:29:51Z")

</div>

Hi IronRuby mailing list, Inspired by a talk by Ben H. on testing c# with Ruby I thought I’d give it a go but I’m frustratingly stuck at the first hurdle. I’ve emailed Ben but as I’ve not had an immediate response …

---

## [Code Review: TypeInferenceBugs](https://www.ruby-forum.com/t/code-review-typeinferencebugs/183786)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 20, 2010, 2:29am UTC](https://www.ruby-forum.com/t/code-review-typeinferencebugs/183786 "2010-02-20T02:29:40Z")

</div>

tfpt review “/shelveset:TypeInferenceBugs;REDMOND\\tomat” Comment : Fixes bugs in type inference: By-ref generic parameter public void Foo(ref T x); Foo(1) Foo(StrongBox()) Multiple generic parameters public I…

---

## [Getting up and running with ActiveRecord + Sqlserver](https://www.ruby-forum.com/t/getting-up-and-running-with-activerecord-sqlserver/183773)

<div class="topic-metadata">

**Author:** [@Scott\_Holden](https://www.ruby-forum.com/u/Scott_Holden)\
**Replies:** 13\
**Last updated:** [February 20, 2010, 2:15am UTC](https://www.ruby-forum.com/t/getting-up-and-running-with-activerecord-sqlserver/183773 "2010-02-20T02:15:03Z")

</div>

I’m trying to follow the example given at http://ironruby.net/Documentation/Real\_Ruby\_Applications/Rails for getting ActiveRecord up and running. Whenever I try to run a migration, I’m getting this error. Could an…

---

## [Re: COM Interop Problem](https://www.ruby-forum.com/t/re-com-interop-problem/183759)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [February 19, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/re-com-interop-problem/183759 "2010-02-19T19:14:10Z")

</div>

Just so you know, the WIN32OLE library wraps the COM initialization and removes the need for to\_clr\_string. Require ‘win32ole’ WIN32OLE.new ‘Excel.Application’ This will also be cross compatible with MRI. Tomas: Can…

---

## [COM Interop Problem](https://www.ruby-forum.com/t/com-interop-problem/183703)

<div class="topic-metadata">

**Author:** [@semmons99](https://www.ruby-forum.com/u/semmons99)\
**Replies:** 1\
**Last updated:** [February 19, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/com-interop-problem/183703 "2010-02-19T16:01:31Z")

</div>

Anytime I invoke a method on a COM object with one or more arguments, I get the following error: Could not convert argument 0 for call to Open. (ArgumentError) What’s preplexing is the argument number is always the la…

---

## [IronRuby 1.0rc2 - crash calling =~ on clr string](https://www.ruby-forum.com/t/ironruby-1-0rc2-crash-calling-on-clr-string/183649)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 4:17am UTC](https://www.ruby-forum.com/t/ironruby-1-0rc2-crash-calling-on-clr-string/183649 "2010-02-18T04:17:58Z")

</div>

Ouch. Here’s a repro PS C:\\dev\\test\> ir IronRuby 0.9.4.0 on .NET 2.0.50727.4927 Copyright © Microsoft Corporation. All rights reserved. “hello”.to\_clr\_string =~ “hello” Process is terminated due to StackOverfl…

---

## [Code Review: Ruby 1.8.7 and 1.9 compat improvements](https://www.ruby-forum.com/t/code-review-ruby-1-8-7-and-1-9-compat-improvements/183641)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [February 18, 2010, 12:37am UTC](https://www.ruby-forum.com/t/code-review-ruby-1-8-7-and-1-9-compat-improvements/183641 "2010-02-18T00:37:21Z")

</div>

tfpt review “/shelveset:r187;REDMOND\\sborde” Comment : I wanted to get a feel for where were with Rails 3 compat. For V1 RTM, we can have a crisper message like “IronRuby 1.0 supports Rails 2.3.5. Rails 3 tests pass…

---

## [Code Review: V4bugs (take 2)](https://www.ruby-forum.com/t/code-review-v4bugs-take-2/183595)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 3:46am UTC](https://www.ruby-forum.com/t/code-review-v4bugs-take-2/183595 "2010-02-17T03:46:24Z")

</div>

tfpt review “/shelveset:V4bugs;REDMOND\\tomat” Comment : DLR: Marks generated assemblies by SecurityRulesAttributes. Ruby: Corrects paths in run\_syntax and MSpec (ruby\_exe.rb). Adds RubyIO subclass to avoid type ge…

---

## [Code Review: InteropFix](https://www.ruby-forum.com/t/code-review-interopfix/183594)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 3:40am UTC](https://www.ruby-forum.com/t/code-review-interopfix/183594 "2010-02-17T03:40:33Z")

</div>

tfpt review “/shelveset:InteropFix;REDMOND\\tomat” Comment : Replaces all remaining calls to Expession.Dynamic by AstUtils.LightDynamic. Removes superfluous restriction in InteropBinder.InvokeMember.FallbackInvoke. …

---

## [MRI 1.8.7 compatibility](https://www.ruby-forum.com/t/mri-1-8-7-compatibility/183302)

<div class="topic-metadata">

**Author:** [@Mark\_Rendle](https://www.ruby-forum.com/u/Mark_Rendle)\
**Replies:** 24\
**Last updated:** [February 16, 2010, 8:31pm UTC](https://www.ruby-forum.com/t/mri-1-8-7-compatibility/183302 "2010-02-16T20:31:34Z")

</div>

It seems a shame that the 1.0 release of IronRuby isn’t going to be able to run Rails 3, since they seem to be landing at around the same time. I guess the differences between MRI 1.8.6 and 1.8.7 are pretty major, th…

---

## [Code Review: InteropBinding](https://www.ruby-forum.com/t/code-review-interopbinding/183523)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 16, 2010, 4:29am UTC](https://www.ruby-forum.com/t/code-review-interopbinding/183523 "2010-02-16T04:29:53Z")

</div>

tfpt review “/shelveset:InteropBinding;REDMOND\\tomat” Comment : DLR, Python: Adds IInvokeOnGetBinder to Microsoft.System.Core. Adds Rowan4.sln that includes DLR, IronRuby and IronPython projects. Ruby: Implement…

---

## [\[ANN\] IronRuby Unleashed](https://www.ruby-forum.com/t/ann-ironruby-unleashed/183478)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 1\
**Last updated:** [February 15, 2010, 11:34am UTC](https://www.ruby-forum.com/t/ann-ironruby-unleashed/183478 "2010-02-15T11:34:55Z")

</div>

Hi all! I’m very excited to announce that the book IronRuby Unleashed has been released! The book was written by me and was reviewed by Justin Etheredge ( codethinked.com). It is already available on the InformIT we…

---

## [Threading model](https://www.ruby-forum.com/t/threading-model/183460)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 2\
**Last updated:** [February 15, 2010, 4:00am UTC](https://www.ruby-forum.com/t/threading-model/183460 "2010-02-15T04:00:09Z")

</div>

Here is what I think happens: Thread.new and the other ruby threading methods from the ruby standard library will create and run on new CLR threads, but there is ‘global interpreter lock’ type thing to emulate MRI I…

---

## [Code Review: ActiveRecord fix](https://www.ruby-forum.com/t/code-review-activerecord-fix/183396)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [February 13, 2010, 2:26am UTC](https://www.ruby-forum.com/t/code-review-activerecord-fix/183396 "2010-02-13T02:26:00Z")

</div>

tfpt review “/shelveset:ar;REDMOND\\sborde” Comment : remove\_const was not returning the old value in some cases

---

## [ActiveRecord tests status](https://www.ruby-forum.com/t/activerecord-tests-status/183397)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [February 13, 2010, 12:17am UTC](https://www.ruby-forum.com/t/activerecord-tests-status/183397 "2010-02-13T00:17:15Z")

</div>

This fix brings the ActiveRecord test pass rate to 98% with SQLServer. Only 54 out of 2300 tests are now disabled! From: Shri B. Sent: Friday, February 12, 2010 3:02 PM To: IronRuby External Code R. Cc: ‘removed\_ema…

---

## [Calling a C# method with a byref parameter](https://www.ruby-forum.com/t/calling-a-c-method-with-a-byref-parameter/183309)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 8\
**Last updated:** [February 12, 2010, 9:24pm UTC](https://www.ruby-forum.com/t/calling-a-c-method-with-a-byref-parameter/183309 "2010-02-12T21:24:36Z")

</div>

Hi Everyone, I’m trying to write a IronRuby script that interops with a a .NET assembly written in C#. It has a class that derives from a base class in the .NET assembly. One of the base class protected methods loo…

---

## [Running some benchmarks](https://www.ruby-forum.com/t/running-some-benchmarks/183323)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 3\
**Last updated:** [February 12, 2010, 9:24pm UTC](https://www.ruby-forum.com/t/running-some-benchmarks/183323 "2010-02-12T21:24:36Z")

</div>

Hi I’m currently helping David m. Peterson by setting up 2 windows boxes with ironruby and running a few benchmarks and tests with it. For example I’m going to try running a few of the complexer rails apps and see …

---

## [Mono builds](https://www.ruby-forum.com/t/mono-builds/183353)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 8:36am UTC](https://www.ruby-forum.com/t/mono-builds/183353 "2010-02-12T08:36:22Z")

</div>

For those of you interested in mono-on-\*nix-built-binaries for ironruby RC2. http://dl.dropbox.com/u/21717/ironruby-rc2.tar.bz2 http://dl.dropbox.com/u/21717/ironruby-rc2.tar.gz You need to either build the mono 2.6 …

---

## [Code Review: SingletonOptimizations](https://www.ruby-forum.com/t/code-review-singletonoptimizations/183348)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 6:55am UTC](https://www.ruby-forum.com/t/code-review-singletonoptimizations/183348 "2010-02-12T06:55:08Z")

</div>

tfpt review “/shelveset:SingletonOptimizations;REDMOND\\tomat” Optimizes allocation of singletons. Module singletons could be allocated lazily. We used to eagerly allocate a singleton for each allocated RubyModule. Thi…

---

## [Rails 3?](https://www.ruby-forum.com/t/rails-3/182967)

<div class="topic-metadata">

**Author:** [@Mark\_Rendle](https://www.ruby-forum.com/u/Mark_Rendle)\
**Replies:** 5\
**Last updated:** [February 12, 2010, 5:09am UTC](https://www.ruby-forum.com/t/rails-3/182967 "2010-02-12T05:09:47Z")

</div>

I’m planning to try the Rails 3 beta with IronRuby later today. Is there any reason it just flat-out won’t work yet? I noted that R3 requires MRI 1.8.7 because of a hash-equality bug in 1.8.6, whereby two different h…

---

## [Asynchronous Delegates](https://www.ruby-forum.com/t/asynchronous-delegates/183270)

<div class="topic-metadata">

**Author:** [@mercedes6s](https://www.ruby-forum.com/u/mercedes6s)\
**Replies:** 3\
**Last updated:** [February 12, 2010, 12:10am UTC](https://www.ruby-forum.com/t/asynchronous-delegates/183270 "2010-02-12T00:10:12Z")

</div>

Hello guys, I’d like to use asynchronous delegates, but it doesn’t seem to work. The IronRuby website mentioned that I can do: require ‘System’ =\> true require ‘System.Core, Version=3.5.0.0, Culture=neutral,…

---

## [Code Review: Misc rails fixes](https://www.ruby-forum.com/t/code-review-misc-rails-fixes/183332)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/code-review-misc-rails-fixes/183332 "2010-02-11T23:44:19Z")

</div>

tfpt review “/shelveset:rails;REDMOND\\sborde” Comment : Adds OpenSSL::SSL::SSLError which fixes all the remaining active\_resource failures Adds an overload of NoMethodError.new that takes 3 arguments Implements Zli…

---

## [\[ANN\] IronRuby 1.0 RC2](https://www.ruby-forum.com/t/ann-ironruby-1-0-rc2/183273)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 2:14am UTC](https://www.ruby-forum.com/t/ann-ironruby-1-0-rc2/183273 "2010-02-11T02:14:09Z")

</div>

The IronRuby team is pleased to announce version 1.0 RC2! http://ironruby.net/download Direct download link: http://ironruby.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=36931#DownloadId=105584 This release is…

---

## [Silverlight.rb](https://www.ruby-forum.com/t/silverlight-rb/181556)

<div class="topic-metadata">

**Author:** [@Randall\_Sutton](https://www.ruby-forum.com/u/Randall_Sutton)\
**Replies:** 2\
**Last updated:** [February 11, 2010, 1:29am UTC](https://www.ruby-forum.com/t/silverlight-rb/181556 "2010-02-11T01:29:40Z")

</div>

I would like to use the Wpf.build method contained in the silverlight.rb file. Currently I can only find this file in the photoviewer app from 2008 for what looks like Silverlight 2. Is there an updated version of t…

---

## [Bug in delete\_at?](https://www.ruby-forum.com/t/bug-in-delete-at/183264)

<div class="topic-metadata">

**Author:** [@Randall\_Sutton](https://www.ruby-forum.com/u/Randall_Sutton)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 11:38pm UTC](https://www.ruby-forum.com/t/bug-in-delete-at/183264 "2010-02-10T23:38:25Z")

</div>

I think there might be a bug in the way delete\_at works. a = \[1,2\] a.delete\_at(1) =\> 2 a.delete\_at(1) RangeError: Specified argument was out of the range of valid values. Parameter name: index from :0:in delete\_at…

---

## [Code Review: MutableStringConcatPerf2](https://www.ruby-forum.com/t/code-review-mutablestringconcatperf2/183221)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 5:35am UTC](https://www.ruby-forum.com/t/code-review-mutablestringconcatperf2/183221 "2010-02-10T05:35:33Z")

</div>

tfpt review “/shelveset:MutableStringConcatPerf2;REDMOND\\tomat” Comment : Improves perf of String#+ Tomas

---

## [Create pseudo sandbox for hosted IronRuby script](https://www.ruby-forum.com/t/create-pseudo-sandbox-for-hosted-ironruby-script/183105)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 2\
**Last updated:** [February 9, 2010, 1:11pm UTC](https://www.ruby-forum.com/t/create-pseudo-sandbox-for-hosted-ironruby-script/183105 "2010-02-09T13:11:35Z")

</div>

Hi, I have an multi-user VoIP application that allows users to execute IronRuby scripts for their call dial plans. I’m looking to restrict what the IronRuby scripts are allowed to do to protect the server in case a n…

---

## [Code Review: Control Flow Optimizations](https://www.ruby-forum.com/t/code-review-control-flow-optimizations/183147)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [February 8, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/code-review-control-flow-optimizations/183147 "2010-02-08T23:12:13Z")

</div>

Implements a new block return optimization. It targets frame unwinding in the cases of returning from (nested) blocks like these: def foo x.times do y.times do return end end end We were throwing an except…

[Previous page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=14)

[Next page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=16)
