Module: Switchman::ActiveRecord::Tasks::DatabaseTasks
- Defined in:
- lib/switchman/active_record/tasks/database_tasks.rb
Instance Method Summary collapse
Instance Method Details
#drop ⇒ Object
7 8 9 10 11 12 |
# File 'lib/switchman/active_record/tasks/database_tasks.rb', line 7 def drop(*) super # no really, it's gone Switchman.cache.delete('default_shard') Shard.default(reload: true) end |