bullet_train-super_scaffolding 1.3.2 → 1.3.4

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: e1c017083e948b95737cab6b2be7ac6685a0fca82fc9108216126007742465f7
4
- data.tar.gz: 4d313d03244771a00f270394a75e82198c9e073c381e8ad5f31f1125c8ef97d7
3
+ metadata.gz: 99df9b435a97832387750fb98ba60942dde79349142415710ed62e6539b30e10
4
+ data.tar.gz: 9ef1020d28d7e90e96bcc677f3548d57c47fe1d0c114e6b1b7282180191b6ae8
5
5
  SHA512:
6
- metadata.gz: '0977a7a6c9c70602cb8f1aaae4e00443b2ae7cdf50d985adbd1e2f1e36a199a05c3a1f288bb740ff2b6101df673c2c4ecb31571cc957d64d054958f93c42a5b1'
7
- data.tar.gz: d50159663919d1f9e07ecea44b4fbe80316c7325258fdeae75468fbe39a1c120e310ca618bb09d1075682ec2e59e6c7a6ea7926d37491bb4d8fc6c3c17a1e935
6
+ metadata.gz: 017af1340a933ae0e65de763a6f6724bf9e06f1b952fd18af47bdd77fcbcabd636b652c81704ab7d5e3784fc5bb838e2b773ddedb4b4cdb4d43473aa7efaec6d
7
+ data.tar.gz: bb15c90a63137a7e8b1ed1bbd0973c85960e33ba0368c00656b9bd99dccc11789f5ab77356c9eeb3f2d94e27d24b5ad45dd6d56f95c6e11210646c0f43d757f7
@@ -4,7 +4,9 @@ class Scaffolding::AbsolutelyAbstract::CreativeConcept < ApplicationRecord
4
4
  belongs_to :team
5
5
  # 🚅 add belongs_to associations above.
6
6
 
7
- has_many :completely_concrete_tangible_things, class_name: "Scaffolding::CompletelyConcrete::TangibleThing", foreign_key: :absolutely_abstract_creative_concept_id, dependent: :destroy
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.
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.3.2"
3
+ VERSION = "1.3.4"
4
4
  end
5
5
  end
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.2
4
+ version: 1.3.4
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-16 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard