public
Description: Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]
Homepage: http://groups.google.com/group/rubyonrails-textmate
Clone URL: git://github.com/drnic/ruby-on-rails-tmbundle.git
Search Repo:
Click here to lend your support to: ruby-on-rails-tmbundle and make a donation at www.pledgie.com !
Renamed preferences vars TM_TEMPLATE to RAILS_TEMPLATE for clarity 
(hopefully)
lawrencepit (author)
Wed Mar 05 23:29:15 -0800 2008
commit  7edadd1cdcb8c956393b0f6afea0157cfbfa5996
tree    8f3c67c3a1e244dc7c2f0a68736416b5ed225d4e
parent  9a3e3de9d478b064ebbc82a2582dcf4e428130bd
...
12
13
14
15
 
16
17
18
19
20
21
 
22
23
24
25
26
27
 
28
29
30
31
32
33
 
34
35
36
37
38
39
 
40
41
42
...
12
13
14
 
15
16
17
18
19
20
 
21
22
23
24
25
26
 
27
28
29
30
31
32
 
33
34
35
36
37
38
 
39
40
41
42
0
@@ -12,31 +12,31 @@
0
     <array>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_START_RUBY_EXPR</string>
0
+ <string>RAILS_TEMPLATE_START_RUBY_EXPR</string>
0
         <key>value</key>
0
         <string>&lt;%= </string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_END_RUBY_EXPR</string>
0
+ <string>RAILS_TEMPLATE_END_RUBY_EXPR</string>
0
         <key>value</key>
0
         <string> %&gt;</string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_START_RUBY_INLINE</string>
0
+ <string>RAILS_TEMPLATE_START_RUBY_INLINE</string>
0
         <key>value</key>
0
         <string>&lt;% </string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_END_RUBY_INLINE</string>
0
+ <string>RAILS_TEMPLATE_END_RUBY_INLINE</string>
0
         <key>value</key>
0
         <string> -%&gt;</string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_END_RUBY_BLOCK</string>
0
+ <string>RAILS_TEMPLATE_END_RUBY_BLOCK</string>
0
         <key>value</key>
0
         <string>&lt;% end -%&gt;</string>
0
       </dict>
...
12
13
14
15
 
16
17
18
19
20
21
 
22
23
24
25
26
27
 
28
29
30
31
32
33
 
34
35
36
37
38
39
 
40
41
42
...
12
13
14
 
15
16
17
18
19
20
 
21
22
23
24
25
26
 
27
28
29
30
31
32
 
33
34
35
36
37
38
 
39
40
41
42
0
@@ -12,31 +12,31 @@
0
     <array>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_START_RUBY_EXPR</string>
0
+ <string>RAILS_TEMPLATE_START_RUBY_EXPR</string>
0
         <key>value</key>
0
         <string>= </string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_END_RUBY_EXPR</string>
0
+ <string>RAILS_TEMPLATE_END_RUBY_EXPR</string>
0
         <key>value</key>
0
         <string></string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_START_RUBY_INLINE</string>
0
+ <string>RAILS_TEMPLATE_START_RUBY_INLINE</string>
0
         <key>value</key>
0
         <string>- </string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_END_RUBY_INLINE</string>
0
+ <string>RAILS_TEMPLATE_END_RUBY_INLINE</string>
0
         <key>value</key>
0
         <string></string>
0
       </dict>
0
       <dict>
0
         <key>name</key>
0
- <string>TM_TEMPLATE_END_RUBY_BLOCK</string>
0
+ <string>RAILS_TEMPLATE_END_RUBY_BLOCK</string>
0
         <key>value</key>
0
         <string></string>
0
       </dict>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}Fixtures.identify(:${1:name})${TM_TEMPLATE_END_RUBY_EXPR}$0</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}Fixtures.identify(:${1:name})${RAILS_TEMPLATE_END_RUBY_EXPR}$0</string>
0
   <key>name</key>
0
   <string>&lt;%= Fixtures.identify(:symbol) %&gt;</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
 
9
10
11
...
3
4
5
 
6
7
 
8
9
10
11
0
@@ -3,9 +3,9 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_INLINE}form_tag(${1::action =&gt; "${5:update}"}${6:, {:${8:class} =&gt; "${9:form}"\}}) do${TM_TEMPLATE_END_RUBY_INLINE}
0
+ <string>${RAILS_TEMPLATE_START_RUBY_INLINE}form_tag(${1::action =&gt; "${5:update}"}${6:, {:${8:class} =&gt; "${9:form}"\}}) do${RAILS_TEMPLATE_END_RUBY_EXPR}
0
   $0
