composite_primary_keys 2.3.5 → 2.3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/README_DB2.txt +5 -5
- data/lib/composite_primary_keys.rb +1 -1
- data/lib/composite_primary_keys/version.rb +2 -1
- data/local/database_connections.rb.sample +4 -2
- data/tmp/test.db +0 -0
- data/website/index.html +2 -2
- data/website/version-raw.js +1 -1
- data/website/version.js +1 -1
- metadata +3 -3
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 2.3.5.1 2010-02-13
|
2
|
+
|
3
|
+
* Resolved "warning: already initialized constant HasManyThroughCantAssociateThroughHasManyReflection" [Titi Ala'ilima]
|
4
|
+
|
1
5
|
== 2.3.5 2009-12-16
|
2
6
|
|
3
7
|
* Fixed several bugs in has_one and has_many associations when :primary_key specified [kpumuk]
|
data/README_DB2.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
Composite Primary key support for db2
|
2
2
|
|
3
|
-
== Driver Support
|
3
|
+
== Driver Support
|
4
4
|
|
5
5
|
DB2 support requires the IBM_DB driver provided by http://rubyforge.org/projects/rubyibm/
|
6
6
|
project. Install using gem install ibm_db. Tested against version 0.60 of the driver.
|
7
7
|
This rubyforge project appears to be permenant location for the IBM adapter.
|
8
8
|
Older versions of the driver available from IBM Alphaworks will not work.
|
9
9
|
|
10
|
-
== Driver Bug and workaround provided as part of this plugin
|
10
|
+
== Driver Bug and workaround provided as part of this plugin
|
11
11
|
|
12
12
|
Unlike the basic quote routine available for Rails AR, the DB2 adapter's quote
|
13
13
|
method doesn't return " column_name = 1 " when string values (integers in string type variable)
|
@@ -17,16 +17,16 @@ this plugin a fix is provided for the DB2 adapter since this plugin does
|
|
17
17
|
pass string values like this. Perhaps a patch should be sent to the DB2 adapter
|
18
18
|
project for a permanant fix.
|
19
19
|
|
20
|
-
== Database Setup
|
20
|
+
== Database Setup
|
21
21
|
|
22
22
|
Database must be manually created using a separate command. Read the rake task
|
23
23
|
for creating tables and change the db name, user and passwords accordingly.
|
24
24
|
|
25
|
-
== Tested Database Server version
|
25
|
+
== Tested Database Server version
|
26
26
|
|
27
27
|
This is tested against DB2 v9.1 in Ubuntu Feisty Fawn (7.04)
|
28
28
|
|
29
|
-
== Tested Database Client version
|
29
|
+
== Tested Database Client version
|
30
30
|
|
31
31
|
This is tested against DB2 v9.1 in Ubuntu Feisty Fawn (7.04)
|
32
32
|
|
data/tmp/test.db
CHANGED
Binary file
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Composite Primary Keys</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/compositekeys"; return false'>
|
35
35
|
Get Version
|
36
|
-
<a href="http://rubyforge.org/projects/compositekeys" class="numbers">2.3.
|
36
|
+
<a href="http://rubyforge.org/projects/compositekeys" class="numbers">2.3.5.1</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ Ruby on Rails</h1>
|
39
39
|
<h1>→ ActiveRecords</h1>
|
@@ -179,7 +179,7 @@ other stories and things.</p>
|
|
179
179
|
<h2>Contact</h2>
|
180
180
|
<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
|
181
181
|
<p class="coda">
|
182
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
182
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 13th February 2010<br>
|
183
183
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
184
184
|
</p>
|
185
185
|
</div>
|
data/website/version-raw.js
CHANGED
data/website/version.js
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: composite_primary_keys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.5
|
4
|
+
version: 2.3.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-02-13 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.3.3
|
34
34
|
version:
|
35
35
|
description: Composite key support for ActiveRecords
|
36
36
|
email: drnicwilliams@gmail.com
|