PageRenderTime 40ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

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

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