Permalink
Commits on Mar 24, 2009
  1. Release 2.2.15 version.

    metaskills committed Mar 24, 2009
  2. Better add_lock! method that can add the lock to just about all the e…

    metaskills committed Mar 24, 2009
    …lements in the statement. This could be eager loaded associations, joins, etc. Done so that paginated results can easily add lock options for performance. Note, the tally count in add_limit_offset! use "WITH (NOLOCK)" explicitly as it can not hurt and is needed.
Commits on Mar 17, 2009
  1. Rails2.3 - Back passing tests on 2.2 work. Includes: (1) Created new …

    metaskills committed Mar 17, 2009
    …test helpers that check ActiveRecord version strings so we can conditionally run 2.2 and 2.3 tests. (2) Making TransactionTestSqlserver use Ship vs Bird model. Also made it conditional run a few blocks for different versions of ActiveRecord. (3) Previous JoinDependency#aliased_table_name_for is now only patched in ActiveRecord equal or greater than 2.3.
  2. Rails2.3 - Coerce NestedScopingTest#test_merged_scoped_find to use co…

    metaskills committed Mar 17, 2009
    …rrect regexp for adapter.
  3. Rails2.3 - Implement a custom ActiveRecord::Associations::ClassMethod…

    metaskills committed Mar 17, 2009
    …s::JoinDependency::JoinAssociation#aliased_table_name_for method that uses a Regexp.escape so that table/column quoting does not get ignored.
  4. Rails2.3 - Implement #outside_transaction? and a new transaction test…

    metaskills committed Mar 17, 2009
    … case to test some SQL Server basic support while implementing this method. Future home of some savepoint tests too.
  5. Rails2.3 - Coerced tests that ensure hash conditions on referenced ta…

    metaskills committed Feb 10, 2009
    …bles are considered when eager loading with limit/offset. Information on these changes and the ticket in rails are.
  6. Rails2.3 - Add coerced tests for true/false attributes in selects use…

    metaskills committed Feb 10, 2009
    … SQL Server case statement.
Commits on Mar 16, 2009
  1. Making sure that smalldatetime types are OK to use. Also fixed a bug …

    metaskills committed Mar 16, 2009
    …in the #view_information method that checks to see if a view definition is equal to 4000 chars, meaning that it is most likely truncated and needs to use the backup method of sp_helptext to get it's view definition.
Commits on Feb 10, 2009
  1. Update #indexes to use unqualified table name. Fixes cases where user…

    metaskills committed Feb 10, 2009
    …s may decide to use table name prefixes like 'dbo.'. Move to version 2.2.13
Commits on Feb 9, 2009
  1. Release version 2.1.12 gem.

    metaskills committed Feb 9, 2009
Commits on Jan 23, 2009
Commits on Jan 22, 2009
  1. Bad file name in gemspec.

    metaskills committed Jan 22, 2009
  2. Add a rails-sqlserver-2000-2005-adapter.rb file so that long :lib opt…

    metaskills committed Jan 22, 2009
    …ion for config.gem is no longer needed.
  3. Add a rails-sqlserver-2000-2005-adapter.rb file so that long :lib opt…

    metaskills committed Jan 22, 2009
    …ion for config.gem is no longer needed.
  4. Update version to 2.2.9

    metaskills committed Jan 22, 2009
  5. Fixing a small bug in the deprecated DBI::Timestamp conversion so it …

    metaskills committed Jan 22, 2009
    …correctly converts nanosecond whole numbers to back to pre type cast SQL Server milliseconds, ultimately allow ruby's Time#usec which is microseconds to be correct.
  6. Adding CHANGELOG notes for previous view definition fix. Also update …

    metaskills committed Jan 22, 2009
    …assert failuer notes to denote Time#usec as microseconds.
  7. Sometimes views are more than 4000 chars long and will return NULL fo…

    metaskills committed Jan 22, 2009
    …r the VIEW_DEFINITION. If so, use sp_helptext as a backup method.
Commits on Jan 9, 2009
  1. Create version 2.2.7.

    metaskills committed Jan 9, 2009
  2. Created a connection#execute_procedure method that takes can take any…

    metaskills committed Jan 9, 2009
    … number of ruby objects as variables and quotes them according to the connection's rules. Also added an ActiveRecord::Base class level core extension that hooks into this. It also checks if the connection responds to #execute_procedure and if not returns an empty array.
  3. Added a #enable_default_unicode_types class attribute access to make …

    metaskills committed Jan 9, 2009
    …all new added or changed string types like :string/:text default to unicode/national data types. See the README for full details. Added a rake task that assists setting this to true when running tests.
Commits on Jan 8, 2009
Commits on Jan 5, 2009
  1. Release 2.2.5 version/gem.

    metaskills committed Jan 5, 2009
  2. Added a log_info_schema_queries class attribute and make all queries …

    metaskills committed Jan 5, 2009
    …to INFORMATION_SCHEMA silent by default.
Commits on Jan 4, 2009
  1. Update README to direct SQL Server 2005 users on how to customize the…

    metaskills committed Jan 4, 2009
    …ir native_text_database_type away from varchar(max).
  2. Fix millisecond support in datetime columns. ODBC::Timestamp incorrec…

    metaskills committed Jan 4, 2009
    …tly takes SQL Server milliseconds and applies them as nanoseconds. We cope with this at the DBI layer by using SQLServerDBI::Type::SqlserverTimestamp class to parse the before type cast value appropriately. Also update the adapters #quoted_date method to work more simply by converting ruby's #usec milliseconds to SQL Server microseconds.