PageRenderTime 22ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 1029cdfa30e7d5effbbe4e68a8bff05f MD5 | raw file
  1. #name : has_many
  2. #key : hm
  3. #group : rails.model
  4. #condition : (rails/model?)
  5. # --
  6. has_many :${1:model}${2:, :dependent => :${3:destroy}}