bullet_train-super_scaffolding 1.3.1 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/account/scaffolding/completely_concrete/tangible_things_controller.rb +0 -1
- data/app/controllers/api/v1/scaffolding/completely_concrete/tangible_things_controller.rb +0 -1
- data/app/models/scaffolding/absolutely_abstract/creative_concept.rb +3 -1
- data/lib/bullet_train/super_scaffolding/version.rb +1 -1
- data/lib/scaffolding/transformer.rb +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edf7a8d1588079e73ae6bd8a24b785c0643eb358eafbcb6f43714f55e45e00a9
|
4
|
+
data.tar.gz: 9df2b8dec75a472180bb60924b61a12db53e628b6976710e382500cc3dc93470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea4c0dda2d0a821afb429fdddbf309185ec6815f130b1cca53e68080beebea1b1afd82ec65fce40b86d35d68642865636ccd897c26989720824113eeecb9973e
|
7
|
+
data.tar.gz: 345a4e870c67fb6b12f627850b22b9106bfdd029c6b2ae878575654dd0b2a9c1d977c7ae2aa79e6930f09b67ca1b1aabed95736ae476533bba51826e8fa6b90d
|
@@ -68,7 +68,6 @@ class Account::Scaffolding::CompletelyConcrete::TangibleThingsController < Accou
|
|
68
68
|
def process_params(strong_params)
|
69
69
|
# 🚅 skip this section when scaffolding.
|
70
70
|
assign_boolean(strong_params, :boolean_button_value)
|
71
|
-
assign_date_and_time(strong_params, :date_and_time_field_value)
|
72
71
|
assign_checkboxes(strong_params, :multiple_button_values)
|
73
72
|
assign_checkboxes(strong_params, :multiple_option_values)
|
74
73
|
assign_select_options(strong_params, :multiple_super_select_values)
|
@@ -4,7 +4,9 @@ class Scaffolding::AbsolutelyAbstract::CreativeConcept < ApplicationRecord
|
|
4
4
|
belongs_to :team
|
5
5
|
# 🚅 add belongs_to associations above.
|
6
6
|
|
7
|
-
|
7
|
+
# TODO: We shouldn't have to explicitly set the order here, so we need to find out why these records
|
8
|
+
# are being returned in descending order when calling @creative_concept.completely_concrete_tangible_things.
|
9
|
+
has_many :completely_concrete_tangible_things, -> { order(:id) }, class_name: "Scaffolding::CompletelyConcrete::TangibleThing", foreign_key: :absolutely_abstract_creative_concept_id, dependent: :destroy
|
8
10
|
has_many :collaborators, class_name: "Scaffolding::AbsolutelyAbstract::CreativeConcepts::Collaborator", dependent: :destroy, foreign_key: :creative_concept_id
|
9
11
|
has_many :memberships, through: :collaborators
|
10
12
|
# 🚅 add has_many associations above.
|
@@ -1074,10 +1074,6 @@ class Scaffolding::Transformer
|
|
1074
1074
|
end
|
1075
1075
|
|
1076
1076
|
special_processing = case type
|
1077
|
-
when "date_field"
|
1078
|
-
"assign_date(strong_params, :#{name})"
|
1079
|
-
when "date_and_time_field"
|
1080
|
-
"assign_date_and_time(strong_params, :#{name})"
|
1081
1077
|
when "buttons"
|
1082
1078
|
if boolean_buttons
|
1083
1079
|
"assign_boolean(strong_params, :#{name})"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-super_scaffolding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|