bullet_train-super_scaffolding 1.7.6 → 1.7.8
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: cdff26709713bf9865d6f6b0953a39d1bf89c130fdc33b34f9c8552446faf8be
|
4
|
+
data.tar.gz: 21c62af1f68c7a2722ec139384b84e1b0272381fa7a001a92c0da1e03affa616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b4befc476572c979cccb6cdc082b9545b6df670ec6d9cc467310e151f2a85c35453f975a1adc9b7e33c9bf0b92b273edef90d95bd860b1e0db568cf8ec7fb66
|
7
|
+
data.tar.gz: 27fdd01e6f4b8a3bcbef0764d6044ba150832b3315b8622ed9844eee656a0da2a929d0c57100f3d994c8d8c498a5e656bf158ddbea91ef1f22fff5f9f7dde747
|
@@ -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.8
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|