Tutorial :Guidance with SQLite-ruby in IronRuby



Question:

What is the approach to get SQLite-ruby working in IronRuby?


Solution:1

There's an sqlite3-ironruby gem which was recently released, and it's on gemcutter

The source is here on gitub


Solution:2

How are wanting to use sqlite in your ironruby project?


Solution:3

you won't be able to use activerecord as is.

You can either wrap the ADO.NET provider for SQLite or you can perhaps help with the ironruby-dbi project and provide a dbi adapter that handles sqlite correctly. From then on adding it to rails is easy as it would require replacing the connection with the dbi connection.

It is a work in progress though and at this moment most efforts have been around sql server, but I too would like to get sqlite working properly on IronRuby with rails. link text


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »