bullet_train 1.2.13 → 1.2.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f125a3b2313fc5b94496437cd6e2502f1a484ae4d216a8c0fd2bb0298463f69
4
- data.tar.gz: 263d0f8cff1ff87477816d730c40c5f9c6098863a3992980435e5cdca83aca5d
3
+ metadata.gz: 358e50b478a3dc8e59e119ce48bb7dadae9307c9ce6bde1126cb2a239078eb95
4
+ data.tar.gz: ed9095ed50c53a6235dbf6b854137f20960e4ba3f79c8ce2092b2dc70a67bfb8
5
5
  SHA512:
6
- metadata.gz: d61e07c62b0d664473c0b24e69b4a780868a8d4372dc37f9c42614167612f383d375c7b4a517c32e09b244d18a4324809a50cfc53b79cc67efb7ad5c34381e20
7
- data.tar.gz: 3756d3c5d860e90125a79a62dfc4b349f3e296c41bb1fb62b58c0531883b84d9da701428ccbb0f85388169a0e24e6ef5360b7201fccce56cc2a26014325b2658
6
+ metadata.gz: 6501ad3fea38da957ffa0729aad517e13e0b330f2b11674a0acf1c30e2d1aa1f315f723f03a6664616ff17038b1435dbc36f114e8f8c78c4013a8cafe4296ac0
7
+ data.tar.gz: 2546ccaa180b2f9001a9947de2cc1d3add2f4676f486cf8cb2799b6543f99be518b70aa782d071f4b6c8eaa2270a99df95b66ae7669816a6319af4fc4e980775
@@ -232,12 +232,14 @@ Honestly, it's crazy that we got to the point where we can handle this particula
232
232
 
233
233
  ### `TangibleThing` and `CreativeConcept`
234
234
 
235
- In order to properly facilitate this type of code generation, Bullet Train includes two models in the `Scaffolding` namespace:
235
+ In order to properly facilitate this type of code generation, Bullet Train includes two models in the `Scaffolding` namespace as a parent and child model:
236
236
 
237
237
  1. `Scaffolding::AbsolutelyAbstract::CreativeConcept`
238
238
  2. `Scaffolding::CompletelyConcrete::TangibleThing`
239
239
 
240
- Their peculiar naming is what's required to ensure that their corresponding view and controller templates can serve as the basis for any combination of different model naming or [namespacing](https://blog.bullettrain.co/rails-model-namespacing/) that you may need to employ in your own application.
240
+ Their peculiar naming is what's required to ensure that their corresponding view and controller templates can serve as the basis for any combination of different model naming or [namespacing](https://blog.bullettrain.co/rails-model-namespacing/) that you may need to employ in your own application. There are [a ton of different potential combinations of parent and child namespaces](https://blog.bullettrain.co/nested-namespaced-rails-routing-examples/), and these two class names provide us with the fidelity we need when transforming the templates to represent any of these scenarios.
241
+
242
+ Only the files associated with `Scaffolding::CompletelyConcrete::TangibleThing` actually serve as scaffolding templates, so we also take advantage of `Scaffolding::AbsolutelyAbstract::CreativeConcept` to demonstrate other available Bullet Train features. For example, we use it to demonstrate how to implement resource-level collaborators.
241
243
 
242
244
  ### Hiding Scaffolding Templates
243
245
 
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.2.13"
2
+ VERSION = "1.2.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
@@ -566,7 +566,6 @@ files:
566
566
  - app/views/account/teams/edit.html.erb
567
567
  - app/views/account/teams/index.html.erb
568
568
  - app/views/account/teams/new.html.erb
569
- - app/views/account/teams/show.html.erb
570
569
  - app/views/account/two_factors/create.js.erb
571
570
  - app/views/account/two_factors/destroy.js.erb
572
571
  - app/views/account/two_factors/verify.js.erb
@@ -1,25 +0,0 @@
1
- <%= render 'account/shared/page' do |p| %>
2
- <% p.content_for :title, t('.header', teams_possessive: possessive_string(@team.name)) %>
3
-
4
- <% p.content_for :actions do %>
5
- <%= link_to edit_account_team_path(@team), class: 'button-secondary button-smaller' do %>
6
- <%= t('teams.buttons.edit') %>
7
- <% end if can? :edit, @team %>
8
- <% end %>
9
-
10
- <% p.content_for :body do %>
11
- <%# 🚅 super scaffolding will insert new children above this line. %>
12
-
13
- <% unless scaffolding_things_disabled? %>
14
- <%= render 'account/shared/commentary/box' do |p| %>
15
- <% p.content_for :content do %>
16
- <%= render 'account/scaffolding/absolutely_abstract/creative_concepts/index', creative_concepts: @team.scaffolding_absolutely_abstract_creative_concepts, hide_back: true unless scaffolding_things_disabled? %>
17
- <% end %>
18
-
19
- <% p.content_for :commentary do %>
20
- <%= t('scaffolding/absolutely_abstract/creative_concepts.index.commentary').html_safe %>
21
- <% end %>
22
- <% end %>
23
- <% end %>
24
- <% end %>
25
- <% end %>