README.rdoc in tiny_tds-0.1.0 vs README.rdoc in tiny_tds-0.2.0

- old
+ new

@@ -44,11 +44,11 @@ == TinyTds::Client Usage Connect to a database. - client = TinyTds::Client.new(:user => 'sa', :password => 'secret', :dataserver => 'mytds_box') + client = TinyTds::Client.new(:username => 'sa', :password => 'secret', :dataserver => 'mytds_box') Creating a new client takes a hash of options. For valid iconv encoding options, see the output of "iconv -l". Only a few have been tested and highly recommended to leave blank for the UTF-8 default. * :username - The database server user. * :password - The user password. @@ -140,11 +140,18 @@ == Row Caching By default row caching is turned on because the SQL Server adapter for ActiveRecord would not work without it. I hope to find some time to create some performance patches for ActiveRecord that would allow it to take advantages of lazily created yielded rows from result objects. Currently only TinyTds and the Mysql2 gem allow such a performance gain. +== Using TinyTds With the ActiveRecord SQL Server adapter. +As of version 2.3.11 & 3.0.3 of the adapter, you can specify a :dblib mode in database.yml and use TinyTds as the low level connection mode. Make sure to add a :dataserver option to that matches the name in your freetds.conf file. The SQL Server adapter can be found here. + +http://github.com/rails-sqlserver/activerecord-sqlserver-adapter + + + == Development & Testing We use bundler for development. Simply run "bundle install" then "rake" to build the gem and run the unit tests. The tests assume you have created a database named "tinytds_test" accessible by a database owner named "tinytds". Before running the test rake task, you may need to define a pair of environment variables that help the client connect to your specific FreeTDS database server name and which schema (2000, 2005 or 2008) to use. For example: $ env TINYTDS_UNIT_DATASERVER=mydbserver TINYTDS_SCHEMA=sqlserver_2008 rake @@ -156,20 +163,19 @@ * IRC Room: #rails-sqlserver on irc.freenode.net Current to do list. * Test 0.83 development of FreeTDS. -* Handle multiple result sets. * Find someone brave enough to compile/test for Windows. * Install an interrupt handler. * Allow #escape to accept all ruby primitives. * Get bug reports! == About Me -My name is Ken Collins and I have no love for Microsoft nor do I work on Windows or have I ever owned a PC. I currently maintain the SQL Server adapter for ActiveRecord and wrote this library as my first cut into learning ruby C extensions. Hopefully it will help promote the power of ruby and the rails framework to those that have not yet discovered it. My blog is http://metaskills.net and I can be found on twitter as @metaskills. Enjoy! +My name is Ken Collins and to avoid confusion – I have no love for Microsoft nor do I work on Windows or have I ever owned a PC, just so we know :) – I currently maintain the SQL Server adapter for ActiveRecord and wrote this library as my first cut into learning ruby C extensions. Hopefully it will help promote the power of ruby and the rails framework to those that have not yet discovered it. My blog is http://metaskills.net and I can be found on twitter as @metaskills. Enjoy! == Special Thanks