I been trying out Sublime text for a few days now, and so far I have really liked the experience.
The only thing that really bugging me is that I can’t get autocomplete / snippets to work with Rails. It seems it is a problem with detecting the right scope. If I inside an .erb template add a ruby tag (<% bt %>). The snippet below work just fine. In my .rb files it doesn’t.
"${3:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}", :foreign_key => "${4:${1}_id}"}]]> bt source.ruby.rails belongs_toI running Sublime build 2076, Mac OS X 10.6.7, Ruby 1.8.7 and Rails 3.0.7 (using RVM)
thanks