When developing Rails project using Textmate
, there are some related modes. When pressing Win + Alt + Shift + r, you will get a list of modes:
- Ruby
- HTML (Rails)
- Ruby on Rails (RJS)
- Ruby on Rails
- SQL (Rails)
I want to know the difference between HTML (Rails)
and Ruby on Rails
. Anyone can expla开发者_StackOverflowin it please? Thanks.
Ruby on Rails mode is for working with controllers/models/helpers etc
HTML (Rails) mode is for dealing with views
精彩评论