We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9af3754 commit a757499Copy full SHA for a757499
1 file changed
spec/integration/composite_primary_key_spec.rb
@@ -3,7 +3,7 @@
3
require "spec_helper"
4
5
describe "composite_primary_key" do
6
- context 'without associations' do
+ context "without associations" do
7
with_model :Parent do
8
table primary_key: [:first_name, :last_name] do |t|
9
t.string :first_name
@@ -40,7 +40,7 @@
40
self.primary_key = [:first_name, :last_name]
41
end
42
43
-
+
44
with_model :Child do
45
table do |t|
46
t.string :parent_first_name
@@ -53,7 +53,7 @@
53
54
pg_search_scope :search_parent_hobby, associated_against: {
55
parent: [:hobby]
56
- }
+ }
57
58
59
0 commit comments