class Object

Constants

LOGGER
RELOADER
WORKER_COUNT
WORKER_NUMBER

Public Instance Methods

domain_run(command) click to toggle source
# File lib/generators/disco/app/templates/db/seeds.rb, line 9
def domain_run(command)
  Domain.run_command(command) if @@can_run
rescue DRb::DRbConnError
  puts 'no domain server for seeds'
  @@can_run = false
end