composite_primary_keys 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/composite_primary_keys.rb +2 -1
- data/lib/composite_primary_keys/fixtures.rb +4 -3
- data/lib/composite_primary_keys/version.rb +1 -1
- data/test/debug.log +14 -0
- metadata +3 -3
data/History.txt
CHANGED
@@ -46,8 +46,8 @@ require 'active_record/associations/has_one_through_association'
|
|
46
46
|
require 'active_record/associations/through_association_scope'
|
47
47
|
require 'active_record/relation/query_methods'
|
48
48
|
require 'active_record/attribute_methods/primary_key'
|
49
|
+
require 'active_record/fixtures'
|
49
50
|
|
50
|
-
require 'composite_primary_keys/fixtures'
|
51
51
|
require 'composite_primary_keys/composite_arrays'
|
52
52
|
require 'composite_primary_keys/associations'
|
53
53
|
require 'composite_primary_keys/associations/association_proxy'
|
@@ -65,6 +65,7 @@ require 'composite_primary_keys/calculations'
|
|
65
65
|
require 'composite_primary_keys/validations/uniqueness'
|
66
66
|
require 'composite_primary_keys/query_methods'
|
67
67
|
require 'composite_primary_keys/primary_key'
|
68
|
+
require 'composite_primary_keys/fixtures'
|
68
69
|
|
69
70
|
Dir[File.dirname(__FILE__) + '/composite_primary_keys/connection_adapters/*.rb'].each do |adapter|
|
70
71
|
begin
|
data/test/debug.log
CHANGED
@@ -572,4 +572,18 @@ PGError: ERROR: operator does not exist: character varying = integer
|
|
572
572
|
LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
|
573
573
|
^
|
574
574
|
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
|
575
|
+
: SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
|
576
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
577
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
578
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
579
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
580
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
581
|
+
PGError: ERROR: column "tariff_idstart_date" does not exist
|
582
|
+
LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
|
583
|
+
^
|
584
|
+
: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LEFT OUTER JOIN "product_tariffs" ON "product_tariffs"."tariff_id" = "tariffs"."tariff_id" AND "product_tariffs"."tariff_start_date" = "tariffs"."start_date"
|
585
|
+
PGError: ERROR: operator does not exist: character varying = integer
|
586
|
+
LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
|
587
|
+
^
|
588
|
+
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
|
575
589
|
: SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: composite_primary_keys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 9
|
10
|
+
version: 3.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dr Nic Williams
|