tpope/vim-rails — Issue #126: Navcommand singularize/pluralize options
Author: flah00
Created: 2011-10-31 16:52:59+00:00
State: open

I'm having a hard time using my custom command, because our factory names are plural, but the models are singular, ie

`Rnavcommand factory spec/factories -glob=**/* -default=model()`

I suppose I could try creating factories with singular names, but the scaffolds don't follow that convention....

## Works

`:Rfactory users`

## Does not work

Editing user model, typing

`:Rfactory`

`E345: Can't find file "spec/factories/user.rb`