lato_spaces 3.1.9 → 3.1.10
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 +4 -4
- data/app/models/concerns/lato_spaces/associable.rb +1 -1
- data/lib/lato_spaces/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f91b368922c8adec1acf6e9d478cab0363663efb8897d09459821df0bc0c0b0
|
|
4
|
+
data.tar.gz: bae1a510522ed6c8cbefb23b5d272ca637682fcb2da4923c8416bb15ca3710a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be1ced52743e495fbe91de06924229f561bcdfbd96d962ec6ce927970b878cddf38121c69cb4173b919401dc4b0aac17878131fb581d7269f991286851a3af21
|
|
7
|
+
data.tar.gz: 14d8b9f0fdb8d227ff343994405b78a653b673cb9417adea229a6f3d9e21c1b07e85c71f9f32720fb47c72df9c46ab2539448010eeca7b9e23b8dd58fb2ce1bd
|
|
@@ -5,7 +5,7 @@ module LatoSpaces::Associable
|
|
|
5
5
|
# Relations
|
|
6
6
|
##
|
|
7
7
|
|
|
8
|
-
has_many :lato_spaces_associations, class_name: 'LatoSpaces::Association', as: :item, dependent: :
|
|
8
|
+
has_many :lato_spaces_associations, class_name: 'LatoSpaces::Association', as: :item, dependent: :delete_all # HACK: delete_all instead of destroy to avoid infinite loop caused by AssociableRequired concern
|
|
9
9
|
has_many :lato_spaces_groups, through: :lato_spaces_associations, class_name: 'LatoSpaces::Group'
|
|
10
10
|
|
|
11
11
|
# Scopes
|
data/lib/lato_spaces/version.rb
CHANGED