bigrecord 0.0.6 → 0.0.7
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.
- data/VERSION +1 -1
- data/rails/init.rb +3 -3
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.7
|
data/rails/init.rb
CHANGED
|
@@ -7,9 +7,9 @@ BigRecord::Embedded.logger = ActiveRecord::Base.logger
|
|
|
7
7
|
# Load in the config from the RAILS_ROOT/config folder
|
|
8
8
|
begin
|
|
9
9
|
BigRecord::Base.configurations = YAML::load(File.open("#{RAILS_ROOT}/config/bigrecord.yml"))
|
|
10
|
+
|
|
11
|
+
# Try establishing the connection
|
|
12
|
+
BigRecord::Base.establish_connection
|
|
10
13
|
rescue
|
|
11
14
|
puts "[Bigrecord] Couldn't load the config/bigrecord.yml config file. Please bootstrap it into your application with: script/generate bigrecord"
|
|
12
15
|
end
|
|
13
|
-
|
|
14
|
-
# Try establishing the connection
|
|
15
|
-
BigRecord::Base.establish_connection
|