dotar/vim/snippets/ruby-rails/ncl.snippet

2 lines
102 B
Plaintext
Raw Normal View History

2011-11-18 05:45:33 +08:00
named_scope :<+name+>, lambda { |<+param+>| { :conditions => <+['<+<+field+> = ?+>', <+param+>]+> } }