coalescing_panda 5.1.9 → 5.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/coalescing_panda/group.rb +1 -1
- data/lib/coalescing_panda/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: acb564123796d263404c131eb71d372a3592d105d822aa843849be8b36ee3474
|
4
|
+
data.tar.gz: b5cd0d04fda7b01b3b91098a68d27b4d151737d2ee481eff8e0263795d69f248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f75b1ab2b563eb1d512432859c4e54eb592ccdb59b99aa14920a62b725f1edda6d4c3a47d62b37db2d1de67ed4c382247ad2eebaed33eb3f2e55bd4c89d1cbc
|
7
|
+
data.tar.gz: fbbef643a7ad94950d3ffd9d54cd11f8808bc0ad4d807227eaff73fff1c0f601ea2ff7e58e59fa09db9507b950f1609c8adb3d555e85503bf0301c5a2c5061ed
|
@@ -3,7 +3,7 @@ module CoalescingPanda
|
|
3
3
|
belongs_to :context, :polymorphic => true
|
4
4
|
include SingleTablePolymorphic
|
5
5
|
|
6
|
-
belongs_to :leader, foreign_key: :leader_id, class_name: 'CoalescingPanda::User'
|
6
|
+
belongs_to :leader, optional: true, foreign_key: :leader_id, class_name: 'CoalescingPanda::User'
|
7
7
|
belongs_to :group_category, foreign_key: :coalescing_panda_group_category_id, class_name: 'CoalescingPanda::GroupCategory'
|
8
8
|
has_many :group_memberships, foreign_key: :coalescing_panda_group_id, class_name: 'CoalescingPanda::GroupMembership', dependent: :destroy
|
9
9
|
validates :group_category_id, presence: true
|