PageRenderTime 124ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Model/model.vl

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 09ad1091ee954471b53312fe3ac9ccf8 MD5 | raw file
  1. #name : validates_length_of
  2. #key : vl
  3. #group : rails.model
  4. #condition : (rails/model?)
  5. # --
  6. validates_length_of :${1:name}, :maximum => ${2:100}, :minimum => ${3:3}