aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/script/dbconsole.tt
blob: a7f114a97f6a8ad792724246c54cd80ddbedecc9 (plain) (tree)
1
2
3
4
5
                                                        
                                  

                                                               
                                                 
require File.expand_path('../../config/boot',  __FILE__)
require 'rails/commands/dbconsole'
require File.expand_path('../../config/application',  __FILE__)

Rails::DBConsole.start(<%= app_const %>.instance)