mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-14 09:24:18 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: vn
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: validates_numericality_of
|
||||
## condition: "source.ruby.rails"
|
||||
# --
|
||||
validates_numericality_of :${1:attribute}${2:, :on => :${3:create}, :message => "${4:is not a number}"}
|
||||
Reference in New Issue
Block a user