Groups
Sign in
Groups
Composite Keys for ActiveRecord
Conversations
About
Send feedback
Help
Composite Keys for ActiveRecord
Contact owners and managers
1–30 of 301
Mark all as read
Report group
0 selected
Damian Giebas
,
Lori M Olson
2
7/14/15
Composite primary keys doesn't work as foreign key.
has_many :data_areas, class_name: SynchronizationReport::DataArea, dependent: :delete_all You are
unread,
Composite primary keys doesn't work as foreign key.
has_many :data_areas, class_name: SynchronizationReport::DataArea, dependent: :delete_all You are
7/14/15
cfis
5/27/14
Retiring Group
I'd like to retire this Google Group. Please submit issues, questions at the Github site: https:/
unread,
Retiring Group
I'd like to retire this Google Group. Please submit issues, questions at the Github site: https:/
5/27/14
Eduardo Puente
,
cfis
2
5/27/14
problem with composite keys with strings
Hi Eduardo, Please move this over to Github. Also, whate version of ActiveRecord and CPK? Charlie On
unread,
problem with composite keys with strings
Hi Eduardo, Please move this over to Github. Also, whate version of ActiveRecord and CPK? Charlie On
5/27/14
cfis
5/27/14
Version 7.0 - AR 4.1 support
Version 7.0 is now available with support for ActiveRecord 4.1. Give a try and submit any issues at:
unread,
Version 7.0 - AR 4.1 support
Version 7.0 is now available with support for ActiveRecord 4.1. Give a try and submit any issues at:
5/27/14
cfis
5/27/14
Version 6.0.6
Version 6.0.6 is a minor release that includes updates for ActiveRecord 4.0.x support.
unread,
Version 6.0.6
Version 6.0.6 is a minor release that includes updates for ActiveRecord 4.0.x support.
5/27/14
Shailendra Jain
2
5/12/14
composite_primary_keys rails server fail to start
I tried using the solution suggested at http://stackoverflow.com/questions/11023167/no-such-file-to-
unread,
composite_primary_keys rails server fail to start
I tried using the solution suggested at http://stackoverflow.com/questions/11023167/no-such-file-to-
5/12/14
Kevin Bullock
, …
Elise Wood
3
12/7/13
Can't have 'id' automatically chosen when using CPK?
Here's a hack I used in the one model I have that has this setup table definition: CREATE TABLE
unread,
Can't have 'id' automatically chosen when using CPK?
Here's a hack I used in the one model I have that has this setup table definition: CREATE TABLE
12/7/13
Brendan Billingsley
2
9/19/13
Incorrect quoting of primary keys in postgres on insert
I resolved this. My problem was that the composite_primary_keys gem dependency was moved to the gem
unread,
Incorrect quoting of primary keys in postgres on insert
I resolved this. My problem was that the composite_primary_keys gem dependency was moved to the gem
9/19/13
Emmanuel Mathews
7/17/13
Nested Attributes Duplication
I have a duplication problem when using the accepts nested attributes method. I have an app thats an
unread,
Nested Attributes Duplication
I have a duplication problem when using the accepts nested attributes method. I have an app thats an
7/17/13
Patrick Barnes
7/10/13
cannot load such file -- active_record/associations/association_proxy.rb
Hi, I'm pretty new to Rails, but I'm trying to use CPK with the active_nutrition gem. Both of
unread,
cannot load such file -- active_record/associations/association_proxy.rb
Hi, I'm pretty new to Rails, but I'm trying to use CPK with the active_nutrition gem. Both of
7/10/13
Jan Bromberger
6/18/13
update_all with order fails
Hi Dr.! when I use order with update_all, i get: TypeError: can't convert CompositePrimaryKeys::
unread,
update_all with order fails
Hi Dr.! when I use order with update_all, i get: TypeError: can't convert CompositePrimaryKeys::
6/18/13
cfis
4/28/13
Version 5.0.13
== 5.0.13 2013-04-27 * Batch query improvements (Jordan Byron) * Support nested attributes (aiasfina
unread,
Version 5.0.13
== 5.0.13 2013-04-27 * Batch query improvements (Jordan Byron) * Support nested attributes (aiasfina
4/28/13
Mike Summers
2
4/1/13
Postgres error on insert
Pilot error, self.primary_key = :state_id, :city_id should of course be self.primary_keys = :state_id
unread,
Postgres error on insert
Pilot error, self.primary_key = :state_id, :city_id should of course be self.primary_keys = :state_id
4/1/13
Omri
, …
Derrell Durrett
8
3/15/13
Migration issues
Tyler: I'm just curious what you may have failed to post. The add_primary_key code is there. Have
unread,
Migration issues
Tyler: I'm just curious what you may have failed to post. The add_primary_key code is there. Have
3/15/13
mvime...@gmail.com
2/25/13
Schema definition/ Migration with composite keys
Any chance to use define composite keys with the ActiveRecord::Schema.define or Migrations? Would be
unread,
Schema definition/ Migration with composite keys
Any chance to use define composite keys with the ActiveRecord::Schema.define or Migrations? Would be
2/25/13
cfis
1/19/13
Version 5.0.11
== 5.0.11 2013-01-19 * Patch HasManyAssociation foreign_key_present? method to work with array of
unread,
Version 5.0.11
== 5.0.11 2013-01-19 * Patch HasManyAssociation foreign_key_present? method to work with array of
1/19/13
Michel Lacle
, …
Jarrod Spillers
5
12/5/12
Composite keys support in nested attributes
I opened an issue for this problem on github along with tests that demonstrate the failure. https://
unread,
Composite keys support in nested attributes
I opened an issue for this problem on github along with tests that demonstrate the failure. https://
12/5/12
Rhett Sutphin
,
Charlie Savage
4
11/27/12
CPK 5.0.10 missing dependencies in rubygems.org dependencies API
An update: this has been fixed as of today. There is more discussion of it here: https://github.com/
unread,
CPK 5.0.10 missing dependencies in rubygems.org dependencies API
An update: this has been fixed as of today. There is more discussion of it here: https://github.com/
11/27/12
cfis
11/22/12
Version 5.0.10
== 5.0.10 2012-11-21 * ActiveRecord 3.2.9 compatability (Tom Hughes, Chris Heald, Jack Tang) * Add
unread,
Version 5.0.10
== 5.0.10 2012-11-21 * ActiveRecord 3.2.9 compatability (Tom Hughes, Chris Heald, Jack Tang) * Add
11/22/12
Mark Bixby
,
cfis
2
11/22/12
belongs_to with composite FK but singular PK?
Hi Mark, Sounds like you have an interesting problem. Where you looking for some particular change in
unread,
belongs_to with composite FK but singular PK?
Hi Mark, Sounds like you have an interesting problem. Where you looking for some particular change in
11/22/12
springbok
,
cfis
2
11/22/12
Problem when using optimistic locking
Hi springbok, stmt = relation.where( relation.table[self.class.primary_key].eq(id).and( relation.
unread,
Problem when using optimistic locking
Hi springbok, stmt = relation.where( relation.table[self.class.primary_key].eq(id).and( relation.
11/22/12
Gary Weaver
,
cfis
2
11/22/12
patch for annotate to support composite_primary_keys
Hi Gary, Thanks for adding support for CPK. Looking at that pull request, looks like there isn't
unread,
patch for annotate to support composite_primary_keys
Hi Gary, Thanks for adding support for CPK. Looking at that pull request, looks like there isn't
11/22/12
toddwf
7/24/12
wrong constant name using set_table_name with oracle schema
Using Rails 3.1.4 and CPK 4.1.2 Rails model Foo with CPK and a table name in oracle of bar.foo... so
unread,
wrong constant name using set_table_name with oracle schema
Using Rails 3.1.4 and CPK 4.1.2 Rails model Foo with CPK and a table name in oracle of bar.foo... so
7/24/12
Marnen Laibow-Koser
7/20/12
"singleton can't be dumped"
Hi there. I just introduced composite_primary_keys into a Rails 3.2.3 application (Ruby 1.9.2p320 on
unread,
"singleton can't be dumped"
Hi there. I just introduced composite_primary_keys into a Rails 3.2.3 application (Ruby 1.9.2p320 on
7/20/12
cfis
7/1/12
Version 5.0.8
== 5.0.8 2012-07-01 * Enabled tests for MS SQL Server (Enderson Maia) * Update establish_connection
unread,
Version 5.0.8
== 5.0.8 2012-07-01 * Enabled tests for MS SQL Server (Enderson Maia) * Update establish_connection
7/1/12
Tom Hughes
,
cfis
2
7/1/12
New release?
Yes, just pushed up version 5.0.8 Charlie
unread,
New release?
Yes, just pushed up version 5.0.8 Charlie
7/1/12
Enderson Maia
6/12/12
Enabled tests for SQL Server
Pull request at: https://github.com/drnic/composite_primary_keys/pull/113 -- Enderson Maia
unread,
Enabled tests for SQL Server
Pull request at: https://github.com/drnic/composite_primary_keys/pull/113 -- Enderson Maia
6/12/12
masterchief
,
Lori M Olson
3
5/31/12
SQL in compkeys save is syntax error for PG
Well, you can enforce uniqueness and presence at the database level, if that helps... On Wednesday,
unread,
SQL in compkeys save is syntax error for PG
Well, you can enforce uniqueness and presence at the database level, if that helps... On Wednesday,
5/31/12
cfis
5/20/12
Version 5.0.6
== 5.0.6 2012-05-20 * Fixed bug where setting a belongs_to association to nil would raise an error (
unread,
Version 5.0.6
== 5.0.6 2012-05-20 * Fixed bug where setting a belongs_to association to nil would raise an error (
5/20/12
Tyler Rick
,
cfis
4
4/26/12
Tests failing (rake mysql:test)
Hey Charlie, Thanks for the reply. postgresql, nice! Yeah, I was quite surprised to see failing tests
unread,
Tests failing (rake mysql:test)
Hey Charlie, Thanks for the reply. postgresql, nice! Yeah, I was quite surprised to see failing tests
4/26/12