Method: SQLite#close_db
- Defined in:
- lib/qooxview/storages/sqlite.rb
#close_db ⇒ Object
Allows for debugging when wanting to load another db
39 40 41 42 |
# File 'lib/qooxview/storages/sqlite.rb', line 39 def close_db dputs(4) { "Closing db #{@name_file}" } ActiveRecord::Base.remove_connection end |