I have Textmate 1.5.7 running on my leopard machine.
When programming in rails, for some reason some key words do not get highlighted.
For example: validates_presence_of
, has_many
, remote_form_for
(form_for
gets highlighted) etc...
I tried switching themes and it did not help. I also tried upgrading to the most recent rails bundle but no cigar. Could someone please help?
If you're editing views like .erb
files you'll want to select HTML (Rails) so the remote_form_for
, etc. get properly highlighted. For everything else (controllers, models, migrations, etc.) like @Omar points out, make sure you've got Ruby on Rails selected.