Skip to content
ramonrails edited this page Sep 14, 2010 · 5 revisions

This is an auto-complete / intelli-sense / code-sense type of extension to textmate.

(I made a few enhancements to the original code)
This currently works only for the ActiveRecord model attributes and associations in context.

How to use

  1. Install the TextMate extension
  2. Open a project
  3. Type a model name, class or instance variable with a trailing <dot>
  4. Hit <Tab>

Features

  1. parses the model to generate columns and associations
  2. Allows model names like account_payable
  3. Shows everything ordered
  4. When unable to guess, presents a list of model names to select from
  5. Only re-parses when cache expires due to changes to schema.rb

This is a forked repository. Have a look at
carlosbrando’s ruby-on-rails-tmbundle wiki
for more information.