PageRenderTime 58ms CodeModel.GetById 56ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

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