effective_committees 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88193e5be302af15e49c0ebad2e644f3078c03b8902516fdb08e6f794c87397c
|
4
|
+
data.tar.gz: e0330394def0ac2db747f96b5448a50c17e852bc81b1d0c3a65c5acb323ce8da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44355aaa14c5936f44a80f09364c930e947f0342c4cc1128d1ff7ac1297803e65b655273a8abee4456677e2c1fd2e31d591ee8063e899b61bfe03fe703e9fe9e
|
7
|
+
data.tar.gz: de3059e0d5145f7b90ce188862822d848100be6f37a7c759cd8494d272ceab3210d765231e30d866444ba848e9286d6ae4feefa47d5a6212971bba4eb71640ce
|
@@ -30,7 +30,7 @@ module Effective
|
|
30
30
|
end
|
31
31
|
|
32
32
|
scope :sorted, -> { order(:title) }
|
33
|
-
scope :deep, -> { includes(committee_members: [:user], committee_folders: [:committee_files, :rich_text_body]) }
|
33
|
+
scope :deep, -> { with_rich_text_body.includes(committee_members: [:user], committee_folders: [:committee_files, :rich_text_body]) }
|
34
34
|
|
35
35
|
validates :title, presence: true, uniqueness: true, length: { maximum: 255 }
|
36
36
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
- if inline_datatable? && inline_datatable.attributes[:committee_folder_id].present?
|
8
8
|
= f.hidden_field :committee_folder_id
|
9
9
|
- elsif inline_datatable?
|
10
|
-
= f.select :committee_folder_id, Effective::CommitteeFolder.
|
10
|
+
= f.select :committee_folder_id, Effective::CommitteeFolder.deep.where(committee: committee_file.committee_id)
|
11
11
|
- else
|
12
12
|
= f.select :committee_id, Effective::Committee.sorted.all
|
13
13
|
= f.select :committee_folder_id, Effective::CommitteeFolder.sorted.all
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_committees
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|