forest_admin_datasource_active_record 1.12.4 → 1.12.6
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9af21b22a6806ae02c5510d74d495101af49ff65e67fb7ff51e13ddf13bc88cd
|
|
4
|
+
data.tar.gz: 73d0c161a08b10dde88c52b811b3534a0fef3c58574cabdf7f5a43f50266470e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c6e25bb0dd3e0badd9fed1fa3f57a2b4feb027d4071277ccfefe49a28bb6c91ee652f752e64de237f1ef9f2a033e533bfaa717dcaa8bc2087a8e30a71c73620
|
|
7
|
+
data.tar.gz: 663d6b4bc543c26184bdb37a07be8953d85e702412fff904885e32e80159bf91eaa61c5ac525ce4fb1a8856e32f27c23d5dfe31382a31a0ac8056c6e7d4c36e5
|
|
@@ -114,7 +114,7 @@ module ForestAdminDatasourceActiveRecord
|
|
|
114
114
|
ForestAdminDatasourceToolkit::Schema::Relations::OneToOneSchema.new(
|
|
115
115
|
foreign_collection: format_model_name(association.klass.name),
|
|
116
116
|
origin_key: association.foreign_key,
|
|
117
|
-
origin_key_target: association
|
|
117
|
+
origin_key_target: association_primary_key(association)
|
|
118
118
|
)
|
|
119
119
|
)
|
|
120
120
|
end
|
|
@@ -176,7 +176,7 @@ module ForestAdminDatasourceActiveRecord
|
|
|
176
176
|
ForestAdminDatasourceToolkit::Schema::Relations::OneToManySchema.new(
|
|
177
177
|
foreign_collection: format_model_name(association.klass.name),
|
|
178
178
|
origin_key: association.foreign_key,
|
|
179
|
-
origin_key_target: association
|
|
179
|
+
origin_key_target: association_primary_key(association)
|
|
180
180
|
)
|
|
181
181
|
)
|
|
182
182
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forest_admin_datasource_active_record
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.12.
|
|
4
|
+
version: 1.12.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthieu
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-10-
|
|
12
|
+
date: 2025-10-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|