0
-${TM_TEMPLATE_END_RUBY_BLOCK}</string>
0
+${RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
0
   <key>name</key>
0
   <string>form_tag</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for check_box</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.check_box :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.check_box (ffcb)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for file_field</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.file_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.file_field (ffff)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for hidden_field</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.hidden_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.hidden_field (ffhf)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for label</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.label :${1:attribute}${2:, "${3:${1/[[:alpha:]]+|(_)/(?1: :\u$0)/g}}"}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.label (ffl)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for password_field</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.password_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.password_field (ffpf)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for radio_box</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.radio_box :${1:attribute}, :${2:tag_value}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.radio_box (ffrb)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for submit</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.submit "${1:Submit}"${2:, :disable_with =&gt; '${3:$1ing...}'}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.submit (ffs)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for text_area</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_area :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.text_area (ffta)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>form_for text_field</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}f.text_field :${1:attribute}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>f.text_field (fftf)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
 
9
10
 
11
12
13
...
3
4
5
 
6
7
 
8
9
 
10
11
12
13
0
@@ -3,11 +3,11 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}error_messages_for :${1:model}${TM_TEMPLATE_END_RUBY_EXPR}
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}error_messages_for :${1:model}${RAILS_TEMPLATE_END_RUBY_EXPR}
0
 
0
-${TM_TEMPLATE_START_RUBY_INLINE}form_for @${2:$1} do |f|${TM_TEMPLATE_END_RUBY_INLINE}
0
+${RAILS_TEMPLATE_START_RUBY_INLINE}form_for @${2:$1} do |f|${RAILS_TEMPLATE_END_RUBY_INLINE}
0
   $0
0
-${TM_TEMPLATE_END_RUBY_BLOCK}</string>
0
+${RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
0
   <key>name</key>
0
   <string>form_for with errors</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
 
9
10
11
...
3
4
5
 
6
7
 
8
9
10
11
0
@@ -3,9 +3,9 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_INLINE}form_for @${1:model} do |f|${TM_TEMPLATE_END_RUBY_INLINE}
0
+ <string>${RAILS_TEMPLATE_START_RUBY_INLINE}form_for @${1:model} do |f|${RAILS_TEMPLATE_END_RUBY_INLINE}
0
   $0
0
-${TM_TEMPLATE_END_RUBY_BLOCK}</string>
0
+${RAILS_TEMPLATE_END_RUBY_BLOCK}</string>
0
   <key>name</key>
0
   <string>form_for</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}image_submit_tag("${1:agree.png}"${2:${3:, :id =&gt; "${4:${1/^(\w+)(\.\w*)?$/$1/}}"}${5:, :name =&gt; "${6:${1/^(\w+)(\.\w*)?$/$1/}}"}${7:, :class =&gt; "${8:${1/^(\w+)(\.\w*)?$/$1/}-button}"}${9:, :disabled =&gt; ${10:false}}})${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}image_submit_tag("${1:agree.png}"${2:${3:, :id =&gt; "${4:${1/^(\w+)(\.\w*)?$/$1/}}"}${5:, :name =&gt; "${6:${1/^(\w+)(\.\w*)?$/$1/}}"}${7:, :class =&gt; "${8:${1/^(\w+)(\.\w*)?$/$1/}-button}"}${9:, :disabled =&gt; ${10:false}}})${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>image_submit_tag</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}javascript_include_tag ${1::all}${2:, :cache =&gt; ${3:true}}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}javascript_include_tag ${1::all}${2:, :cache =&gt; ${3:true}}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>javascript_include_tag</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:index}"${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:index}"${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (action)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:edit}", :id =&gt; ${3:@item}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :action =&gt; "${2:edit}", :id =&gt; ${3:@item}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (action, id)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}"${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}"${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (controller)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:index}"${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:index}"${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (controller, action)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:edit}", :id =&gt; ${4:@item}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to "${1:link text...}", :controller =&gt; "${2:items}", :action =&gt; "${3:edit}", :id =&gt; ${4:@item}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (controller, action, id)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${10:parent}_${11:child}_path(${12:@}${13:${10}})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${10:parent}_${11:child}_path(${12:@}${13:${10}})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (nested path plural)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (nested path)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${2:${10:model}s_path}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${2:${10:model}s_path}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (path plural)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:model}_path(${13:@}${14:${12}})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:"${2:link text...}"}, ${3:${12:model}_path(${13:@}${14:${12}})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to (path)</string>
0
   <key>scope</key>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <plist version="1.0">
0
 <dict>
0
   <key>content</key>
0
- <string>${TM_TEMPLATE_START_RUBY_EXPR}link_to ${1:model}.${2:name}, ${3:${4:$1}_path(${14:$1})}${TM_TEMPLATE_END_RUBY_EXPR}</string>
0
+ <string>${RAILS_TEMPLATE_START_RUBY_EXPR}link_to ${1:model}.${2:name}, ${3:${4:$1}_path(${14:$1})}${RAILS_TEMPLATE_END_RUBY_EXPR}</string>
0
   <key>name</key>
0
   <string>link_to model</string>