PageRenderTime 41ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

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

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