Class: Rails::Command::DbconsoleCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/umbrellio_sequel_plugins/rails_db_command.rb

Instance Method Summary collapse

Instance Method Details

#performObject



9
10
11
12
13
# File 'lib/umbrellio_sequel_plugins/rails_db_command.rb', line 9

def perform
  require "rake"
  Rake.with_application(&:load_rakefile) # Needed to initialize Rails.application
  start!
end