Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added accepts_nested_attributes_for snippet (Rails 2.3)

  • Loading branch information...
commit e52ca42c265ae0d05a0c6b858fc4d6e4b89c4499 1 parent b8c5f16
@lautis authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 Snippets/accepts_nested_attributes_for.tmSnippet
View
16 Snippets/accepts_nested_attributes_for.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>accepts_nested_attributes_for :${1:object}</string>
+ <key>name</key>
+ <string>accepts_nested_attributes_for</string>
+ <key>scope</key>
+ <string>source.ruby.rails</string>
+ <key>tabTrigger</key>
+ <string>anaf</string>
+ <key>uuid</key>
+ <string>4A90D6BA-F725-46EB-B32F-3E3BBE99A15D</string>
+</dict>
+</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.