days 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/days/config.rb +1 -1
- data/lib/days/version.rb +1 -1
- metadata +1 -1
data/lib/days/config.rb
CHANGED
@@ -26,7 +26,7 @@ module Days
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def establish_db_connection(force=false)
|
29
|
-
if Days::App.environment.to_sym == :development && (self.has_key?(:activerecord_log) ?
|
29
|
+
if Days::App.environment.to_sym == :development && (self.has_key?(:activerecord_log) ? self.activerecord_log == true : true)
|
30
30
|
ActiveRecord::Base.logger = Logger.new($stdout)
|
31
31
|
end
|
32
32
|
|
data/lib/days/version.rb
CHANGED