[Ironruby-core] Newwer to Ironruby/ruby

Shri Borde Shri.Borde at microsoft.com
Mon Jan 4 02:03:45 EST 2010

For SQL Server, you are better off using ironruby-dbi + sqlserver_adapter as mentioned in the attached email. Ivan has already fixed a number of SQL issues in ironruby-dbi. Usage is not streamlined yet though. See http://github.com/ironruby/ironruby/blob/master/Merlin/Main/Languages/Ruby/Tests/Scripts/ActiveRecordTests.rb for hints on how to set things up.

I have added a rough note about this to http://ironruby.net/Documentation/Real_Ruby_Applications/Rails, but the instructions need to be flushed out more. Will be great if you can help flush this out...

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Sam Clopton
Sent: Sunday, January 03, 2010 9:17 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Newwer to Ironruby/ruby

Hey, I have a couple questions dealing with a couple modifications I did
to eliminate errors I was receiving while using rails on IronRuby.
First, mssql_adapter.rb:
In the execute method I commented out set_identity_insert_on and
set_identity_insert_off.  Why is the adapter turning on
set_identitty_insert for columns that end in _id?  Isn't it standard in
rails for foreign keys to end in _id?

Next, in rack-1.0.1\lib\rack\response.rb:
On line 63 in the set_cookie method, the clone method doesn't exist.

Has anyone else experienced similar problems?
I just commented out the set_identity sections in execute.  In
set_cookie, I removed clone and it seemed to work.

Does anyone have better patches or work-arounds than what I have done?

Posted via http://www.ruby-forum.com/.
Ironruby-core mailing list
Ironruby-core at rubyforge.org

-------------- next part --------------
An embedded message was scrubbed...
From: Shri Borde <Shri.Borde at microsoft.com>
Subject: Re: [Ironruby-core] ActiveRecord update
Date: Tue, 11 Aug 2009 19:30:58 +0000
Size: 20868
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100104/1031edc6/attachment.mht>

More information about the Ironruby-core mailing list