neo4apis-activerecord 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4apis/cli/activerecord.rb +0 -2
- data/neo4apis-activerecord.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 741e8e7cc55d6f668107298ce95c1a4902082fc9
|
4
|
+
data.tar.gz: 67094cd3dd31f31cc5e684affd1c73baee06b04e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6de04fca88492660c424adca274cb13d6c59cf9463ff48aac742467b81779884fd128259ae96f8a2f1a5ee3c509ea17214c752b3a8c054e4c75ec7f28f264c75
|
7
|
+
data.tar.gz: 1fcf87ffde8b393050442525ad4aeae4eed0bcbde2e8f5437cf3541101503158ee761820ecf9fae1b4cb21aae7ddeaa661d616dd377688eaca6aca52a2529cc6
|
@@ -22,7 +22,6 @@ module Neo4Apis
|
|
22
22
|
def models(*models_or_table_names)
|
23
23
|
setup
|
24
24
|
|
25
|
-
puts 'models_or_table_names', models_or_table_names.inspect
|
26
25
|
model_classes = models_or_table_names.map(&method(:get_model))
|
27
26
|
|
28
27
|
model_classes.each do |model_class|
|
@@ -45,7 +44,6 @@ module Neo4Apis
|
|
45
44
|
# Rails
|
46
45
|
require './config/environment'
|
47
46
|
else
|
48
|
-
puts 'active_record_config', active_record_config.inspect
|
49
47
|
::ActiveRecord::Base.establish_connection(active_record_config)
|
50
48
|
end
|
51
49
|
end
|