Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
311 changed files
with
114 additions
and
1,301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%$. -%> | ||
# -- | ||
<%$0 -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%=$. %> | ||
# -- | ||
<%=$0 %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#name : <% form_tag(:action => " ... ") do %> ... <% end %> | ||
# -- | ||
<% form_tag(:action => "${update}") do %> | ||
$0 | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%=h ... %> | ||
# -- | ||
<%=h ${@item} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#name : <% if ... -%> $. <% end -%> | ||
# -- | ||
<% if ${cond} -%> | ||
$0 | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#name : <% if ... -%> $. <% else -%> <% end -%> | ||
# -- | ||
<% if $0cond} -%> | ||
$0 | ||
<% else -%> | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :action => " ... " %> | ||
# -- | ||
<%= link_to "${title}", :action => "${index}" %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :action => " ... ", :id => ... %> | ||
# -- | ||
<%= link_to "${title}", :action => "${edit}", :id => ${@item} %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :controller => " ... " %> | ||
# -- | ||
<%= link_to "${title}", :controller => "${items}" %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :controller => " ... ", :action => " ... " %> | ||
# -- | ||
<%= link_to "${title}", :controller => "${items}", :action => "${index}" %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :controller => " ... ", :action => " ... ", :id => ... %> | ||
# -- | ||
<%= link_to "${title}", :controller => "${items}", :action => "${edit}", :id => ${@item} %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= render(:partial => ... ) %> | ||
# -- | ||
<%= render(:partial => "${action}"$0 ) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= text_area(" ... ", " ... ") %> | ||
# -- | ||
<%= text_area("${object_name}", "${method}"$0) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= text_field(" ... ", " ... ") %> | ||
# -- | ||
<%= text_field("${object_name} ", "${method}"$0) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#name : <% unless ... -%> $. <% end -%> | ||
# -- | ||
<% unless ${cond} -%> | ||
$0 | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%$. -%> | ||
# -- | ||
<%$0 -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%=$. %> | ||
# -- | ||
<%=$0 %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#name : <% form_tag(:action => " ... ") do %> ... <% end %> | ||
# -- | ||
<% form_tag(:action => "${update}") do %> | ||
$0 | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%=h ... %> | ||
# -- | ||
<%=h ${@item} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#name : <% if ... -%> $. <% end -%> | ||
# -- | ||
<% if ${cond} -%> | ||
$0 | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#name : <% if ... -%> $. <% else -%> <% end -%> | ||
# -- | ||
<% if $0cond} -%> | ||
$0 | ||
<% else -%> | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :action => " ... " %> | ||
# -- | ||
<%= link_to "${title}", :action => "${index}" %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :action => " ... ", :id => ... %> | ||
# -- | ||
<%= link_to "${title}", :action => "${edit}", :id => ${@item} %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :controller => " ... " %> | ||
# -- | ||
<%= link_to "${title}", :controller => "${items}" %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :controller => " ... ", :action => " ... " %> | ||
# -- | ||
<%= link_to "${title}", :controller => "${items}", :action => "${index}" %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= link_to " ... ", :controller => " ... ", :action => " ... ", :id => ... %> | ||
# -- | ||
<%= link_to "${title}", :controller => "${items}", :action => "${edit}", :id => ${@item} %>$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= render(:partial => ... ) %> | ||
# -- | ||
<%= render(:partial => "${action}"$0 ) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= text_area(" ... ", " ... ") %> | ||
# -- | ||
<%= text_area("${object_name}", "${method}"$0) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : <%= text_field(" ... ", " ... ") %> | ||
# -- | ||
<%= text_field("${object_name} ", "${method}"$0) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#name : <% unless ... -%> $. <% end -%> | ||
# -- | ||
<% unless ${cond} -%> | ||
$0 | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : assert_equal ... , ... | ||
#group: assert | ||
# -- | ||
assert_equal ${expected}, ${actual} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : assert_kind_of ... , ... | ||
#group: assert | ||
# -- | ||
assert_kind_of ${class}, ${object} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : assert_not_nil ... | ||
#group: assert | ||
# -- | ||
assert_not_nil ${object} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : assert_raises ... { $. } | ||
# -- | ||
assert_raises ${Exception} { $. } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : assert_response : ... | ||
#group: assert | ||
# -- | ||
assert_response :${success} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : assert_redirected_to :controller => " ... " | ||
#group: assert | ||
# -- | ||
assert_redirected_to :controller => "${controller}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : belongs_to : ... | ||
#group: ActiveRecord | ||
# -- | ||
belongs_to :${class} |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/flsh → snippets/rails-snippets/ruby-mode/flsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : flash[: ... ] = " ... " | ||
#group: Rails | ||
# -- | ||
flash[:${notice}] = "${Text here...}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : has_many : ... | ||
#group: ActiveRecord | ||
# -- | ||
has_many :${class} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : has_one : ... | ||
#group: ActiveRecord | ||
# -- | ||
has_one :${class} |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/logi → snippets/rails-snippets/ruby-mode/logi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : logger.info " ... " | ||
#group: general | ||
# -- | ||
logger.info "${Text here...}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : params[: ... ] | ||
#group: Rails | ||
# -- | ||
params[:${id}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :action => " ... " | ||
#group: Rails render | ||
# -- | ||
render :action => "${action}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :action => " ... ", :layout => " ... " | ||
#group: Rails render | ||
# -- | ||
render :action => "${action}", :layout => "${layoutname}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/rcea → snippets/rails-snippets/ruby-mode/rcea
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render_component :action => " ... " | ||
#group: Rails render | ||
# -- | ||
render_component :action => "${index}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/rcec → snippets/rails-snippets/ruby-mode/rcec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render_component :controller => " ... " | ||
#group: Rails render | ||
# -- | ||
render_component :controller => "${items}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/rceca → snippets/rails-snippets/ruby-mode/rceca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render_component :controller => " ... ", :action => " ... " | ||
#group: Rails render | ||
# -- | ||
render_component :controller => "${items}", :action => "${index}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : redirect_to :action => " ... " | ||
#group: Rails redirect | ||
# -- | ||
redirect_to :action => "${index}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/reai → snippets/rails-snippets/ruby-mode/reai
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : redirect_to :action => " ... ", :id => ... | ||
#group: Rails redirect | ||
# -- | ||
redirect_to :action => "${show}", :id => ${@item} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : redirect_to :controller => " ... " | ||
#group: Rails redirect | ||
# -- | ||
redirect_to :controller => "${items}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/reca → snippets/rails-snippets/ruby-mode/reca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : redirect_to :controller => " ... ", :action => " ... " | ||
#group: Rails redirect | ||
# -- | ||
redirect_to :controller => "${items}", :action => "${list}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/recai → snippets/rails-snippets/ruby-mode/recai
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : redirect_to :controller => " ... ", :action => " ... ", :id => ... | ||
#group: Rails redirect | ||
# -- | ||
redirect_to :controller => "${items}", :action => "${show}", :id => ${@item} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :file => " ... " | ||
#group: Rails render | ||
# -- | ||
render :file => "${filepath}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :file => " ... ", :use_full_path => ... | ||
#group: Rails render | ||
# -- | ||
render :file => "${filepath}", :use_full_path => ${false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :inline => " ... " | ||
#group: Rails render | ||
# -- | ||
render :inline => "${<%= 'hello' %>}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :inline => " ... ", :locals => { ... => " ... " } | ||
#group: Rails render | ||
# -- | ||
render :inline => "${<%= 'hello' %>}", :locals => { ${name} => "${value}" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :inline => " ... ", :type => : ... ) | ||
#group: Rails render | ||
# -- | ||
render :inline => "${<%= 'hello' %>}", :type => :${rxml}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :layout => " ... " | ||
#group: Rails render | ||
# -- | ||
render :layout => "${layoutname}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :nothing => ... | ||
#group: Rails render | ||
# -- | ||
render :nothing => ${true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :nothing => ... , :status => ... | ||
#group: Rails render | ||
# -- | ||
render :nothing => ${true}, :status => ${401} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :partial => " ... " | ||
#group: Rails render | ||
# -- | ||
render :partial => "${item}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :partial => " ... ", :collection => ... | ||
#group: Rails render | ||
# -- | ||
render :partial => "${item}", :collection => ${items} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :partial => " ... ", :locals => { : ... => " ... "} | ||
#group: Rails render | ||
# -- | ||
render :partial => "${item}", :locals => { :${name} => "${value}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :partial => " ... ", :object => ... | ||
#group: Rails render | ||
# -- | ||
render :partial => "${item}", :object => ${object} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :partial => " ... ", :status => ... | ||
#group: Rails render | ||
# -- | ||
render :partial => "${item}", :status => ${500} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :text => " ... " | ||
#group: Rails render | ||
# -- | ||
render :text => "${Text here...}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :text => " ... ", :layout => " ... " | ||
#group: Rails render | ||
# -- | ||
render :text => "${Text here...}", :layout => "${layoutname}" |
1 change: 0 additions & 1 deletion
1
snippets/ruby-mode/rtlt → snippets/rails-snippets/ruby-mode/rtlt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :text => " ... ", :layout => ... | ||
#group: Rails render | ||
# -- | ||
render :text => "${Text here...}", :layout => ${true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : render :text => " ... ", :status => ... | ||
#group: Rails render | ||
# -- | ||
render :text => "${Text here...}", :status => ${401} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : session[: ... ] | ||
#group: Rails | ||
# -- | ||
session[:${user}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : validates_associated : ... | ||
#group: ActiveRecord | ||
# -- | ||
validates_associated :${attr} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : validates_confirmation_of : ... | ||
#group: ActiveRecord | ||
# -- | ||
validates_confirmation_of :${attr} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : validates_exclusion_of : ... | ||
#group: ActiveRecord | ||
# -- | ||
validates_exclusion_of :${attr} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : validates_format_of : ... , :with => / ... / | ||
#group: ActiveRecord | ||
# -- | ||
validates_format_of :${attr}, :with => /${regex}/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : validates_numericality_of : ... | ||
#group: ActiveRecord | ||
# -- | ||
validates_numericality_of :${attr} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : validates_presence_of : ... | ||
# -- | ||
validates_presence_of :${attr} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#name : validates_uniqueness_of : ... | ||
#group: ActiveRecord | ||
# -- | ||
validates_uniqueness_of :${attr} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.