PageRenderTime 232ms CodeModel.GetById 130ms app.highlight 1ms RepoModel.GetById 100ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 237ee0bbaceebc0cd3d24fb7c6663877 MD5 | raw file
1#name : named_scope
2#key : ns
3#group : rails.model
4#condition : (rails/model?)
5# --
6named_scope :${1:approved}, :conditions => { :${2:approved} => ${3:true} }