Skip to content

Instantly share code, notes, and snippets.

@geoffharcourt
geoffharcourt / gist:9a29dda9904fed7a177e
Created July 31, 2014 14:38
vim/rails.vim (projections for working with rails.vim)
let g:rails_projections = {
\ "app/models/*.rb": {
\ "related": "spec/factories/%p.rb",
\ },
\ "spec/factories/*.rb": {
\ "command": "factory",
\ "affinity": "collection",
\ "alternate": "app/models/%i.rb",
\ "related": "db/schema.rb#%s",
\ "test": "test/models/%i_test.rb",
### Keybase proof
I hereby claim:
* I am geoffharcourt on github.
* I am geoffharcourt (https://keybase.io/geoffharcourt) on keybase.
* I have a public key whose fingerprint is E3B2 EFA0 5449 2E13 BBE0 B4B5 F7AE D06E 15DD B1C5
To claim this, I am signing this object: