Re: [Ironruby-core] IR WPF Project, ActiveRecord sqlite3-ironruby writes slow, reads fast

2011-01-08 Thread Sick Boy
I went out of my way and decided to have a look at updating the SQlite dll. It seems the interface has changed since sqlite3-ironruby gem release. I have downloaded and put the Community.CsharpSqlite.dll in the native folder:http://code.google.com/p/csharp-sqlite/downloads/list?can=1&q=&colspec=F

Re: [Ironruby-core] IR WPF Project, ActiveRecord sqlite3-ironruby writes slow, reads fast

2011-01-08 Thread Sick Boy
Only problem i've ran into with this method for now has been the usage of System::Int64 for Primary keys. In a join table it was storing the yaml representation of the Int64 object instead of the proper Integer value, as a quick patch I've applied the following but i'm sure there is a better sa

Re: [Ironruby-core] IR WPF Project, ActiveRecord sqlite3-ironruby writes slow, reads fast

2011-01-08 Thread Tomas Matousek
The driver should convert Int64 to Bignum, using e.g. Kernel#Integer: >>> i64 = System::Int64.new(1) => 1 (Int64) >>> Integer(i64) => 1 >>> Integer(i64).class => Bignum >>> Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforg