README.rdoc in composite_primary_keys-9.0.10 vs README.rdoc in composite_primary_keys-10.0.0

- old
+ new

@@ -10,24 +10,25 @@ gem install composite_primary_keys If you are using Rails add the following to your Gemfile: - gem 'composite_primary_keys', '=x.x.x' (see next section about what verison to use) + gem 'composite_primary_keys', '=x.x.x' (see next section about what version to use) == Versions Every major version of ActiveRecord has included numerous internal changes. As a result, CPK has to be rewritten for each version of ActiveRecord. To help keep things straight, here is the mapping: - Version 9.x is designed to work with ActiveRecord 5.0.x - Version 8.x is designed to work with ActiveRecord 4.2.x - Version 7.x is designed to work with ActiveRecord 4.1.x - Version 6.x is designed to work with ActiveRecord 4.0.x - Version 5.x is designed to work with ActiveRecord 3.2.x - Version 4.x is designed to work with ActiveRecord 3.1.x + Version 10.x is designed to work with ActiveRecord 5.1.x (note this is in progress) + Version 9.x is designed to work with ActiveRecord 5.0.x + Version 8.x is designed to work with ActiveRecord 4.2.x + Version 7.x is designed to work with ActiveRecord 4.1.x + Version 6.x is designed to work with ActiveRecord 4.0.x + Version 5.x is designed to work with ActiveRecord 3.2.x + Version 4.x is designed to work with ActiveRecord 3.1.x Run the following command to list available versions: gem list composite_primary_keys -ra @@ -153,11 +154,11 @@ The sqlite database is created at the path composite_primary_keys/db. Note you must *first* create the database using the built-in rake task before running tests: rake sqlite:build_database -Note not all tests currently pass on sqlite3. These failures happen when trying to DELETE records where the query -includes a JOIN. +For sqlite3 to work correctly, you must manually require 'composite_primary_keys/connection_adapters/sqlite3_adapter' after +loading the CPK gem. === SqlServer SqlServer is partially supported. There are a number of failing tests - patches welcomed.