Alternate files
:A |
alternate file (test) |
:R |
related file (controller/view) |
What it does
| . |
:A |
:R |
| Model |
test/models/ |
db/schema.rb |
| Controller method |
test/controllers/ |
app/views/ |
| View template |
test/views/ |
app/controllers |
Abbreviations
Type :Rabbrev for a full list.
| Abbrev |
Expansion |
AC:: |
ActionController |
AR:: |
ActiveRecord |
AV:: |
ActionView |
... |
… |
logd( |
logger.debug |
logi( |
logger.info |
... |
… |
Model
| Abbrev |
Expansion |
bt( |
belongs_to |
hm( |
has_many |
ho( |
has_one |
habtm( |
has_and_belongs_to_many |
Controllers
| Abbrev |
Expansion |
pa[ |
params |
re( |
redirect_to |
rp( |
render partial: |
rst( |
respond_to |
Views
| Abbrev |
Expansion |
dotiw |
distance_of_time_in_words |
taiw |
time_ago_in_words |
:Rextract home/foo_partial
:Rextract FooConcern
Loading files
App
:Econtroller <file>
:Ehelper
:Emodel <file>
:Ejob <file>
:Emailer <file>
DB
:Emigration <file>
:Eschema
Lib
:Elib <file>
:Elib
:Etask <file>
Assets
:Estylesheet
:Ejavascript
Views
:Eview
:Elayout
Test
:Espec
:Eunittest
:Efunctionaltest
:Eintegrationtest
:Efixtures
:Efunctionaltest
Config
:Einitializer <file>
:Elocale
:Eenvironment
:Eenvironment development
Reference