Refs #1: implements autocomplete (rails3 + git only)