bullet_train-super_scaffolding 1.7.5 → 1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bullet_train/super_scaffolding/version.rb +1 -1
- data/lib/scaffolding/transformer.rb +1 -1
- 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: a8ac4a803c338b254cf064ba297f52c3ebb58021bc3e0f15a602b40dfb2ca06a
|
4
|
+
data.tar.gz: aa736e2b77fc482ab25141844598dc005d32d1a1d49ea26411f703efc38f9759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ef237c716505f525efd101f2f6ff72a1d03a9273586d1037594c3b7cc66dbf2a259e81a0d056b0dcf2f578610e18ca5ab1d82020e9385b9dbcc2b6f0708a4ce
|
7
|
+
data.tar.gz: f955391d1ea98efcede41c3bd474da8e5ae3b07dbe93f319f24f26cd954e24b43a5e4996ac5a2e8390d8bfcd3697456af5cbad246010510d81dc19a44d7948e1
|
@@ -1351,7 +1351,7 @@ class Scaffolding::Transformer
|
|
1351
1351
|
unless migration_file_name.present?
|
1352
1352
|
raise "No migration file seems to exist for creating the table `#{class_names_transformer.table_name}`.\n" \
|
1353
1353
|
"Please run the following command first and try Super Scaffolding again:\n" \
|
1354
|
-
"rails generate model #{child} #{parent.underscore
|
1354
|
+
"rails generate model #{child} #{parent.underscore}:references #{attributes.join(" ")}"
|
1355
1355
|
end
|
1356
1356
|
|
1357
1357
|
# if needed, update the reference to the parent class name in the create_table migration
|
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.7.
|
4
|
+
version: 1.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|