madmin 1.0.0.beta1 → 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/madmin/install/install_generator.rb +2 -1
- data/lib/madmin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e0427cd7d7dd77a86ef9b7cfd6b08af93cc2f6f542a7992b69d63328c483e26
|
4
|
+
data.tar.gz: f85af965580b168e7efa890049ca58a46d9710ab3484ed99b45acf7267a7859c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b63ca0956bd1a730d686b7f35252e951f0bb88743df2a2d9fa025120a82647a141e1e20dae3052f889e4d1db7bbf69328ab26e1285d1c602a58b0e625f084eed
|
7
|
+
data.tar.gz: 11783c59ee3445c594dd2ce51ea5b24ee5942d59f59a2ae6f444ff8991f353e298473f6dfcf8e38c923248458dd38957cd3d8aead6e4c18d1821abcce023a10e
|
@@ -35,9 +35,10 @@ module Madmin
|
|
35
35
|
|
36
36
|
private
|
37
37
|
|
38
|
+
# Skip Abstract classes, ActiveRecord::Base, and auto-generated HABTM models
|
38
39
|
def generateable_models
|
39
40
|
active_record_models.reject do |model|
|
40
|
-
model.abstract_class? || model == ActiveRecord::Base
|
41
|
+
model.abstract_class? || model == ActiveRecord::Base || model.name.start_with?("HABTM_")
|
41
42
|
end
|
42
43
|
end
|
43
44
|
|
data/lib/madmin/version.rb
CHANGED