Rails-helpers.tmbundle

Groovy Ruby on Rails helpers for TextMate 2

View the Project on GitHub estum/Rails-Helpers.tmbundle

Ruby on Rails Missed Commands & Snippets

Updates an old stuff from the official bundle and adds a couple (actually, more than a couple) magic commands & snippets, which, I assure, you'd love to.

TextMate 2 installation

mkdir -p ~/Library/Application\ Support/Avian/Bundles/
cd ~/Library/Application\ Support/Avian/Bundles/
git clone https://github.com/estum/Rails-Helpers.tmbundle.git

Killer-features

⌘⇧M Open migration from dropdown list

Open migration from dropdown list

⌃⌘A Toggle array syntax style

Toggle array syntax style

nmod⇥, ncla⇥ Namespaced module/class

The smart snippet, which creates a blank module or class with a nested namespacing by using the current file path.

⌥⇧⌘N Rename current file using the current word

Put the caret on a class name, and press ⌥⇧⌘N to rename current file with underscored value of current word.

...and more

See full list of commands and snippets in the bundle menu.