Skip to content
This repository

New snippet for attr_accessible #47

Open
wants to merge 1 commit into from

1 participant

Celestino Gomes
Celestino Gomes

aa => attr_accessible :${1:attribute}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 23, 2012
Celestino Gomes Added attr_accessible snippet ac701ee
This page is out of date. Refresh to see the latest.
16  Snippets/attr_accessible.tmSnippet
... ...
@@ -0,0 +1,16 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>content</key>
  6
+	<string>attr_accessible :${1:attribute}</string>
  7
+	<key>name</key>
  8
+	<string>attr_accessible</string>
  9
+	<key>scope</key>
  10
+	<string>source.ruby</string>
  11
+	<key>tabTrigger</key>
  12
+	<string>aa</string>
  13
+	<key>uuid</key>
  14
+	<string>7BA7593F-0E83-402A-8576-9686D98BD277</string>
  15
+</dict>
  16
+</plist>
4  info.plist
@@ -76,6 +76,7 @@
76 76
 			<string>AECD46CF-9031-4059-B386-262DBABD97B1</string>
77 77
 			<string>CF489B31-5DD2-4B83-B503-AD3ECF7BDEB7</string>
78 78
 			<string>FF022038-CA5D-4045-909E-BF509343A5C7</string>
  79
+			<string>996FEA3E-2255-4E7E-A551-BDA730D9E8B2</string>
79 80
 		</array>
80 81
 		<key>submenus</key>
81 82
 		<dict>
@@ -242,6 +243,7 @@
242 243
 					<string>A26B8A37-FAC0-4F44-B18D-6BE30D84F27E</string>
243 244
 					<string>7D9194BB-2BCC-4E20-84C8-0990B77D5515</string>
244 245
 					<string>5694BA8B-64EC-4B1B-A00D-6366D28500C5</string>
  246
+					<string>7BA7593F-0E83-402A-8576-9686D98BD277</string>
245 247
 				</array>
246 248
 				<key>name</key>
247 249
 				<string>Models</string>
@@ -909,6 +911,7 @@
909 911
 		<string>DBE14FE8-B415-4DBC-A316-F8DA63FE9FD7</string>
910 912
 		<string>1C491A76-751F-44EF-8DFB-0A585C7EEFF6</string>
911 913
 		<string>8B9CD068-4338-4039-AA06-D839A6C7A9FF</string>
  914
+		<string>7BA7593F-0E83-402A-8576-9686D98BD277</string>
912 915
 		<string>B8F08BD7-6160-482C-8A3D-CBC6BD2079A4</string>
913 916
 		<string>2AC3AC1F-743B-4A33-863C-C37885073806</string>
914 917
 		<string>BD2E4045-54E6-450E-B31B-5E1865CFFBC9</string>
@@ -1001,7 +1004,6 @@
1001 1004
 		<string>AECD46CF-9031-4059-B386-262DBABD97B1</string>
1002 1005
 		<string>5694BA8B-64EC-4B1B-A00D-6366D28500C5</string>
1003 1006
 		<string>4EA6FBD1-CDEA-4DF6-9F70-A1EDA35AC3D7</string>
1004  
-		<string>46ECE243-0448-4A64-A223-27CC21E7704D</string>
1005 1007
 	</array>
1006 1008
 	<key>uuid</key>
1007 1009
 	<string>467A60E0-6227-11D9-BFB1-000D93589AF6</string>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.