Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Active older topics
7 new of 7 - Apr 26
1 new of 1 - Dec 30 2011
2 new of 2 - Nov 20 2011
1 new of 1 - Nov 3 2011
2 new of 2 - Oct 19 2011
4 new of 4 - Oct 19 2011
3 new of 3 - Sep 21 2011
3 new of 3 - Sep 19 2011
3 new of 3 - Sep 15 2011
3 new of 3 - Aug 31 2011
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 271  Older »

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 »
By cfis  - May 20 - 1 new of 1 message    

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 »
By Tyler Rick  - Apr 26 - 4 new of 4 messages    

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
By cfis  - Mar 23 - 1 new of 1 message    

wrong number of arguments (2 for 0) on first invocation, using bundler without rails 
  class AccountUser < ActiveRecord::Base self.primary_keys :account_id,:user_id end console: ...ArgumentError: wrong number of arguments (2 for 0) /Users/troy/.rvm/gems/ruby-1.9 .3-p0/gems/ composite_primary_keys-5.0.2/l ib/composite_primary_keys/base .rb:10:in `primary_keys' /Users/troy/Projects/node6/wtf /api/models/accounts_users/... more »
By Troy Kruthoff  - Mar 21 - 4 new of 4 messages    

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 »
By cfis  - Mar 16 - 1 new of 1 message    

with multiple databases CKfAR chooses the default connection rather than the connection used to create the SQL 
  Hi I'm using both Postgres and Mysql databases. My default development: connection is with Postgres. The tables that have composite keys use the Mysql connection. When I do something like: c=Category.first;p=Product.fir st;c.products.push(p) where Category and Product have a categories_products join table... more »
By tapestrydude  - Feb 6 - 2 new of 2 messages    

: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 »
By MikeMarsian  - Feb 16 - 2 new of 2 messages    

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 »
By cfis  - Feb 14 - 1 new of 1 message    

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 »
By cfis  - Feb 12 - 1 new of 1 message    

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 »
By cfis  - Jan 12 - 1 new of 1 message    

1 - 10 of 271   « Newer | Older »

XML       Send email to this group: compositekeys@googlegroups.com