Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix html and factory girl. remove conflicting ruby snippets. dont nee…

…d rjs
  • Loading branch information...
commit e42aef33c821728a071bda52d01cadb6b86d47a4 1 parent b1b1279
@enriquez enriquez authored scrooloose committed
View
6 html/body.snippet
@@ -1,3 +1,3 @@
-<body<+ id="<+id+>"<+ onload="<++>"+>+>>
- <++>
-</body>
+<body id="${1}">
+ ${2}
+</body>
View
2  html/h1.snippet
@@ -1 +1 @@
-<h1<+ id="<+id+>"+>><++></h1>
+<h1 id="${1}">${2}</h1>
View
2  html/input.snippet
@@ -1 +1 @@
-<input type="text" name="<++>" <+value="<++>"+> <+size="<++>"+> <+maxlength="<++>"+> />
+<input type="${1:text/submit/hidden/button}" name="${2}" value="${3:value}" id="${4:$2}"/>${5}
View
2  html/option.snippet
@@ -1 +1 @@
-<option<+ value="<+option+>"+>><+value+></option>
+<option value="${1}">${2}</option>
View
6 html/select.snippet
@@ -1,5 +1,3 @@
-<select name="<+some_name+>" id="<+id+>"<+<+ multiple+><+ onchange="<++>"+><+ size="<+1+>"+>+>>
- <option<+ value="<+option1+>"+>><+value1+></option>
- <option<+ value="<+option2+>"+>><+value2+></option>
- <++>
+<select name="${1}" id="${2}">
+ ${3}
</select>
View
2  ruby-factorygirl/fac.snippet
@@ -1 +1 @@
-Factory(:<+factory_name+><+, <++>+>)<++>
+Factory(:${1}, ${2})${3}
View
2  ruby-factorygirl/facb.snippet
@@ -1 +1 @@
-Factory.build(:<+factory_name+><+, <++>+>)<++>
+Factory.build(:${1}, ${2})${3}
View
2  ruby-factorygirl/facd.snippet
@@ -1,4 +1,4 @@
-Factory.define(:${1:model}) do |${2:m}|
+Factory.define(:${1:model}) do |${2:f}|
${3}
end
${4}
View
1  ruby-rails-rjs/hide.snippet
@@ -1 +0,0 @@
-page.hide <+"<+id(s)+>"+>
View
1  ruby-rails-rjs/ins.snippet
@@ -1 +0,0 @@
-page.insert_html :<+top+>, <+"<+id+>"+>, :<+partial => "<+template+>"+>
View
1  ruby-rails-rjs/rep.snippet
@@ -1 +0,0 @@
-page.replace <+"<+id+>"+>, :<+partial => "<+template+>"+>
View
1  ruby-rails-rjs/reph.snippet
@@ -1 +0,0 @@
-page.replace_html <+"<+id+>"+>, :<+partial => "<+template+>"+>
View
1  ruby-rails-rjs/show.snippet
@@ -1 +0,0 @@
-page.show <+"<+id(s)+>"+>
View
1  ruby-rails-rjs/tog.snippet
@@ -1 +0,0 @@
-page.toggle <+"<+id(s)+>"+>
View
1  ruby-rails-rjs/vis.snippet
@@ -1 +0,0 @@
-page.visual_effect :<+toggle_slide+>, <+"<+DOM ID+>"+>
View
1  ruby-shoulda/shns.snippet
@@ -1 +0,0 @@
-should_have_named_scope :${1:scope}, :conditions => {${2:conditions}}
View
1  ruby/anr.snippet
@@ -1 +0,0 @@
-assert_nothing_raised(${1:Exception}) { ${2} }
View
1  ruby/ass.snippet
@@ -1 +0,0 @@
-assert_send [${1:object}, :${2:message}, ${3:args}]
Please sign in to comment.
Something went wrong with that request. Please try again.