HiI have been working with Q and as part of that we wanted to build outan application using Ruby/Rails that interacted with a Q instance.Since the drivers to support connecting from other languages areavailable freely I thought I’d share the one we created.http://github.com/pdodds/q-ruby-driverBasically it is a pure Ruby implementation (and it is still indevelopment as we build out functionality), you can grab the sourceand then install the gem using rake gem:install. This allows for youto connect and interact with Q directly from Ruby. Also it allows forthe use of technologies such as RSpec/Cucumber to allow building up oftestcases for you Q functions - I might write up that approach in ablog post if anyone is interested.You can see the basic tests for the driver inhttp://github.com/pdodds/q-ruby-driver/blob/master/spec/q-ruby-driver_spec.rbfor those interested in the approach.If anyone is interested in learning more or helping out please do pingmeCheersP
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
a new GUI for q | 0 | 2 | January 16, 2009 | |
a new GUI for q | 0 | 1 | January 15, 2009 | |
Jdb + J >= Q? | 3 | 0 | December 14, 2008 | |
Alternative ODBC driver | 2 | 0 | August 5, 2017 | |
API questions | 1 | 0 | August 22, 2010 |