Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2011-04-01 Thread Ken Collins
The Latest v3 SQL Server Adapter now supports Azure http://groups.google.com/group/rails-sqlserver-adapter/browse_thread/thread/50dc2108c4fda584?hl=en You must use the latest DBLIB/TinyTDS connection mode which also means you must use the latest FreeTDS compiled with OpenSSL. All the details are

Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2010-09-08 Thread Ameer Deen
Summarized my learnings here: http://www.cloudartisan.com/2010/09/ironruby-on-rails-on-azure-part-2-of-3-%E2%80%93-connecting-your-rails-app-to-sqlazure/ Ameer Deen twitter.com/writeameer Will Green wrote: > Should probably change the RegExp to match after the dash (10.x.x.x), > and > use that

Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2010-09-02 Thread Will Green
Should probably change the RegExp to match after the dash (10.x.x.x), and use that as the version, rather than, e.g., 2008, 2005, 2000, etc. -- Will Green http://hotgazpacho.org/ On Thu, Sep 2, 2010 at 7:54 AM, Ameer Deen wrote: > Got it. There's a small issue with sqlserver_adapter.rb and the

Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2010-09-02 Thread Ameer Deen
Got it. There's a small issue with sqlserver_adapter.rb and the way Micrsoft Azure advertises it's version. There is a database_year function that tries to determine the version of SQL Server from the output of the following query: "SELECT @@version" For Non Azure SQL Server databases, the out

Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2010-09-01 Thread Ameer Deen
I was using this tutorial to get ironruby on rails running: http://ironruby.net/documentation/rails which uses the activerecord-sqlserver-adapter. I'm running rails 2.3.8. Ameer. -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing li

Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2010-09-01 Thread Ameer Deen
Hi there Orion, Firstly, thanks very much for the prompt reply! I tried using IronRuby to query against my local sql server and SQL Azure. I'm a Ruby noob but I've listed below what I used. I'm able to query against both SQL servers and obtain the time and servername using Transact-SQL. As men

Re: [Ironruby-core] Ironruby on Rails with SQL Azure

2010-08-31 Thread Orion Edwards
My guess is that SQL Azure doesn't follow quite the same protocol as normal SQL Server. As I don't have a SQL azure account, I can't play around with it myself, but I'd suggest trying to get a simple command line version of IronRuby up and running and see if you can use the raw sqlserver adapter to

[Ironruby-core] Ironruby on Rails with SQL Azure

2010-08-31 Thread Ameer Deen
Hello Everyone, I'm trying to connect a vanilla rails application running on IronRuby to SQLAzure. The rails app is running on my laptop trying to connect to SQL Azure. When I point database.yml against my local instance, I'm able to communicate with SQL Server: development: mode: ADONET ada