Skip to content

Commit 1657334

Browse files
committed
Eliminate g:rails_default_database
1 parent e1693f7 commit 1657334

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

autoload/rails.vim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -996,9 +996,6 @@ function! rails#new_app_command(bang,...)
996996
endwhile
997997
let dir = expand(dir)
998998
let append = ""
999-
if g:rails_default_database != "" && str !~ '-d \|--database='
1000-
let append .= " -d ".g:rails_default_database
1001-
endif
1002999
if a:bang
10031000
let append .= " --force"
10041001
endif

doc/rails.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,10 +1057,6 @@ plugins that can choke up ctags.
10571057
File to load when a new Rails application is created, or when loading an
10581058
existing project from the menu. Defaults to the README.
10591059

1060-
*g:rails_default_database* >
1061-
let g:rails_default_database='sqlite3'
1062-
Database to use for new applications. Defaults to letting Rails decide.
1063-
10641060
*rails-screen* *g:rails_gnu_screen* >
10651061
let g:rails_gnu_screen=1
10661062
Use GNU Screen (if it is running) to launch |:Rscript| console and |:Rserver|

plugin/rails.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ call s:SetOptDefault("rails_mappings",1)
6161
call s:SetOptDefault("rails_abbreviations",1)
6262
call s:SetOptDefault("rails_ctags_arguments","--exclude=\"*.js\"")
6363
call s:SetOptDefault("rails_default_file","README")
64-
call s:SetOptDefault("rails_default_database","")
6564
call s:SetOptDefault("rails_root_url",'http://localhost:3000/')
6665
call s:SetOptDefault("rails_modelines",0)
6766
call s:SetOptDefault("rails_menu",1)

0 commit comments

Comments
 (0)