method

drop

Importance_0
drop() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/sqlite_database_tasks.rb, line 17 def drop require 'pathname' path = Pathname.new configuration['database'] file = path.absolute? ? path.to_s : File.join(root, path) FileUtils.rm(file) if File.exist?(file) end
Register or log in to add new notes.