1nrdaq
Last Updated: February 25, 2016
·
7.425K
· tadas_t
Img 4302

Sublime Text snippets for Ruby on Rails 3

The default Rails snippets that come with Sublime Text 2 are outdated. It's actually nearly useless for projects running the recent versions of ruby and rails. Therefore I've created a fork of Rails snippets which aims to make it useful for developers working with ruby1.9 and Rails 3.

So far, the most important changes are ruby1.9 hash syntax, Rails3 HAML compatibility for form elements' autocompletion and routes. Take a look at all available autocomplete options.

The snippet is available via Package Control, but I do recommend to install it manually by replacing the default Rails snippets folder, because some other packages have hardcoded paths to Packages/Rails. Follow the installation instructions.

I would like to encourage you to submit pull requests. Writing snippets is very easy and even beginners can contribute. Let's make Rails on Sublime fly again!

Say Thanks
Respond

3 Responses
Add your response

2613
Cory simmons 700

These are great! Thanks for sharing!

over 1 year ago ·
4887
D41d8cd98f00b204e9800998ecf8427e

"validates" is missing?

over 1 year ago ·
6600
7317d5b441d84be7cef550f02ff5d374

Thanks for sharing - very helpful!

over 1 year ago ·