1 2 3
require File.expand_path('../../config/application', __FILE__) require 'rails/commands/dbconsole' Rails::DBConsole.start(<%= app_const %>)