[Ironruby-core] overriding indexers

2010-01-03 Thread Ivan Porto Carrero
Hi A while ago there were the methods __getitem__ and __setitem__ which allowed to override an indexer. I can't find these methods anymore and I also can't find a way to override an indexer. namespace ClrModels { public class IndexerContained{ private Dictionary _inner = new Diction

[Ironruby-core] Newwer to Ironruby/ruby

2010-01-03 Thread Sam Clopton
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

Re: [Ironruby-core] Newwer to Ironruby/ruby

2010-01-03 Thread Shri Borde
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/S

Re: [Ironruby-core] Newwer to Ironruby/ruby

2010-01-03 Thread Jimmy Schementi
Actually, I have already spent some time figuring out the correct instructions, but have not posted yet. I'd like as much help, so Sam, I'd like as much feedback as you can provide. For SQLServer, the mssql adapter is no longer being maintained, and the pointers Shri gave are the preferred way