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

http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 2252524f97aab509b6b900b332f5b40b MD5 · raw file

  1. #name : has_many :through
  2. #key : hmt
  3. #group : rails.model
  4. #condition : (rails/model?)
  5. # --
  6. has_many :${1:model}, :through => :${2:through}