lib/hanami.rb in hanami-1.0.0.beta3 vs lib/hanami.rb in hanami-1.0.0.rc1
- old
+ new
@@ -86,9 +86,10 @@
#
# @since 0.9.0
def self.boot
Components.release if code_reloading?
Components.resolve('all')
+ Hanami::Model.disconnect if defined?(Hanami::Model)
end
# Main application that mounts many Rack and/or Hanami applications.
#
# This is used as integration point for: