We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20b8e1 commit bd1577bCopy full SHA for bd1577b
CHANGELOG.md
@@ -7,6 +7,8 @@
7
rails commands that do not use spring (e.g. `bin/rails server` would
8
emit this when you ^C to exit)
9
* Fix `reload!` in rails console
10
+* Don't connect/disconnect the database if there are no connections
11
+ configured. Issue #256.
12
13
## 1.1.1
14
lib/spring/application.rb
@@ -299,8 +299,7 @@ def reset_streams
299
private
300
301
def active_record_configured?
302
- defined?(ActiveRecord::Base) && ActiveRecord::Base.configurations.present?
+ defined?(ActiveRecord::Base) && ActiveRecord::Base.configurations.any?
303
end
304
-
305
306
0 commit comments