Method: Specjour::Configuration#prepare
- Defined in:
- lib/specjour/configuration.rb
#prepare ⇒ Object
This block is run on all workers when invoking ‘specjour prepare` Defaults to dropping the worker’s database and recreating it. This is especially useful when two teams are sharing workers and writing migrations at around the same time causing databases to get out of sync.
31 32 33 |
# File 'lib/specjour/configuration.rb', line 31 def prepare @prepare ||= default_prepare end |