Permalink
Browse files

added combined snippet form

Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
  • Loading branch information...
1 parent 70f273f commit 778d6e8326e814a5b1da1eb3e4b7c23ccdda94d1 @fishman fishman committed with scrooloose May 4, 2009
Showing with 3 additions and 3 deletions.
  1. +2 −2 ruby-rails/rest.snippet
  2. +1 −1 ruby-rails/vp.snippet
View
@@ -1,3 +1,3 @@
-respond_to do |format|
- format.${1:html}
+respond_to do |wants|
+ wants.${1:html} <+{ <++> }+>
end
View
@@ -1 +1 @@
-validates_presence_of :<+attribute+><+, :on => :<+create+>, :message => "<+can't be blank+>"+>
+validates_presence_of :${1:attribute}<+, :on => :<+create+>, :message => "<+can't be blank+>"+>

0 comments on commit 778d6e8

Please sign in to comment.