bigrecord 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- 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
|