Get CPK running on active record 4.1
Fix up create, some changes for update.
Fix join association on Active Record 4.1.x

Update the overridden build_constraint method to match changes made in
Active Record 4.1.0.
Loosen constraint on 4.1.0.rc2 to be >=4.1.0.rc2
Fix DEFAULT_ENV

DEFAULT_ENV moved from ActiveRecord::Base to
ActiveRecord::ConnectionHandling in 4.1.
Merge pull request #189 from simonsouth/bug/fix-join-association-on-ar-4.1.x

Fix join association on Active Record 4.1.x
Update dependency to 4.1.0

Specifically:
  'activerecord', '>=4.1.0'
Fix exception raised in method "id="

Below exception was raised.
lib/composite_primary_keys/composite_arrays.rb:19:in `parse': Unsupported type: 0 (ArgumentError)

It's because new_id 0 was returned in below code.

 74       def create_record(attribute_names = nil)$
 75         record_timestamps!$
 76         attribute_names ||= keys_for_partial_write$
 77         attributes_values = arel_attributes_with_values_for_create(attribute_names)$
 78 
 79         new_id = self.class.unscoped.insert attributes_values$
 80         self.id = new_id if self.class.primary_key$
fix postgres db migration failure since no result is returned in this case
Merge pull request #194 from justin808/ar_4.1.x

Loosen constraint on 4.1.0.rc2
Merge pull request #197 from seashell-qd/master

Fix exception raised in method "id=" when inserting new record and postgres db migration failure (issue #196)
Fixes to ensure that has_one associations work correctly
Merge conflict resolution in master
Removed debugging output
Version bump
Don't refer to deprecated set_primary_keys in README
Update for changes to ActiveRecord::FinderMethods#exists?
Update PostgreSQLAdapter#last_inasert_id for railsx 4.1.0
Update JoinDependency#instantiate for rails 4.1.0
Update Associations::Preloader::Association for rails 4.1.0