You cannot post messages because only members can post, and you are not currently a member.
Description:
ActiveRecords in Ruby on Rails are "opinionated" and enforce one primary key per table. Legacy databases are less forgiving of this opinion. http://compositekeys.rubyforge.org is an ActiveRecords extension to support composite primary keys.
|
|
|
Version 5.0.6
|
| |
== 5.0.6 2012-05-20
* Fixed bug where setting a belongs_to association to nil would raise
an error (Tyler Rick)
* Remove special case code for 1 column selects and just choose to use
Rails version of the
method unless we need ours to deal with an Array (Sammy Larbi)
* Change count tests to actually check for distinct, fix resulting... more »
|
|
Tests failing (rake mysql:test)
|
| |
Hi all, I'm trying to debug a problem and thought I would start by running the test suite as a baseline but I'm getting 19 failures when I run rake mysql:test. Are these failures happening for anyone else or is it a problem on my end (and what would it be)? Here's the full output from rake mysql:test:... more »
|
|
Version 5.0.3
|
| |
Just one change in this version:
== 5.0.3 2012-03-23
* Update ActiveRecord::AttributeMethods #Write for Rails 3.2.2
Charlie
|
|
Version 5.0.2
|
| |
Version 5.0.2 of CPK is now available. It is compatible with Rails
3.2.0, 3.2.1 and 3.2.2
Change include:
* Use .rdoc extension on RDoc files (Elia Schito)
* Update documentation to use self.primary_keys instead of
set_primary_keys (Miguel Fonseca)
* Added tests for comparing composite ids (Jim Jones)... more »
|
|
:include doesn't work with v. 2.3.5.1
|
| |
Hi, I'm having a problem with :includes when using composite_primary_keys v. 2.3.5.1 (with Rails v.2.3.10) I have two models: ------ class Member < ActiveRecord::Base set_primary_keys :id, :user_id has_many :member_tags, :foreign_key => [:id, :user_id ] end class MemberTag < ActiveRecord::Base... more »
|
|
Version 5.0.1
|
| |
== 5.0.1 2012-02-13
* Fix deprecation warning that was exactly backwards (Tom Hughes)
* Fix primary_keys handling in models that inherit from other models
but don't redefine their primary_key. Problem was the inherited
models didn't correctly reference their parents primary_keys
(Charlie Savage)... more »
|
|
Version 5.0.0 for AR 3.2
|
| |
Hi everyone,
I've just pushed up a new release to rubygems.org that works with
ActiveRecord 3.2. Change log:
* Fix tests so they pass on MySql (Charlie Savage)
* Fix calculations to work with duplicate column names (cleesmith)
* Switch rake tasks for Postgresql and MySql to use ActiveRecord API... more »
|
|
Version 4.1.2
|
| |
Hi everyone,
Version 4.1.2 of CPK has just been released. It contains fixes for
Oracle support thanks to Rhett Sutphin.
== 4.1.2 2012-01-12
* Helper to allow the same tests to be used for both Oracle and other
DBs
by replacing quoted identifiers with all-caps equivalents on Oracle
(Rhett Sutphin)... more »
|
|
|