# IronRuby

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

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

---

## [ActiveRecord loading veeeery slow](https://www.ruby-forum.com/t/activerecord-loading-veeeery-slow/192891)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 2\
**Last updated:** [September 7, 2010, 5:00am UTC](https://www.ruby-forum.com/t/activerecord-loading-veeeery-slow/192891 "2010-09-07T05:00:46Z")

</div>

Hi all, I’m having a performance issue when loading activerecord: I’m timing it in this code puts Time.now.to\_s + “rubygems” require ‘rubygems’ puts Time.now.to\_s + “activerecord” require ‘active\_record’ puts Time.…

---

## [Using Ruby types in .NET: anything to watch out for?](https://www.ruby-forum.com/t/using-ruby-types-in-net-anything-to-watch-out-for/194476)

<div class="topic-metadata">

**Author:** [@Davy\_B](https://www.ruby-forum.com/u/Davy_B)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/using-ruby-types-in-net-anything-to-watch-out-for/194476 "2010-09-06T16:39:39Z")

</div>

Hi all, first of all: thanks for this great project and the effort you’ve put into it, it’s very much appreciated :slight\_smile: I plan on making extensive use of ruby object instances in my .NET code. With that i m…

---

## [Could not load file or assembly Mircrosoft.Scripting"](https://www.ruby-forum.com/t/could-not-load-file-or-assembly-mircrosoft-scripting/193846)

<div class="topic-metadata">

**Author:** [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Replies:** 3\
**Last updated:** [September 6, 2010, 11:47am UTC](https://www.ruby-forum.com/t/could-not-load-file-or-assembly-mircrosoft-scripting/193846 "2010-09-06T11:47:20Z")

</div>

Even after googling I could not solve the below problem when I try to run ruby script from C# .NET using VS2010. Please help Could not load file or assembly ‘Microsoft.Scripting, Version=0.9.6.20, Culture=neutral, Pub…

---

## [Mscorlib:0:in \`ThrowArgumentException' error](https://www.ruby-forum.com/t/mscorlibin-throwargumentexception-error/193018)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 6\
**Last updated:** [September 6, 2010, 12:59am UTC](https://www.ruby-forum.com/t/mscorlibin-throwargumentexception-error/193018 "2010-09-06T00:59:54Z")

</div>

Hi all, I’m having an error that I can’t figure out what it is: This portion of code works perfectly by itself config = \[{:QuantityPer =\> “#{2+2}”}\] config.each { |xx| if xx\[:QuantityPer\].include? ‘#{’ then xxx = xx\[…

---

## [Ironruby on Rails with SQL Azure](https://www.ruby-forum.com/t/ironruby-on-rails-with-sql-azure/194205)

<div class="topic-metadata">

**Author:** [@writeameer](https://www.ruby-forum.com/u/writeameer)\
**Replies:** 7\
**Last updated:** [September 2, 2010, 6:11pm UTC](https://www.ruby-forum.com/t/ironruby-on-rails-with-sql-azure/194205 "2010-09-02T18:11:02Z")

</div>

Hello Everyone, I’m trying to connect a vanilla rails application running on IronRuby to SQLAzure. The rails app is running on my laptop trying to connect to SQL Azure. When I point database.yml against my local inst…

---

## [Multipart form posted failed in IIS 7](https://www.ruby-forum.com/t/multipart-form-posted-failed-in-iis-7/194220)

<div class="topic-metadata">

**Author:** [@jwhardcastle](https://www.ruby-forum.com/u/jwhardcastle)\
**Replies:** 1\
**Last updated:** [September 2, 2010, 3:58am UTC](https://www.ruby-forum.com/t/multipart-form-posted-failed-in-iis-7/194220 "2010-09-02T03:58:40Z")

</div>

Hopefully I can explain it well: I am testing a rails app in IIS 7. (Windows 7, IIS 7, .NET 3.5, Rails 2.3.5, Rack 1.0, IronRuby 1.0, IronRack compiled from IronRuby 1.0 source from github) Now If I add enctype=“mult…

---

## [KCoding fix for Silverlight build (issue #5093)](https://www.ruby-forum.com/t/kcoding-fix-for-silverlight-build-issue-5093/194203)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 2\
**Last updated:** [September 1, 2010, 10:01am UTC](https://www.ruby-forum.com/t/kcoding-fix-for-silverlight-build-issue-5093/194203 "2010-09-01T10:01:15Z")

</div>

Here’s my fix for a bug in the Silverlight build (issue #5093http://ironruby.codeplex.com/workitem/5093 ): 690730950522e4e65a0chttp://github.com/cstrahan/ironruby/commit/690730950522e4e65a0c069796dba2bb9300e60f -Char…

---

## [Fix for issue #4946](https://www.ruby-forum.com/t/fix-for-issue-4946/194011)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 0\
**Last updated:** [August 27, 2010, 11:00pm UTC](https://www.ruby-forum.com/t/fix-for-issue-4946/194011 "2010-08-27T23:00:56Z")

</div>

Here’s my fix for issue #4946 http://ironruby.codeplex.com/workitem/4946: da1abbdba748f0ebdb52http://github.com/cstrahan/ironruby/commit/da1abbdba748f0ebdb5282f8557549bf260ffd61 However, I’m curious if that’s just sid…

---

## [Configuration Management](https://www.ruby-forum.com/t/configuration-management/193847)

<div class="topic-metadata">

**Author:** [@beer](https://www.ruby-forum.com/u/beer)\
**Replies:** 2\
**Last updated:** [August 25, 2010, 3:46pm UTC](https://www.ruby-forum.com/t/configuration-management/193847 "2010-08-25T15:46:18Z")

</div>

Hello all. I wanted to use Puppy to maintain configuration for some Windows servers, but apparently the port is not mature yet on Win32. So, I’m thinking of implementing it myself. My needs are simple: copy files ov…

---

## [Error with Rails and DBI::Date](https://www.ruby-forum.com/t/error-with-rails-and-dbi-date/188429)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 5\
**Last updated:** [August 25, 2010, 12:13am UTC](https://www.ruby-forum.com/t/error-with-rails-and-dbi-date/188429 "2010-08-25T00:13:46Z")

</div>

Hi guys, I’m on a new computer and I’m trying to run rails (via IronRuby) for the first time here. I have installed the rake, rails and activerecord-adonet-sqlserver gems, added the config.gem line to environment.rb …

---

## [Review: more miscellaneous fixes](https://www.ruby-forum.com/t/review-more-miscellaneous-fixes/193689)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 1\
**Last updated:** [August 22, 2010, 1:26pm UTC](https://www.ruby-forum.com/t/review-more-miscellaneous-fixes/193689 "2010-08-22T13:26:54Z")

</div>

Next bunch of fixes: Comparing 793effd...e7492dc · nrk/ironruby · GitHub (see also the attached diff): e7492dc Make a minor style change. 35d6011 Set taint and trust flags on the resulting packed string in Array#pac…

---

## [Review: miscellaneous fixes](https://www.ruby-forum.com/t/review-miscellaneous-fixes/193632)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 4\
**Last updated:** [August 22, 2010, 11:55am UTC](https://www.ruby-forum.com/t/review-miscellaneous-fixes/193632 "2010-08-22T11:55:36Z")

</div>

Hi, today I’ve finally started fixing some failing specs in the core libraries of IronRuby (well actually I spent most of the time reviewing the smaller changes between MRI 1.8 and 1.9 and reading some parts of the s…

---

## [Code Review: 19compat](https://www.ruby-forum.com/t/code-review-19compat/191863)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 3\
**Last updated:** [August 20, 2010, 7:27pm UTC](https://www.ruby-forum.com/t/code-review-19compat/191863 "2010-08-20T19:27:49Z")

</div>

tfpt review “/shelveset:19compat;REDMOND\\tomat” Comment : Adds LibraryPath19 option. This option allows to set paths to 1.9 libs and is used in -1.9 mode. Implements Kernel#trusted?, Kernel#trust, Kernel#untrust. Th…

---

## [Activerecord-sqlserver-adapter and Rails 3](https://www.ruby-forum.com/t/activerecord-sqlserver-adapter-and-rails-3/193573)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 6\
**Last updated:** [August 19, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/activerecord-sqlserver-adapter-and-rails-3/193573 "2010-08-19T23:55:19Z")

</div>

Does activerecord-sqlserver-adapter work with Rails 3 RC? I get bunch of warning and then an exception: D:\\temp\>ruby -v adapter.rb ruby 1.9.1p378 (2010-01-10 revision 26273) \[i386-mingw32\] D:/M2/dlr/External.LCA\_RES…

---

## [Code Review: G19.Final](https://www.ruby-forum.com/t/code-review-g19-final/193396)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 9\
**Last updated:** [August 19, 2010, 10:04pm UTC](https://www.ruby-forum.com/t/code-review-g19-final/193396 "2010-08-19T22:04:38Z")

</div>

tfpt review “/shelveset:G19.Final;REDMOND\\tomat” Comment : Implements many 1.9 features and changes: Syntax - should now be fully compatible with 1.9.2. Semantics - many fixes, some features still not completed: o …

---

## [\[patch\] Fix for RubyModule.LoadNestedTypes](https://www.ruby-forum.com/t/patch-fix-for-rubymodule-loadnestedtypes/193441)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 1\
**Last updated:** [August 17, 2010, 8:41pm UTC](https://www.ruby-forum.com/t/patch-fix-for-rubymodule-loadnestedtypes/193441 "2010-08-17T20:41:45Z")

</div>

Hey, In the ClrGenerics3 scenario: public class ClassWithNestedGenericTypes1 { public class D { } public class C { public int Id { get { return 0; } } } public …

---

## [IronRuby MVC and MVC 2.0](https://www.ruby-forum.com/t/ironruby-mvc-and-mvc-2-0/193341)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 9:11am UTC](https://www.ruby-forum.com/t/ironruby-mvc-and-mvc-2-0/193341 "2010-08-16T09:11:01Z")

</div>

Hi Thanks to Ryan IronrubyMVC now runs on asp.net mvc 2.0. I’ve pushed this to my master branch. Met vriendelijke groeten - Best regards - Salutations Ivan Porto C. Author of IronRuby in Action (http://manning.com…

---

## [\[ironruby-core\] Installing Rails plugins](https://www.ruby-forum.com/t/ironruby-core-installing-rails-plugins/193209)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 4\
**Last updated:** [August 14, 2010, 8:37am UTC](https://www.ruby-forum.com/t/ironruby-core-installing-rails-plugins/193209 "2010-08-14T08:37:29Z")

</div>

I’m trying to install a Rails plugin from github using IronRuby 1.1. Unfortunately, all I can get is: C:\\sample\>ir -S script/plugin install git:// github.com/technoweenie/restful-authentication.git Plugin not found: …

---

## [Code Review: MSpecEscapingBug](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193203)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 3:52am UTC](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193203 "2010-08-13T03:52:30Z")

</div>

This one actually works :slight\_smile: tfpt review “/shelveset:MSpecEscapingBug;REDMOND\\tomat” Tags are not escaped/unescaped correctly. Tomas

---

## [Code Review: MspecEscapingBug](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193201)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 1:31am UTC](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193201 "2010-08-13T01:31:27Z")

</div>

tfpt review “/shelveset:MspecEscapingBug;REDMOND\\tomat” Comment : Tags are not escaped/unescaped correctly. Tomas

---

## [Script Validation](https://www.ruby-forum.com/t/script-validation/193169)

<div class="topic-metadata">

**Author:** [@Thorsten\_Hans](https://www.ruby-forum.com/u/Thorsten_Hans)\
**Replies:** 3\
**Last updated:** [August 12, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/script-validation/193169 "2010-08-12T18:05:15Z")

</div>

Hi, I’m currently hosting IronRuby within a C# Application. Is there any way to validate the IronRuby scripts that will be invoked by the DLR? For example I’d like to prevent users from executing scripts that includ…

---

## [Using List boxes and Combo Boxes in Ruby on Steel](https://www.ruby-forum.com/t/using-list-boxes-and-combo-boxes-in-ruby-on-steel/193154)

<div class="topic-metadata">

**Author:** [@navin](https://www.ruby-forum.com/u/navin)\
**Replies:** 0\
**Last updated:** [August 12, 2010, 8:32am UTC](https://www.ruby-forum.com/t/using-list-boxes-and-combo-boxes-in-ruby-on-steel/193154 "2010-08-12T08:32:34Z")

</div>

I have just started using Ruby on Steel to create GUI When I simply drag and drop a list box and add some items in the Form and then click Ruby Run Menu, I get the following error message :0:in InitializeComponent': …

---

## [Should Kernel.require accept Assembly instances?](https://www.ruby-forum.com/t/should-kernel-require-accept-assembly-instances/192850)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 9\
**Last updated:** [August 11, 2010, 12:32am UTC](https://www.ruby-forum.com/t/should-kernel-require-accept-assembly-instances/192850 "2010-08-11T00:32:37Z")

</div>

What would you all think of having the ability to require a given Assembly? I think this could be useful when compiling code in memory, in which case there isn’t a path to give Kernel.require. If this is something w…

---

## [IronRubyMvc Update](https://www.ruby-forum.com/t/ironrubymvc-update/192903)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 2\
**Last updated:** [August 8, 2010, 5:43am UTC](https://www.ruby-forum.com/t/ironrubymvc-update/192903 "2010-08-08T05:43:48Z")

</div>

I just updated IronRubyMvc to IronRuby 1.0 (I know 1.1 is out, but I wanted this thing working, and I only had 1.0 for .NET 2.0) and ASP.NET MVC 2.0. Please feel free to test it out: GitHub - panesofglass/ironrubymv…

---

## ["can't convert Subclass\_..." when isolating an interface](https://www.ruby-forum.com/t/cant-convert-subclass-when-isolating-an-interface/192707)

<div class="topic-metadata">

**Author:** [@nieve](https://www.ruby-forum.com/u/nieve)\
**Replies:** 8\
**Last updated:** [August 5, 2010, 8:53am UTC](https://www.ruby-forum.com/t/cant-convert-subclass-when-isolating-an-interface/192707 "2010-08-05T08:53:16Z")

</div>

Hello all, I’ve been trying to use caricature to stub my services in my controllers tests, now when I try to test this code: public TestController(ITestService service) { \_service = service; } when my interface is…

---

## [Fwd: "can't convert Subclass\_..." when isolating an interface](https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192753)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 2\
**Last updated:** [August 5, 2010, 5:13am UTC](https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192753 "2010-08-05T05:13:48Z")

</div>

try doing ITestService.isolate or isolation\_for ITestService Met vriendelijke groeten - Best regards - Salutations Ivan Porto C. Author of IronRuby in Action (http://manning.com/carrero) Microsoft IronRuby/C# MVP

---

## [Fwd: "can't convert Subclass\_..." when isolating an interface](https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192752)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192752 "2010-08-04T23:41:20Z")

</div>

I just looked at your sample project It’s best to require spec before caricature because caricature hooks into spec The IHomeRepository interface is empty. Try adding a method to that and see if it still occurs. y…

---

## [Code Review: Fix Silverlight builds](https://www.ruby-forum.com/t/code-review-fix-silverlight-builds/192562)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 1\
**Last updated:** [August 4, 2010, 4:09am UTC](https://www.ruby-forum.com/t/code-review-fix-silverlight-builds/192562 "2010-08-04T04:09:47Z")

</div>

http://github.com/jschementi/ironruby/commit/e806c00a47e8620385defa348dd702fa35b91430 Add required Silverlight 3 and 4 runtime and SDK binaries so Silverlight builds can occur without having those Silverlight versions …

---

## [IronRuby & Microsoft.Scripting.Debugging](https://www.ruby-forum.com/t/ironruby-microsoft-scripting-debugging/192554)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 2\
**Last updated:** [August 2, 2010, 5:51pm UTC](https://www.ruby-forum.com/t/ironruby-microsoft-scripting-debugging/192554 "2010-08-02T17:51:26Z")

</div>

Hello, What is the current plan for supporting Microsoft.Scripting.Debugging in IronRuby? I’d like to implement ruby-debug-base, so I may eventually get to ruby-debug-ide (IR support in RubyMine, woot!). Could IronR…

---

## [IronRuby Rake and -X:PrivateBrowsing](https://www.ruby-forum.com/t/ironruby-rake-and-x-privatebrowsing/192548)

<div class="topic-metadata">

**Author:** [@kevben](https://www.ruby-forum.com/u/kevben)\
**Replies:** 0\
**Last updated:** [August 1, 2010, 9:44pm UTC](https://www.ruby-forum.com/t/ironruby-rake-and-x-privatebrowsing/192548 "2010-08-01T21:44:39Z")

</div>

I’m trying to setup a Rake script to run all my IronRuby rspec tests. The tests need to have access to internal constructors and methods. IronRuby supports this with the -X:PrivateBinding switch on ir.exe. So, for exa…

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

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