first commit of a million rails snippets, conditions missing, command implementation missing...

This commit is contained in:
capitaomorte
2009-11-16 07:09:38 +00:00
parent ead36b2544
commit 96b5606d66
213 changed files with 1592 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: xdelete
# contributor: Translated from TextMate Snippet
# name: xhr delete
## condition: "source.ruby.rails"
# --
xhr :delete, :${1:destroy}, :id => ${2:1}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: xget
# contributor: Translated from TextMate Snippet
# name: xhr get
## condition: "source.ruby.rails"
# --
xhr :get, :${1:show}${2:, :id => ${3:1}}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: xpost
# contributor: Translated from TextMate Snippet
# name: xhr post
## condition: "source.ruby.rails"
# --
xhr :post, :${1:create}, :${2:object} => { $3 }

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: xput
# contributor: Translated from TextMate Snippet
# name: xhr put
## condition: "source.ruby.rails"
# --
xhr :put, :${1:update}, :id => ${2:1}, :${3:object} => { $4 }$0