diff --git a/autoload/rails.vim b/autoload/rails.vim index 0de1e362..6021c48b 100644 --- a/autoload/rails.vim +++ b/autoload/rails.vim @@ -999,7 +999,7 @@ function! s:BufCommands() command! -buffer -bar -nargs=? -complete=customlist,s:Complete_environments Rdbext :call s:BufDatabase(2,)|let b:dbext_buffer_defaulted = 1 endif let ext = expand("%:e") - if RailsFilePath() =~ '\,call s:Extract(0,) command! -buffer -bar -bang -nargs=? -range -complete=customlist,s:controllerList Extract :,call s:Extract(0,)